================================================================= Gash: Guile as Shell 0.1.11-0b49: tests/spec/test-suite.log ================================================================= # TOTAL: 8 # PASS: 7 # SKIP: 0 # XFAIL: 0 # FAIL: 1 # XPASS: 0 # ERROR: 0 .. contents:: :depth: 2 FAIL: oil/spec/loop.test ======================== FATAL: 2 tests failed (0 osh failures) loop.test.sh case line bash gash  0 3 pass pass implicit for loop 1 17 pass pass empty for loop (has "in") 2 24 ok ok for loop with invalid identifier case: 2 bash stdout: bash stderr: /bin/bash: line 3: `-': not a valid identifier case: 2 gash stdout: gash stderr: system/base/lalr.upstream.scm:1930:25: Syntax error: unknown file:1:4: Syntax error: unexpected token : in form "-" 3 35 pass N-I Brace Expansion within Array case: 3 gash stdout: -{a,b} {c,d}- gash stderr: 4 50 pass pass using loop var outside loop 5 66 pass pass continue 6 83 pass pass break 7 96 pass pass dynamic control flow (KNOWN INCOMPATIBILITY) 8 114 pass pass while in while condition 9 126 pass pass while in pipe 10 136 pass pass while in pipe with subshell 11 145 pass pass until loop 12 153 pass pass continue at top level 13 170 FAIL pass continue in subshell case: 13 [bash stdout] Expected '> 1\nsubshell status=0\n. 1\n> 2\nsubshell status=0\n. 2\n', got '> 1\nShould not print\nsubshell status=0\n. 1\n> 2\nShould not print\nsubshell status=0\n. 2\n' bash stdout: > 1 Should not print subshell status=0 . 1 > 2 Should not print subshell status=0 . 2 bash stderr: /bin/bash: line 3: continue: only meaningful in a `for', `while', or `until' loop /bin/bash: line 3: continue: only meaningful in a `for', `while', or `until' loop 14 205 FAIL pass continue in subshell aborts with errexit case: 14 [bash stdout] Expected '> 1\nshould fail after subshell\n. 1\n> 2\nshould fail after subshell\n. 2\n', got '> 1\nShould not print\nshould fail after subshell\n. 1\n> 2\nShould not print\nshould fail after subshell\n. 2\n' bash stdout: > 1 Should not print should fail after subshell . 1 > 2 Should not print should fail after subshell . 2 bash stderr: /bin/bash: line 4: continue: only meaningful in a `for', `while', or `until' loop /bin/bash: line 4: continue: only meaningful in a `for', `while', or `until' loop 15 239 ok pass bad arg to break case: 15 bash stdout: hi bash stderr: /bin/bash: line 4: break: oops: numeric argument required 16 251 ok ok too many args to continue case: 16 bash stdout: a -- bash stderr: /bin/bash: line 3: continue: too many arguments case: 16 gash stdout: a gash stderr: gash: continue: too many arguments Backtrace: 10 (apply-smob/1 #) In ice-9/boot-9.scm: 705:2 9 (call-with-prompt _ _ #) In ice-9/eval.scm: 619:8 8 (_ #(#(#))) In gash/gash.scm: 123:26 7 (main _) In gash/repl.scm: 38:13 6 (run-repl _ _) In gash/environment.scm: 350:8 5 (call-with-break _) In srfi/srfi-1.scm: 640:9 4 (for-each # …) In gash/environment.scm: 332:8 3 (call-with-continue _) In srfi/srfi-1.scm: 640:9 2 (for-each # _) In gash/shell.scm: 128:10 1 (sh:exec-let () "continue" "1" "2" "3") 136:23 0 (_ _) gash/shell.scm:136:23: Throw to key `shell-error' with args `()'. 26 passed, 5 ok, 1 known unimplemented, 0 known bugs, 2 failed, 0 skipped FAIL oil/spec/loop.test.sh (exit status: 1)