mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-06-07 01:51:14 -03:00
@@ -123,6 +123,10 @@ echo -e Catch your breath
|
||||
echo -e 'abc\x21def'
|
||||
echo -e 'abc\x211def'
|
||||
|
||||
# Make sure while loops don't run forever with no-exec (#1543)
|
||||
echo "Checking for infinite loops in no-execute"
|
||||
echo "while true; end" | ../fish --no-execute
|
||||
|
||||
function always_fails
|
||||
if true
|
||||
return 1
|
||||
|
||||
@@ -37,4 +37,5 @@ abc
|
||||
Catch your breath
|
||||
abc!def
|
||||
abc!1def
|
||||
Checking for infinite loops in no-execute
|
||||
1
|
||||
|
||||
Reference in New Issue
Block a user