mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-29 10:31:14 -03:00
tests: Remove test for windows line ending message
This is flaky on launchpad for some reason, and it's really not important enough to hold it up. So let's just leave this untested.
This commit is contained in:
@@ -10,15 +10,6 @@ not exec cat <nosuchfile
|
||||
echo "neg failed: $status"
|
||||
#CHECK: neg failed: 0
|
||||
|
||||
set -l f (mktemp)
|
||||
echo "#!/bin/sh"\r\n"echo foo" > $f
|
||||
chmod +x $f
|
||||
# Cheesy sleep to avoid "text file is busy"
|
||||
sleep 0.2
|
||||
$f
|
||||
#CHECKERR: Failed to execute process '{{.*}}'. Reason:
|
||||
#CHECKERR: The file uses windows line endings (\r\n). Run dos2unix or similar to fix it.
|
||||
|
||||
# This needs to be last, because it actually runs exec.
|
||||
exec cat </dev/null
|
||||
echo "not reached"
|
||||
|
||||
Reference in New Issue
Block a user