spec test index / oilshell.org
541 passed, 0 OK, 0 not implemented, 0 BUG, 126 failed, 49 timeouts, 0 cases skipped 34 failed under osh
dash | 2 builtin.alias.empty.test [dash status] Expected 0, got 2 stdout: stderr: dash: 6: Syntax error: end of file unexpected |
osh | 2 builtin.alias.empty.test [osh status] Expected 0, got 2 stdout: stderr: ^ [ expansion of alias 'empty' ]:1: Unexpected EOF while parsing command |
osh | 3 builtin.break.lexical.test [osh stdout] Expected '0\npost\n1\npost\n2\npost\n3\npost\n4\npost\n', got '0\n' [osh status] Expected 0, got 1 stdout: 0stderr: brk() { break 5 2>/dev/null; echo post; } ^~~~~ [ stdin ]:1: fatal: Unexpected 'break' (in proc call) |
bash | 4 builtin.break.nonlexical.test [bash stdout] Expected '0\n', got '' [bash status] Expected 0, got 2 stdout: stderr: |
dash | 4 builtin.break.nonlexical.test [dash stdout] Expected '0\n', got '' [dash status] Expected 0, got 2 stdout: stderr: |
mksh | 4 builtin.break.nonlexical.test [mksh stdout] Expected '0\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: |
osh | 4 builtin.break.nonlexical.test [osh status] Expected 0, got 1 stdout: 0stderr: brk() { break 5 2>/dev/null; echo post; } ^~~~~ [ stdin ]:2: fatal: Unexpected 'break' (in proc call) |
dash | 9 builtin.command.nospecial.test [dash stdout] Expected '?=1\n', got '?=2\n' stdout: ?=2stderr: dash: 2: readonly: x: is read only |
mksh | 9 builtin.command.nospecial.test [mksh stdout] Expected '?=1\n', got '' [mksh status] Expected 0, got 2 stdout: stderr: mksh: <stdin>[2]: read-only: x |
osh | 11 builtin.continue.lexical.test [osh stdout] Expected '0\npost\nafter\n1\npost\nafter\n2\npost\nafter\n3\npost\nafter\n4\npost\nafter\n' Got '0\n' [osh status] Expected 0, got 1 stdout: 0stderr: cnt() { continue 5 2>/dev/null; echo post; } ^~~~~~~~ [ stdin ]:1: fatal: Unexpected 'continue' (in proc call) |
bash | 12 builtin.continue.nonlexical.test [bash stdout] Expected '0\n1\n2\n3\n4\n', got '' [bash status] Expected 0, got 2 stdout: stderr: |
dash | 12 builtin.continue.nonlexical.test [dash stdout] Expected '0\n1\n2\n3\n4\n', got '' [dash status] Expected 0, got 2 stdout: stderr: |
mksh | 12 builtin.continue.nonlexical.test [mksh stdout] Expected '0\n1\n2\n3\n4\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: |
osh | 12 builtin.continue.nonlexical.test [osh stdout] Expected '0\n1\n2\n3\n4\n', got '0\n' [osh status] Expected 0, got 1 stdout: 0stderr: cnt() { continue 2>/dev/null; echo post; } ^~~~~~~~ [ stdin ]:2: fatal: Unexpected 'continue' (in proc call) |
bash | 13 builtin.dot.break.test [bash stdout] Expected 'a\nb\nc\n', got 'a\n' stdout: astderr: |
dash | 13 builtin.dot.break.test [dash stdout] Expected 'a\nb\nc\n', got 'a\n' stdout: astderr: |
osh | 13 builtin.dot.break.test [osh stdout] Expected 'a\nb\nc\n', got 'a\n' stdout: astderr: |
dash | 14 builtin.dot.nonexistent.test [dash status] Expected 1, got 127 stdout: stderr: dash: 1: .: Can't open ./nonesuch |
dash | 15 builtin.dot.path.test [dash stdout] Expected 'yep\n', got '' [dash status] Expected 0, got 127 stdout: stderr: scr1: 2: .: Can't open /home/andy/git/oilshell/oil/_tmp/spec-tmp/smoosh.test.sh.15250/15-dash/p1/scr2 |
osh | 15 builtin.dot.path.test [osh stdout] Expected 'yep\n', got '' [osh status] Expected 0, got 1 stdout: stderr: . scr2 ^~~~ scr1:2: source 'scr2' failed: Permission denied |
osh | 18 builtin.echo.exitcode.test [osh stdout] Expected 'OK\nOK\n', got 'OK\n' [osh status] Expected 0, got 2 stdout: OKstderr: oils I/O error (main): No space left on device |
mksh | 19 builtin.eval.break.test [mksh stdout] Expected 'a\n', got 'a\nb\nc\n' stdout: a b cstderr: mksh: break: can't break mksh: break: can't break mksh: break: can't break |
dash | 21 builtin.eval.trap.test [dash stdout] Expected 'ok\n', got 'bug\nok\n' stdout: bug okstderr: |
dash | 22 builtin.exec.badredir.test [dash status] Expected 1, got 2 stdout: stderr: dash: 1: cannot open -: No such file dash: 1: exec: 9: not found |
bash | 27 builtin.exitcode.test [bash stdout] Expected 'Leaking commands:\nSilently failing commands:\n' Got 'Leaking commands:\nSilently failing commands:\nhelp\nulimit\ncommand -v echo\ncommand -V echo\nalias foo\nalias foo baz\nkill -l\nkill -l 1\nkill -l 2 3\n' stdout: Leaking commands: Silently failing commands: help ulimit command -v echo command -V echo alias foo alias foo baz kill -l kill -l 1 kill -l 2 3stderr: |
mksh | 27 builtin.exitcode.test [mksh stdout] Expected 'Leaking commands:\nSilently failing commands:\n' Got 'Leaking commands:\nSilently failing commands:\nexport\nreadonly\ntimes\nset\npwd\numask\nalias\nulimit\nexport -p\nreadonly -p\ncommand -v echo\ncommand -V echo\nalias\nalias foo\nalias foo baz\nkill -l\nkill -l 1\nkill -l 2 3\n' stdout: Leaking commands: Silently failing commands: export readonly times set pwd umask alias ulimit export -p readonly -p command -v echo command -V echo alias alias foo alias foo baz kill -l kill -l 1 kill -l 2 3stderr: |
osh | 30 builtin.export.unset.test [osh stdout] Expected 'export x\nok\n', got '' [osh status] Expected 0, got 1 stdout: stderr: |
osh | 38 builtin.printf.repeat.test [osh stdout] Expected '1 2\n3 4\n5 6\n7 8\n9 0\n', got '' [osh status] Expected 0, got 1 stdout: stderr: %d %d\n ^ [ printf word at line 1 of [ stdin ] ]:1: printf expected an integer, got '' |
dash | 40 builtin.readonly.assign.noninteractive.test [dash status] Expected 1, got 2 stdout: stderr: dash: 2: export: a: is read only |
mksh | 40 builtin.readonly.assign.noninteractive.test [mksh status] Expected 1, got 2 stdout: stderr: mksh: <stdin>[2]: read-only: a |
dash | 43 builtin.source.nonexistent.earlyexit.test [dash stdout] Expected u'', got 'hi\n' [dash status] Expected 1, got 0 stdout: histderr: dash: 1: source: not found |
osh | 43 builtin.source.nonexistent.earlyexit.test [osh stdout] Expected u'', got 'hi\n' [osh status] Expected 1, got 0 stdout: histderr: source not_a_thing ^~~~~~~~~~~ [ stdin ]:1: source 'not_a_thing' failed: No such file or directory |
dash | 44 builtin.source.nonexistent.test [dash status] Expected 1, got 2 stdout: stderr: dash: 1: source: not found dash: 2: .: nonesuch: not found |
dash | 45 builtin.source.setvar.test [dash stdout] Expected '5\n', got '' [dash status] Expected 0, got 127 stdout: stderr: dash: 4: source: not found |
dash | 46 builtin.special.redir.error.test [dash status] Expected 1, got 2 stdout: stderr: |
osh | 46 builtin.special.redir.error.test [osh stdout] Expected u'', got 'oh no\n' [osh status] Expected 1, got 0 stdout: oh nostderr: F_GETFD fd 9: Bad file descriptor |
dash | 49 builtin.test.-nt.-ot.absent.test [dash status] Expected 0, got 1 stdout: stderr: |
dash | 53 builtin.trap.chained.test [dash status] Expected 0, got 1 stdout: stderr: |
mksh | 53 builtin.trap.chained.test [mksh status] Expected 0, got 1 stdout: stderr: |
osh | 53 builtin.trap.chained.test [osh status] Expected 0, got 1 stdout: stderr: |
bash | 55 builtin.trap.exitcode.test [bash status] Expected 0, got 2 stdout: stderr: bash: line 1: set: bad@option: invalid option name |
mksh | 55 builtin.trap.exitcode.test [mksh status] Expected 0, got 1 stdout: stderr: mksh: set: bad@option: bad option |
dash | 57 builtin.trap.false.test [dash stdout] Expected u'', got 'BUG\n' stdout: BUGstderr: |
osh | 58 builtin.trap.kill.undef.test [osh status] Expected 0, got 1 stdout: stderr: trap 'echo derp' KILL ^~~~ [ stdin ]:1: Invalid signal or hook 'KILL' trap 'echo nevah' 9 ^ [ stdin ]:2: Signal '9' can't be handled |
bash | 59 builtin.trap.nested.test [bash stdout] Expected 'exit\n', got '' stdout: stderr: |
dash | 59 builtin.trap.nested.test [dash stdout] Expected 'exit\n', got '' stdout: stderr: |
osh | 59 builtin.trap.nested.test [osh stdout] Expected 'exit\n', got '' stdout: stderr: |
mksh | 61 builtin.trap.redirect.test [mksh stdout] Expected 'ok\n', got '' stdout: stderr: |
osh | 61 builtin.trap.redirect.test [osh stdout] Expected 'ok\n', got '' stdout: stderr: |
bash | 62 builtin.trap.return.test [bash stdout] Expected '1\n', got '0\n' stdout: 0stderr: |
mksh | 62 builtin.trap.return.test [mksh stdout] Expected '1\n', got '0\n' stdout: 0stderr: |
bash | 63 builtin.trap.subshell.false.exit.test [bash status] Expected 1, got 0 stdout: stderr: |
dash | 63 builtin.trap.subshell.false.exit.test [dash stdout] Expected u'', got 'BUG\n' [dash status] Expected 1, got 0 stdout: BUGstderr: |
mksh | 63 builtin.trap.subshell.false.exit.test [mksh status] Expected 1, got 0 stdout: stderr: |
osh | 63 builtin.trap.subshell.false.exit.test [osh status] Expected 1, got 0 stdout: stderr: |
dash | 64 builtin.trap.subshell.false.test [dash stdout] Expected u'', got 'BUG\n' stdout: BUGstderr: |
bash | 65 builtin.trap.subshell.loud2.test [bash stdout] Expected 'HUH\nWEIRD\n', got '' [bash status] Expected 0, got 2 stdout: stderr: bash: line 1: set: bad@option: invalid option name |
dash | 65 builtin.trap.subshell.loud2.test [dash stdout] Expected 'HUH\nWEIRD\n', got '' stdout: stderr: dash: 1: set: Illegal option -o bad@option |
mksh | 65 builtin.trap.subshell.loud2.test [mksh stdout] Expected 'HUH\nWEIRD\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: mksh: set: bad@option: bad option |
osh | 65 builtin.trap.subshell.loud2.test [osh status] Expected 0, got 1 stdout: HUH WEIRDstderr: set -o bad@option ^~~ [ trap word at ? ]:1: 'set' got invalid option 'bad@option' |
bash | 66 builtin.trap.subshell.loud.test [bash stdout] Expected 'WEIRD\n', got '' [bash status] Expected 0, got 1 stdout: stderr: |
dash | 66 builtin.trap.subshell.loud.test [dash stdout] Expected 'WEIRD\n', got '' [dash status] Expected 0, got 1 stdout: stderr: |
mksh | 66 builtin.trap.subshell.loud.test [mksh stdout] Expected 'WEIRD\n', got '' [mksh status] Expected 0, got 1 stdout: stderr: |
osh | 66 builtin.trap.subshell.loud.test [osh status] Expected 0, got 1 stdout: WEIRDstderr: |
dash | 67 builtin.trap.subshell.quiet.test [dash stdout] Expected u'', got 'BUG1\nBUG2\nBUG3\nBUG4\n' stdout: BUG1 BUG2 BUG3 BUG4stderr: dash: 1: foo: is read only dash: 1: set: Illegal option -o bad@option |
bash | 68 builtin.trap.subshell.true.ec1.test [bash status] Expected 0, got 1 stdout: stderr: |
dash | 68 builtin.trap.subshell.true.ec1.test [dash stdout] Expected u'', got 'bug\n' [dash status] Expected 0, got 1 stdout: bugstderr: |
mksh | 68 builtin.trap.subshell.true.ec1.test [mksh status] Expected 0, got 1 stdout: stderr: |
osh | 68 builtin.trap.subshell.true.ec1.test [osh status] Expected 0, got 1 stdout: stderr: |
dash | 69 builtin.trap.subshell.truefalse.test [dash stdout] Expected '1\n', got 'BUG\n0\n' stdout: BUG 0stderr: |
bash | 70 builtin.trap.supershell.test [bash stdout] Expected "trap -- 'echo bye' EXIT\ntrap -- 'echo so long' EXIT\nso long\ntrap -- 'echo bye' EXIT\nbye\n" Got "trap -- 'echo bye' EXIT\ntrap -- '' PIPE\ntrap -- '' XFSZ\ntrap -- 'echo so long' EXIT\ntrap -- '' PIPE\ntrap -- '' XFSZ\nso long\ntrap -- 'echo bye' EXIT\ntrap -- '' PIPE\ntrap -- '' XFSZ\nbye\n" stdout: trap -- 'echo bye' EXIT trap -- '' PIPE trap -- '' XFSZ trap -- 'echo so long' EXIT trap -- '' PIPE trap -- '' XFSZ so long trap -- 'echo bye' EXIT trap -- '' PIPE trap -- '' XFSZ byestderr: |
dash | 70 builtin.trap.supershell.test [dash stdout] Expected "trap -- 'echo bye' EXIT\ntrap -- 'echo so long' EXIT\nso long\ntrap -- 'echo bye' EXIT\nbye\n" Got "trap -- 'echo so long' EXIT\nso long\nbye\n" stdout: trap -- 'echo so long' EXIT so long byestderr: |
mksh | 70 builtin.trap.supershell.test [mksh stdout] Expected "trap -- 'echo bye' EXIT\ntrap -- 'echo so long' EXIT\nso long\ntrap -- 'echo bye' EXIT\nbye\n" Got "trap -- 'echo so long' EXIT\nso long\nbye\n" stdout: trap -- 'echo so long' EXIT so long byestderr: |
osh | 70 builtin.trap.supershell.test [osh stdout] Expected "trap -- 'echo bye' EXIT\ntrap -- 'echo so long' EXIT\nso long\ntrap -- 'echo bye' EXIT\nbye\n" Got 'bye\n' [osh status] Expected 0, got 2 stdout: byestderr: (trap) ^~~~ [ stdin ]:2: 'trap' requires a code string (trap 'echo so long' EXIT; trap) ^~~~ [ stdin ]:3: 'trap' requires a code string (trap) ^~~~ [ stdin ]:4: 'trap' requires a code string |
dash | 71 builtin.unset.test [dash status] Expected 1, got 2 stdout: unset foo unsetstderr: dash: 8: unset: x: is read only |
bash | 73 parse.eval.error.test [bash stdout] Expected u'', got 'lived\n' [bash status] Expected 0, got 1 stdout: livedstderr: scr: eval: line 2: syntax error: unexpected end of file |
osh | 73 parse.eval.error.test [osh stdout] Expected u'', got 'lived\n' [osh status] Expected 0, got 1 stdout: livedstderr: if ^ [ eval word at line 1 of scr ]:1: Unexpected EOF while parsing command |
dash | 93 semantics.command-subst.newline.test [dash stdout] Expected '1\n\n2\n', got '1\n2\n' stdout: 1 2stderr: |
osh | 95 semantics.-C.test [osh status] Expected 0, got 2 stdout: stderr: |
mksh | 97 semantics.dot.glob.test [mksh stdout] Expected '../foo ./foo\n', got '.*/foo\n' stdout: .*/foostderr: |
dash | 100 semantics.errexit.trap.test [dash status] Expected 1, got 0 stdout: stderr: |
osh | 100 semantics.errexit.trap.test [osh status] Expected 1, got 0 stdout: stderr: |
bash | 101 semantics.error.noninteractive.test [bash status] Expected 1, got 126 stdout: stderr: bash: line 1: x: z chmod: cannot access 'script': No such file or directory /usr/bin/script: /usr/bin/script: cannot execute binary file |
dash | 101 semantics.error.noninteractive.test [dash status] Expected 1, got 127 stdout: stderr: dash: 1: x: z chmod: cannot access 'script': No such file or directory dash: 0: Can't open script |
mksh | 101 semantics.error.noninteractive.test [mksh status] Expected 1, got 127 stdout: stderr: mksh: <stdin>[6]: x: z chmod: cannot access 'script': No such file or directory mksh: script: No such file or directory |
bash | 106 semantics.escaping.quote.test [bash stdout] Expected '"\n%\n&\n\'\n(\n)\n*\n+\n,\n-\n.\n/\n:\n;\n<\n=\n>\n?\n@\n[\n]\n^\n_\n{\n|\n}\n~\n \ndone\n' Got '"\n#\n%\n&\n\'\n(\n)\n*\n+\n,\n-\n.\n/\n:\n;\n<\n=\n>\n?\n@\n[\n]\n^\n_\n{\n|\n}\n~\n \ndone\n' stdout: " # % & ' ( ) * + , - . / : ; < = > ? @ [ ] ^ _ { | } ~ donestderr: |
dash | 106 semantics.escaping.quote.test [dash stdout] Expected '"\n%\n&\n\'\n(\n)\n*\n+\n,\n-\n.\n/\n:\n;\n<\n=\n>\n?\n@\n[\n]\n^\n_\n{\n|\n}\n~\n \ndone\n' Got '"\n#\n%\n&\n\'\n(\n)\n*\n+\n,\n-\n.\n/\n:\n;\n<\n=\n>\n?\n@\n[\n]\n^\n_\n{\n|\n}\n~\n \ndone\n' stdout: " # % & ' ( ) * + , - . / : ; < = > ? @ [ ] ^ _ { | } ~ donestderr: |
mksh | 106 semantics.escaping.quote.test [mksh stdout] Expected '"\n%\n&\n\'\n(\n)\n*\n+\n,\n-\n.\n/\n:\n;\n<\n=\n>\n?\n@\n[\n]\n^\n_\n{\n|\n}\n~\n \ndone\n' Got '"\n#\n%\n&\n\'\n(\n)\n*\n+\n,\n-\n.\n/\n:\n;\n<\n=\n>\n?\n@\n[\n]\n^\n_\n{\n|\n}\n~\n \ndone\n' stdout: " # % & ' ( ) * + , - . / : ; < = > ? @ [ ] ^ _ { | } ~ donestderr: |
bash | 109 semantics.evalorder.fun.test [bash stdout] Expected 'got redir\nunset after function call\nredir exists\n' Got 'got assign\nassign\nassign exists\n' [bash status] Expected 0, got 1 stdout: got assign assign assign existsstderr: |
mksh | 109 semantics.evalorder.fun.test [mksh stdout] Expected 'got redir\nunset after function call\nredir exists\n' Got 'got redir\nredir\nredir exists\n' stdout: got redir redir redir existsstderr: |
bash | 115 semantics.-h.nonposix.test [bash status] Expected 0, got 1 stdout: stderr: |
dash | 115 semantics.-h.nonposix.test [dash status] Expected 0, got 2 stdout: stderr: dash: 1: set: Illegal option -h |
mksh | 115 semantics.-h.nonposix.test [mksh status] Expected 0, got 1 stdout: stderr: |
osh | 115 semantics.-h.nonposix.test [osh status] Expected 0, got 1 stdout: stderr: |
dash | 121 semantics.noninteractive.expansion.exit.test [dash status] Expected 1, got 2 stdout: stderr: dash: 2: x: alas, poor yorick |
dash | 123 semantics.pattern.hyphen.test [dash stdout] Expected 'file-\nfile-\nfile-\nfile-\nfilea\nfilea\nfilea\n' Got 'file-\nfile-\nfile[[.-.]]\nfile[[=-=]]\nfilea\nfilea\nfilea\n' stdout: file- file- file[[.-.]] file[[=-=]] filea filea fileastderr: |
mksh | 123 semantics.pattern.hyphen.test [mksh stdout] Expected 'file-\nfile-\nfile-\nfile-\nfilea\nfilea\nfilea\n' Got 'file-\nfile-\nfile[[.-.]]\nfile[[=-=]]\nfilea\nfile[[:alpha:]]\nfilea\n' stdout: file- file- file[[.-.]] file[[=-=]] filea file[[:alpha:]] fileastderr: |
dash | 125 semantics.pattern.rightbracket.test [dash stdout] Expected 'file]\nfile]\nfile]\nfilea\nfilea\nfilea\n', got 'file]\nfile[[.].]]\nfile[[=]=]]\nfilea\nfilea\nfilea\n' stdout: file] file[[.].]] file[[=]=]] filea filea fileastderr: |
mksh | 125 semantics.pattern.rightbracket.test [mksh stdout] Expected 'file]\nfile]\nfile]\nfilea\nfilea\nfilea\n', got 'file]\nfile[[.].]]\nfile[[=]=]]\nfilea\nfile[[:alpha:]]\nfilea\n' stdout: file] file[[.].]] file[[=]=]] filea file[[:alpha:]] fileastderr: |
bash | 129 semantics.redir.close.test [bash stdout] Expected u'', got 'oops, still open\n' [bash status] Expected 1, got 0 stdout: oops, still openstderr: |
dash | 129 semantics.redir.close.test [dash stdout] Expected u'', got 'oops, still open\n' [dash status] Expected 1, got 0 stdout: oops, still openstderr: |
dash | 137 semantics.return.if.test [dash stdout] Expected '5\n6\n', got '0\n6\n' stdout: 0 6stderr: |
bash | 140 semantics.return.trap.test [bash status] Expected 0, got 5 stdout: FOOstderr: |
dash | 140 semantics.return.trap.test [dash status] Expected 0, got 5 stdout: FOOstderr: |
mksh | 140 semantics.return.trap.test [mksh status] Expected 0, got 5 stdout: FOOstderr: |
osh | 140 semantics.return.trap.test [osh stdout] Expected 'FOO\n', got '' [osh status] Expected 0, got 5 stdout: stderr: |
dash | 141 semantics.return.while.test [dash stdout] Expected '5\n6\n', got '5\n0\n' stdout: 5 0stderr: |
bash | 142 semantics.simple.link.test [bash stdout] Expected 'hi\nhi\ncmd.sh\nlink.sh\n', got 'hi\nhi\n_tmp\ncmd.sh\nlink.sh\n' stdout: hi hi _tmp cmd.sh link.shstderr: |
dash | 142 semantics.simple.link.test [dash stdout] Expected 'hi\nhi\ncmd.sh\nlink.sh\n', got 'hi\nhi\n_tmp\ncmd.sh\nlink.sh\n' stdout: hi hi _tmp cmd.sh link.shstderr: |
mksh | 142 semantics.simple.link.test [mksh stdout] Expected 'hi\nhi\ncmd.sh\nlink.sh\n', got 'hi\nhi\n_tmp\ncmd.sh\nlink.sh\n' stdout: hi hi _tmp cmd.sh link.shstderr: |
osh | 142 semantics.simple.link.test [osh stdout] Expected 'hi\nhi\ncmd.sh\nlink.sh\n', got 'hi\nhi\n_tmp\ncmd.sh\nlink.sh\n' stdout: hi hi _tmp cmd.sh link.shstderr: |
osh | 144 semantics.special.assign.visible.nonposix.test [osh stdout] Expected '5 7\n', got '\n' stdout: stderr: |
mksh | 145 semantics.splitting.ifs.test [mksh stdout] Expected ' 1 2 3 \n', got ' 1 2 3 \n' stdout: 1 2 3stderr: |
bash | 147 semantics.subshell.break.test [bash stdout] Expected 'a\nb\n', got '' stdout: stderr: |
dash | 147 semantics.subshell.break.test [dash stdout] Expected 'a\nb\n', got '' stdout: stderr: |
osh | 147 semantics.subshell.break.test [osh stdout] Expected 'a\nb\n', got '' [osh status] Expected 0, got 1 stdout: stderr: break 2 ^~~~~ [ stdin ]:6: Loop and control flow can't be in different processes break 2 ^~~~~ [ stdin ]:6: Loop and control flow can't be in different processes |
bash | 156 semantics.tilde.sep.test [bash stdout] Expected 'ok\n', got '' [bash status] Expected 0, got 1 stdout: stderr: |
osh | 158 semantics.traps.async.test [osh stdout] Expected 'done\n', got '' [osh status] Expected 0, got 131 stdout: stderr: [1] Done PID 19065 |
bash | 159 semantics.traps.inherit.test [bash stdout] Expected 'got SIGINT\nsending SIGQUIT\n131\n', got 'got SIGINT\nsending SIGQUIT\n0\n' stdout: got SIGINT sending SIGQUIT 0stderr: |
dash | 159 semantics.traps.inherit.test [dash stdout] Expected 'got SIGINT\nsending SIGQUIT\n131\n', got 'sending SIGQUIT\n0\n' stdout: sending SIGQUIT 0stderr: |
dash | 164 semantics.var.dashu.test [dash stdout] Expected 'passed\n', got '1\n' [dash status] Expected 0, got 1 stdout: 1stderr: dash: 1: nonesuch: parameter not set dash: 1: 3: parameter not set dash: 1: nonesuch: parameter not set dash: 1: nonesuch: parameter not set |
mksh | 164 semantics.var.dashu.test [mksh stdout] Expected 'passed\n', got '1\n' [mksh status] Expected 0, got 1 stdout: 1stderr: mksh: nonesuch: parameter not set mksh: 3: parameter not set mksh: nonesuch: parameter not set mksh: nonesuch: parameter not set |
osh | 168 semantics.var.star.emptyifs.test [osh stdout] Expected '<a>\n<b e e>\n<c>\n<HIa>\n<b e e>\n<cBYE>\n' Got '<ab e ec>\n<HIab e ecBYE>\n' stdout: <ab e ec> <HIab e ecBYE>stderr: |
osh | 176 sh.monitor.bg.test [osh status] Expected 0, got 3 stdout: %1 19402 Stopped [subprog] command.Simple 1707023498 - 1707023498 = 0 %1 19402 Stopped [subprog] command.Simple 1707023498 - 1707023498 = 0stderr: set -m ^~ [ stdin ]:1: 'set' got invalid flag '-m' [PID 19402] Stopped with signal 20 bg >output ^~ [ stdin ]:13: 'bg' isn't implemented |
osh | 177 sh.monitor.fg.test [osh status] Expected 0, got 2 stdout: %1 19424 Stopped [subprog] command.Simple 1707023505 - 1707023505 = 0 %1 19424 Stopped [subprog] command.Simplestderr: set -m ^~ [ stdin ]:1: 'set' got invalid flag '-m' [PID 19424] Stopped with signal 20 Continue PID 19424 oils I/O error (main): No such process |
osh | 178 sh.set.ifs.test [osh stdout] Expected ' \t\n \t\n \t\n', got ' \t\n \t\n' [osh status] Expected 0, got 1 stdout: stderr: /home/andy/git/oilshell/oil/bin/osh: 2: cd: can't cd to / ndy/git/oilshell in/.. /home/andy/git/oilshell/oil/bin/osh: 3: exec: /home/: Permission denied |