-------- CASE: control_flow break ^~~~~ 'test/runtime-errors.sh':486: warning: Invalid control flow at top level continue ^~~~~~~~ 'test/runtime-errors.sh':487: warning: Invalid control flow at top level SHOULD NOT GET HERE STATUS: 1 -------- CASE: strict_errexit_1 ===== [strict_errexit] ! { echo 1; echo 2; } ===== set -o errexit; shopt -s strict_errexit; ! { echo 1; echo 2; } ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] { echo 1; echo 2; } && true ===== set -o errexit; shopt -s strict_errexit; { echo 1; echo 2; } && true ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.BraceGroup). ===== [strict_errexit] { echo 1; echo 2; } || true ===== set -o errexit; shopt -s strict_errexit; { echo 1; echo 2; } || true ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.BraceGroup). ===== [strict_errexit] { echo 1; echo 2; } && true && true ===== set -o errexit; shopt -s strict_errexit; { echo 1; echo 2; } && true && true ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.BraceGroup). ===== [strict_errexit] true && { echo 1; echo 2; } || true || true ===== set -o errexit; shopt -s strict_errexit; true && { echo 1; echo 2; } || true || true ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.BraceGroup). ===== [strict_errexit] true && true && { echo 1; echo 2; } || true || true ===== set -o errexit; shopt -s strict_errexit; true && true && { echo 1; echo 2; } || true || true ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.BraceGroup). ===== [strict_errexit] if { echo 1; echo 2; }; then echo IF; fi ===== set -o errexit; shopt -s strict_errexit; if { echo 1; echo 2; }; then echo IF; fi ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Sentence). ===== [strict_errexit] while { echo 1; echo 2; }; do echo WHILE; done ===== set -o errexit; shopt -s strict_errexit; while { echo 1; echo 2; }; do echo WHILE; done ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Sentence). ===== [strict_errexit] until { echo 1; echo 2; }; do echo UNTIL; done ===== set -o errexit; shopt -s strict_errexit; until { echo 1; echo 2; }; do echo UNTIL; done ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Sentence). ===== [strict_errexit] shopt -s oil:basic proc p { echo p } if p { echo hi } ===== if p { echo hi } ^~ [ -c flag ]:3: errexit was disabled for this construct if p { echo hi } ^ [ -c flag ]:3: fatal: Can't run a proc while errexit is disabled. Use 'try' or wrap it in a process with $0 myproc -------- CASE: strict_errexit_conditionals ===== [strict_errexit] myfunc() { return 1; } while ( myfunc ) do echo yes done ===== while ( myfunc ) ^ [ -c flag ]:4: fatal: strict_errexit only allows simple commands in conditionals (got command.Subshell). ===== [strict_errexit] myfunc() { return 1; } while test "$(myfunc)" != "" do echo yes done ===== while test "$(myfunc)" != "" ^~ [ -c flag ]:4: fatal: Command subs not allowed here because status wouldn't be checked (strict_errexit). ===== [strict_errexit] myfunc() { return 1; } if cat <(ls) then echo yes fi ===== if cat <(ls) ^~ [ -c flag ]:4: fatal: Process subs not allowed here because status wouldn't be checked (strict_errexit). ===== [strict_errexit] myfunc() { return 1 } set -o pipefail while myfunc | cat do echo yes done ===== while myfunc | cat ^ [ -c flag ]:7: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] myfunc() { return 1 } foo=$(true) # test assignment without proc while bar=$(false) do echo yes done # issue 1007 was caused using command.ShAssignment, rather than the more common # command.Sentence with ; while spam=$(myfunc) do echo yes done ===== while bar=$(false) ^~~~ [ -c flag ]:9: fatal: strict_errexit only allows simple commands in conditionals (got command.ShAssignment). -------- CASE: strict_errexit_old ===== [strict_errexit] if ls | wc -l; then echo Pipeline; fi ===== set -o errexit; shopt -s strict_errexit; if ls | wc -l; then echo Pipeline; fi ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Sentence). ===== [strict_errexit] if ! ls | wc -l; then echo Pipeline; fi ===== set -o errexit; shopt -s strict_errexit; if ! ls | wc -l; then echo Pipeline; fi ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Sentence). ===== [strict_errexit] if echo a && echo b; then echo AndOr; fi ===== set -o errexit; shopt -s strict_errexit; if echo a && echo b; then echo AndOr; fi ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Sentence). ===== [strict_errexit] ! for x in a; do echo $x; done ===== set -o errexit; shopt -s strict_errexit; ! for x in a; do echo $x; done ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] _func() { echo; }; ! _func ===== set -o errexit; shopt -s strict_errexit; _func() { echo; }; ! _func ^ [ -c flag ]:1: errexit was disabled for this construct set -o errexit; shopt -s strict_errexit; _func() { echo; }; ! _func ^~~~~ [ -c flag ]:1: fatal: Can't run a proc while errexit is disabled. Use 'try' or wrap it in a process with $0 myproc ===== [strict_errexit] ! { echo brace; }; echo "should not get here" ===== set -o errexit; shopt -s strict_errexit; ! { echo brace; }; echo "should not get here" ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] ! ( echo subshell ); echo "should not get here" ===== set -o errexit; shopt -s strict_errexit; ! ( echo subshell ); echo "should not get here" ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] ! while false; do echo while; done; echo "should not get here" ===== set -o errexit; shopt -s strict_errexit; ! while false; do echo while; done; echo "should not get here" ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] ! if true; then false; fi; echo "should not get here" ===== set -o errexit; shopt -s strict_errexit; ! if true; then false; fi; echo "should not get here" ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] ! case x in x) echo x;; esac; echo "should not get here" ===== set -o errexit; shopt -s strict_errexit; ! case x in x) echo x;; esac; echo "should not get here" ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] ! time echo hi; echo "should not get here" ===== set -o errexit; shopt -s strict_errexit; ! time echo hi; echo "should not get here" ^ [ -c flag ]:1: fatal: strict_errexit only allows simple commands in conditionals (got command.Pipeline). ===== [strict_errexit] ! echo $(echo hi); echo "should not get here" ===== set -o errexit; shopt -s strict_errexit; ! echo $(echo hi); echo "should not get here" ^~ [ -c flag ]:1: fatal: Command subs not allowed here because status wouldn't be checked (strict_errexit). -------- CASE: unset_expr shopt -s unsafe_arith_eval ^~~~~ 'test/runtime-errors.sh':645: 'shopt' got invalid option 'unsafe_arith_eval' 1[1] ^ [ dynamic place word at line 1 of [ -c flag ] ]:1: The [ operator doesn't apply to this expression unset -v 1[1] ^ [ -c flag ]:1: 'unset' got invalid place expression unset -v 1+2 ^~~~~ [ -c flag ]:1: fatal: Invalid place to modify -------- CASE: divzero echo $(( 1 / 0 )) ^ [ -c flag ]:1: fatal: Divide by zero echo $(( 1 % 0 )) ^ [ -c flag ]:1: fatal: Divide by zero zero=0; echo $(( 1 / zero )) ^~~~ [ -c flag ]:1: fatal: Divide by zero zero=0; echo $(( 1 % zero )) ^~~~ [ -c flag ]:1: fatal: Divide by zero (( a = 1 / 0 )); echo non-fatal; exit 1 ^ [ -c flag ]:1: fatal: Divide by zero (( a = 1 % 0 )); echo non-fatal; exit 1 ^ [ -c flag ]:1: fatal: Divide by zero set -e; (( a = 1 / 0 )); ^ [ -c flag ]:1: fatal: Divide by zero set -e; (( a = 1 % 0 )); ^ [ -c flag ]:1: fatal: Divide by zero -------- CASE: no_such_command ZZZZZ ^~~~~ 'test/runtime-errors.sh':67: 'ZZZZZ' not found STATUS: 1 -------- CASE: no_such_command_commandsub echo $(ZZZZZ) ^~~~~ 'test/runtime-errors.sh':74: 'ZZZZZ' not found SHOULD NOT GET HERE STATUS: 1 -------- CASE: no_such_command_heredoc $(ZZZZZ) ^~~~~ 'test/runtime-errors.sh':85: 'ZZZZZ' not found one three SHOULD NOT GET HERE STATUS: 1 -------- CASE: failed_command STATUS: 1 -------- CASE: errexit_usage_error type -z ^~ 'test/runtime-errors.sh':102: 'type' doesn't accept flag -z STATUS: 1 -------- CASE: errexit_subshell subshell STATUS: 1 -------- CASE: errexit_pipeline 0 STATUS: 1 -------- CASE: errexit_dbracket STATUS: 1 -------- CASE: errexit_alias foo is a alias hi ls: cannot access '/nonexistent': No such file or directory STATUS: 1 -------- CASE: errexit_one_process zz ^~ [ -c flag ]:1: 'zz' not found [ -c flag ]:1: errexit PID 16073: Command failed with status 127 --------------------------- echo hi > "" ^ [ -c flag ]:1: Redirect filename can't be empty [ -c flag ]:1: errexit PID 16077: Command failed with status 1 --------------------------- shopt -s failglob; echo *.ZZZZ ^ [ -c flag ]:1: failglob: Pattern '*.ZZZZ' matched no files [ -c flag ]:1: errexit PID 16081: Command failed with status 1 --------------------------- cd /x ^~ [ -c flag ]:1: cd '/x': No such file or directory cd /x ^~ [ -c flag ]:1: errexit PID 16085: Command failed with status 1 --------------------------- ./README.md; echo hi ^~~~~~~~~~~ [ -c flag ]:1: Can't execute './README.md': Permission denied hi --------------------------- ./README.md; echo hi ^~~~~~~~~~~ [ -c flag ]:1: Can't execute './README.md': Permission denied ./README.md; echo hi ^~~~~~~~~~~ [ -c flag ]:1: errexit PID 16094: Command failed with status 126 ls: cannot access '/x': No such file or directory ls /x; echo $? ^~ [ -c flag ]:1: errexit PID 16099: Command failed with status 2 --------------------------- ls: cannot access '/x': No such file or directory declare cmd=ls; $cmd /x; echo $? ^~~~ [ -c flag ]:1: errexit PID 16104: Command failed with status 2 --------------------------- echo $undef ^~~~~~ [ -c flag ]:1: fatal: Undefined variable 'undef' --------------------------- try --allow-status-01 grep ^~~~~~~~~~~~~~~~~ [ -c flag ]:1: 'try' got invalid flag '--allow-status-01' try --allow-status-01 grep ^~~ [ -c flag ]:1: errexit PID 16113: Command failed with status 2 --------------------------- ( ^ [ eval word at line 2 of [ -c flag ] ]:1: Unexpected EOF while parsing command status=2 ) ^ [ eval word at line 5 of [ -c flag ] ]:1: Invalid word while parsing command status=2 false ^~~~~ [ -c flag ]:9: errexit PID 16117: Command failed with status 1 --------------------------- [[ 0 -eq 1 ]] ^~ [ -c flag ]:1: errexit PID 16121: command.DBracket failed with status 1 --------------------------- (( 0 )) ^~ [ -c flag ]:1: errexit PID 16125: command.DParen failed with status 1 STATUS: 1 -------- CASE: errexit_multiple_processes echo t=$(true) f=$(false; true) ^~~~~ [ -c flag ]:1: errexit PID 16135: Command failed with status 1 [ -c flag ]:1: errexit PID 16130: Command Sub exited with status 1 --------------------------- ls | false | wc -l ^~~~~ [ -c flag ]:1: errexit PID 16141: Command failed with status 1 0 --------------------------- ls | { echo hi; ( exit 42 ); } | wc -l; echo ^ [ -c flag ]:1: errexit PID 16147: Subshell failed with status 42 1 ls | { echo hi; ( exit 42 ); } | wc -l; echo ^ [ -c flag ]:1: errexit PID 16142: Pipeline failed with status 42 --------------------------- { false; wc -l; } ^~~~~ [ -c flag ]:2: errexit PID 16150: Command failed with status 1 { echo one; ( exit 42 ); } |\ ^ [ -c flag ]:1: errexit PID 16154: Subshell failed with status 42 { false; wc -l; } ^ [ -c flag ]:2: errexit PID 16150: Pipeline failed with status 1 --------------------------- { ls; false; } \ ^~~~~ [ -c flag ]:1: errexit PID 16160: Command failed with status 1 77 { ls; false; } \ ^ [ -c flag ]:1: errexit PID 16156: Pipeline failed with status 1 --------------------------- { ls; ( false; true ); } | wc -l; echo hi ^~~~~ [ -c flag ]:1: errexit PID 16170: Command failed with status 1 { ls; ( false; true ); } | wc -l; echo hi ^ [ -c flag ]:1: errexit PID 16167: Subshell failed with status 1 77 { ls; ( false; true ); } | wc -l; echo hi ^ [ -c flag ]:1: errexit PID 16163: Pipeline failed with status 1 --------------------------- ls <(sort YY) <(zz); echo hi ^~ [ -c flag ]:1: 'zz' not found [ -c flag ]:1: errexit PID 16176: Command failed with status 127 sort: cannot read: YY: No such file or directory /dev/fd/3 /dev/fd/4 ls <(sort YY) <(zz); echo hi ^~ [ -c flag ]:1: errexit PID 16171: Command failed with status 127 --------------------------- zz <(sort YY) <(sort ZZ); echo hi ^~ [ -c flag ]:1: 'zz' not found sort: cannot read: YY: No such file or directory sort: cannot read: ZZ: No such file or directory [ -c flag ]:1: errexit PID 16178: Command failed with status 127 --------------------------- yy | zz ^~ [ -c flag ]:1: 'zz' not found yy | zz ^~ [ -c flag ]:1: 'yy' not found [ -c flag ]:1: errexit PID 16184: Command failed with status 127 [ -c flag ]:1: errexit PID 16188: Command failed with status 127 yy | zz ^~ [ -c flag ]:1: errexit PID 16184: Pipeline failed with status 127 --------------------------- echo $([[ 0 -eq 1 ]]) ^~ [ -c flag ]:1: errexit PID 16193: command.DBracket failed with status 1 [ -c flag ]:1: errexit PID 16189: Command Sub exited with status 1 --------------------------- var y = $([[ 0 -eq 1 ]]) ^~ [ -c flag ]:1: errexit PID 16198: command.DBracket failed with status 1 [ -c flag ]:1: errexit PID 16194: Command Sub exited with status 1 STATUS: 1 -------- CASE: command_sub_errexit STATUS: 1 -------- CASE: process_sub_fail a b STATUS: 1 -------- CASE: pipefail 0 0 STATUS: 1 -------- CASE: pipefail_group 1 1 3 STATUS: 1 -------- CASE: pipefail_subshell 1 1 3 STATUS: 1 -------- CASE: pipefail_no_words seq 3 | wc -l | > /nonexistent ^ 'test/runtime-errors.sh':422: Can't open '/nonexistent': Permission denied STATUS: 1 -------- CASE: pipefail_func 1 1 3 STATUS: 1 -------- CASE: pipefail_while 2 6 12 STATUS: 1 -------- CASE: pipefail_multiple six STATUS: 1 -------- CASE: core_process echo foo > not/a/file ^ 'test/runtime-errors.sh':494: Can't open 'not/a/file': No such file or directory echo foo > /etc/no-perms-for-this ^ 'test/runtime-errors.sh':495: Can't open '/etc/no-perms-for-this': Permission denied STATUS: 1 -------- CASE: osh_state HOME=(a b) ^~~~~ 'test/runtime-errors.sh':504: fatal: Only strings can be exported STATUS: 1 -------- CASE: nounset echo $x ^~ 'test/runtime-errors.sh':600: fatal: Undefined variable 'x' STATUS: 1 -------- CASE: bad_var_ref bad var name ^ [ var 'name' at line 607 of 'test/runtime-errors.sh' ]:1: Expected end of var ref echo ${!name} ^~~~ 'test/runtime-errors.sh':607: fatal: Invalid var ref STATUS: 1 -------- CASE: nounset_arith echo $(( x )) ^ 'test/runtime-errors.sh':616: fatal: Undefined variable 'x' STATUS: 1 -------- CASE: array_arith (( a++ )) # doesn't make sense ^ 'test/runtime-errors.sh':703: fatal: Expected a value convertible to integer, got value.MaybeStrArray STATUS: 1 -------- CASE: undef_arith (( undef[42]++ )) ^~ 'test/runtime-errors.sh':689: fatal: Can't use [] on value of type value.Str STATUS: 1 -------- CASE: undef_arith2 ['2'] STATUS: 1 -------- CASE: undef_assoc_array bar STATUS: 1 -------- CASE: unsafe_arith_eval shopt -s unsafe_arith_eval ^~~~~ 'test/runtime-errors.sh':637: 'shopt' got invalid option 'unsafe_arith_eval' echo $(( e2 )) ^~ 'test/runtime-errors.sh':641: fatal: Invalid integer constant 'e1 + 5' STATUS: 1 -------- CASE: string_to_int_arith 5 echo $(( x + 5 )) ^ 'test/runtime-errors.sh':659: fatal: Invalid integer constant 'ZZZ' STATUS: 1 -------- CASE: string_to_hex 1 SHOULD NOT GET HERE STATUS: 1 -------- CASE: string_to_octal 1 SHOULD NOT GET HERE STATUS: 1 -------- CASE: string_to_intbase 0 SHOULD NOT GET HERE STATUS: 1 -------- CASE: string_to_int_bool [[ a -eq 0 ]] ^ 'test/runtime-errors.sh':743: fatal: Invalid integer constant 'a' STATUS: 1 -------- CASE: string_as_array foo echo "${str[@]}" ^~ 'test/runtime-errors.sh':807: fatal: Can't index string with @ STATUS: 1 -------- CASE: array_assign_1 s[0]=x # can't assign value ^~ 'test/runtime-errors.sh':779: fatal: Can't assign to items in a string STATUS: 1 -------- CASE: array_assign_2 array[0]=x ^~~~~~ 'test/runtime-errors.sh':784: fatal: Can't assign to readonly array STATUS: 1 -------- CASE: readonly_assign x=2 ^~ 'test/runtime-errors.sh':789: fatal: Can't assign to readonly value 'x' STATUS: 1 -------- CASE: multiple_assign a=1 b=2 x=42 ^~ 'test/runtime-errors.sh':795: fatal: Can't assign to readonly value 'x' STATUS: 1 -------- CASE: multiple_assign_2 0 STATUS: 1 -------- CASE: patsub_bad_glob echo ${x//[^]} ^ 'test/runtime-errors.sh':729: fatal: Error matching regex '([^])': Unmatched [ or [^ STATUS: 1 -------- CASE: builtin_bracket [ -t xxx ] ^~~ 'test/runtime-errors.sh':818: (test) Invalid file descriptor 'xxx' [ -t '' ] ^ 'test/runtime-errors.sh':819: (test) Invalid file descriptor '' [ zz -eq 0 ] ^~ 'test/runtime-errors.sh':821: (test) Invalid integer constant 'zz' STATUS: 1 -------- CASE: builtin_builtin builtin ls ^~ 'test/runtime-errors.sh':829: 'ls' isn't a shell builtin STATUS: 1 -------- CASE: builtin_source source ^~~~~~ 'test/runtime-errors.sh':833: 'source' missing required argument source $bad ^~~~ 'test/runtime-errors.sh':836: source '/nonexistent/path' failed: No such file or directory STATUS: 1 -------- CASE: builtin_cd cd ^~ 'test/runtime-errors.sh':841: $HOME isn't defined cd ^~ 'test/runtime-errors.sh':847: $HOME should be a string cd - ^~ 'test/runtime-errors.sh':852: $OLDPWD isn't defined ( cd /nonexistent ^~~~~~~~~~~~ 'test/runtime-errors.sh':855: cd '/nonexistent': No such file or directory STATUS: 1 -------- CASE: builtin_pushd pushd /nonexistent ^~~~~~~~~~~~ 'test/runtime-errors.sh':860: pushd: '/nonexistent': No such file or directory STATUS: 1 -------- CASE: builtin_popd popd # empty dir stack ^~~~ 'test/runtime-errors.sh':864: popd: directory stack is empty ~/git/oilshell/oil/_tmp/runtime-error-popd ~/git/oilshell/oil / ~/git/oilshell/oil/_tmp/runtime-error-popd ~/git/oilshell/oil popd ^~~~ 'test/runtime-errors.sh':872: popd: '/home/andy/git/oilshell/oil/_tmp/runtime-error-popd': No such file or directory STATUS: 1 -------- CASE: builtin_unset unset x a ^ 'test/runtime-errors.sh':880: Can't unset readonly variable 'a' unset -v x a ^ 'test/runtime-errors.sh':881: Can't unset readonly variable 'a' STATUS: 1 -------- CASE: builtin_alias_unalias alias zzz ^~~~~ 'test/runtime-errors.sh':885: No alias named 'zzz' unalias zzz ^~~~~~~ 'test/runtime-errors.sh':886: No alias named 'zzz' STATUS: 1 -------- CASE: builtin_help help zzz ^~~ 'test/runtime-errors.sh':890: no help topics match 'zzz' STATUS: 1 -------- CASE: builtin_trap trap ^~~~ 'test/runtime-errors.sh':894: 'trap' requires a code string trap EXIT ^~~~ 'test/runtime-errors.sh':895: 'trap' requires a signal or hook name trap zzz yyy ^~~ 'test/runtime-errors.sh':897: Invalid signal or hook 'yyy' STATUS: 1 -------- CASE: builtin_getopts getopts ^~~~~~~ 'test/runtime-errors.sh':901: 'getopts' requires an argspec getopts 'a:' ^~~~~~~ 'test/runtime-errors.sh':902: 'getopts' requires the name of a variable to set getopts 'a:' varname ^~~~~~~ 'test/runtime-errors.sh':906: getopts: option '-a' requires an argument. (getopts argv: -a) STATUS: 1 -------- CASE: builtin_wait wait 1234578 ^~~~~~~ 'test/runtime-errors.sh':944: 1234578 isn't a child of this shell STATUS: 1 -------- CASE: builtin_exec exec nonexistent-command 1 2 3 ^~~~~~~~~~~~~~~~~~~ 'test/runtime-errors.sh':948: exec: 'nonexistent-command' not found STATUS: 1 -------- CASE: strict_word_eval_warnings slice start negative -bc- slice length negative -- slice bad utf-8 [??? no location ???] warning: Invalid start of UTF-8 character -- length bad utf-8 echo ${#s} ^ 'test/runtime-errors.sh':975: warning: Invalid start of UTF-8 character -1 STATUS: 1 -------- CASE: strict_arith_warnings 1 echo $(( y + 1 )) ^ 'test/runtime-errors.sh':984: fatal: Invalid integer constant '-yy-' STATUS: 1 -------- CASE: strict_control_flow_warnings break ^~~~~ 'test/runtime-errors.sh':992: fatal: Unexpected 'break' (in function call) STATUS: 1 -------- CASE: control_flow_subshell 1 ( break; echo 'oops') ^~~~~ 'test/runtime-errors.sh':999: Loop and control flow can't be in different processes STATUS: 1 -------- CASE: bool_status if try --allow-status-01 -- myproc; then ^~~~~~~~~~~~~~~~~ 'test/runtime-errors.sh':577: 'try' got invalid flag '--allow-status-01' no match STATUS: 1 -------- CASE: bool_status_simple if try --allow-status-01 -- grep pat BAD; then ^~~~~~~~~~~~~~~~~ 'test/runtime-errors.sh':587: 'try' got invalid flag '--allow-status-01' no match STATUS: 1 -------- CASE: qsn_decode 'no closing quote ^ [ stdin ]:1: Expected closing single quote in QSN string 'foo' trailing data ^~~~~~~~~~~~~~ [ stdin ]:1: Unexpected data after closing quote '\x0' ^ [ stdin ]:1: Unexpected token in QSN string '\u{3bc' ^ [ stdin ]:1: Unexpected token in QSN string 'literal tab' ^ [ stdin ]:1: Unexpected token in QSN string STATUS: 1