229 passed, 10 OK, 0 not implemented, 2 BUG, 95 failed, 0 timeouts, 0 cases skipped
toysh | 0 Usage of builtins [toysh stdout] Expected 'status=0\nx\n', got 'status=127\n' stdout: status=127stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: foo: No such file or directory sh: unalias: No such file or directory sh: foo: No such file or directory |
sush | 0 Usage of builtins [sush stdout] Expected 'status=0\nx\n', got 'status=0\n' stdout: status=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: foo: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: foo: command not found |
toysh | 1 Basic alias [toysh stdout] Expected 'hello world\nhi\nexpected failure\n', got 'should not run this\nhi\nexpected failure\n' stdout: should not run this hi expected failurestderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: hi: No such file or directory sh: hi: No such file or directory |
brush | 1 Basic alias [brush stdout] Expected 'hello world\nhi\nexpected failure\n', got 'hello world\nhi\nhello world\n' stdout: hello world hi hello worldstderr: |
toysh | 2 define and use alias on a single line [toysh stdout] Expected 'two\nthree\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e: No such file or directory sh: e: No such file or directory sh: e: No such file or directory |
brush | 2 define and use alias on a single line [brush stdout] Expected 'two\nthree\n', got 'one\ntwo\nthree\n' stdout: one two threestderr: |
toysh | 3 alias can override builtin [toysh stdout] Expected 'foo bar\n', got 'bar\n' stdout: barstderr: sh: shopt: No such file or directory sh: alias: No such file or directory |
toysh | 4 defining multiple aliases, then unalias [toysh stdout] Expected 'status=0\nx X\ny Y\nstatus=0\nundefined\nundefined\n' Got 'status=127\nstatus=127\nundefined\nundefined\n' stdout: status=127 status=127 undefined undefinedstderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo-x: No such file or directory sh: echo-y: No such file or directory sh: unalias: No such file or directory sh: echo-x: No such file or directory sh: echo-y: No such file or directory |
sush | 4 defining multiple aliases, then unalias [sush stdout] Expected 'status=0\nx X\ny Y\nstatus=0\nundefined\nundefined\n' Got 'status=0\nstatus=0\nundefined\nundefined\n' stdout: status=0 status=0 undefined undefinedstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: echo-x: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: echo-y: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 10: echo-x: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 11: echo-y: command not found |
brush | 4 defining multiple aliases, then unalias [brush stdout] Expected 'status=0\nx X\ny Y\nstatus=0\nundefined\nundefined\n' Got 'status=0\n$x X\n$y Y\nstatus=0\nundefined\nundefined\n' stdout: status=0 $x X $y Y status=0 undefined undefinedstderr: echo-x: command not found echo-y: command not found |
mksh | 5 alias not defined stdout: nonexistentZ alias not found status=1stderr: |
ksh | 5 alias not defined [ksh stdout] Expected 'status=1\n', got 'nonexistentZ alias not found\nstatus=1\n' stdout: nonexistentZ alias not found status=1stderr: |
toysh | 5 alias not defined [toysh stdout] Expected 'status=1\n', got 'status=127\n' stdout: status=127stderr: sh: alias: No such file or directory |
sush | 5 alias not defined [sush stdout] Expected 'status=1\n', got 'status=0\n' stdout: status=0stderr: |
toysh | 6 unalias not defined [toysh stdout] Expected 'status=1\n', got 'status=127\n' stdout: status=127stderr: sh: alias: No such file or directory sh: unalias: No such file or directory |
sush | 6 unalias not defined [sush stdout] Expected 'status=1\n', got 'status=0\n' stdout: status=0stderr: |
toysh | 7 unalias -a [toysh stdout] Expected '2\nstatus=0\n', got '0\nstatus=127\n' stdout: 0 status=127stderr: sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: unalias: No such file or directory sh: alias: No such file or directory |
mksh | 8 List aliases by providing names stdout: e=echo ll='ls -l'stderr: |
ksh | 8 List aliases by providing names [ksh stdout] Expected "alias e='echo'\nalias ll='ls -l'\n", got "e=echo\nll='ls -l'\n" stdout: e=echo ll='ls -l'stderr: |
toysh | 8 List aliases by providing names [toysh stdout] Expected "alias e='echo'\nalias ll='ls -l'\n", got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: alias: No such file or directory sh: alias: No such file or directory |
sush | 8 List aliases by providing names [sush stdout] Expected "alias e='echo'\nalias ll='ls -l'\n", got '' stdout: stderr: |
mksh | 9 alias without args lists all aliases stdout: ex=exit ll='ls -l' status=0stderr: |
ksh | 9 alias without args lists all aliases [ksh stdout] Expected "alias ex='exit'\nalias ll='ls -l'\nstatus=0\n" Got "ex=exit\nll='ls -l'\nstatus=0\n" stdout: ex=exit ll='ls -l' status=0stderr: |
toysh | 9 alias without args lists all aliases [toysh stdout] Expected "alias ex='exit'\nalias ll='ls -l'\nstatus=0\n" Got 'status=1\n' stdout: status=1stderr: sh: alias: No such file or directory sh: alias: No such file or directory |
sush | 9 alias without args lists all aliases [sush stdout] Expected "alias ex='exit'\nalias ll='ls -l'\nstatus=0\n" Got 'status=1\n' stdout: status=1stderr: |
mksh | 10 unalias without args is a usage error stdout: status=0stderr: |
ksh | 10 unalias without args is a usage error [ksh stdout] Expected 'status=2\n', got 'status=0\n' stdout: status=0stderr: |
toysh | 10 unalias without args is a usage error [toysh stdout] Expected 'status=2\n', got 'status=127\n' stdout: status=127stderr: sh: unalias: No such file or directory |
sush | 10 unalias without args is a usage error [sush stdout] Expected 'status=2\n', got 'unalias: usage: unalias [-a] name [name ...]\nstatus=0\n' stdout: unalias: usage: unalias [-a] name [name ...] status=0stderr: |
brush | 10 unalias without args is a usage error [brush stdout] Expected 'status=2\n', got 'status=0\n' stdout: status=0stderr: |
toysh | 11 alias with trailing space causes alias expansion on second word [toysh stdout] Expected 'hello world !!!\nhello world punct\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: hi: No such file or directory sh: alias: No such file or directory sh: hi: No such file or directory |
brush | 11 alias with trailing space causes alias expansion on second word [brush stdout] Expected 'hello world !!!\nhello world punct\n', got 'hello world punct\nhello world punct\n' stdout: hello world punct hello world punctstderr: |
toysh | 12 Recursive alias expansion of first word [toysh stdout] Expected '__ hello world\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: hi: No such file or directory |
brush | 12 Recursive alias expansion of first word [brush stdout] Expected '__ hello world\n', got '' [brush status] Expected 0, got 127 stdout: stderr: e_: command not found |
toysh | 13 Recursive alias expansion of SECOND word [toysh stdout] Expected 'one TWO hello world\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory |
brush | 13 Recursive alias expansion of SECOND word [brush stdout] Expected 'one TWO hello world\n', got 'one two hello world\n' stdout: one two hello worldstderr: |
toysh | 14 Expansion of alias with variable [toysh stdout] Expected 'y hi\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo-x: No such file or directory |
brush | 14 Expansion of alias with variable [brush stdout] Expected 'y hi\n', got '$x hi\n' stdout: $x histderr: |
toysh | 15 Alias must be an unquoted word, no expansions allowed [toysh stdout] Expected 'X\nstatus=127\n', got 'status=127\n' stdout: status=127stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo_alias_: No such file or directory sh: echo_alias_: No such file or directory |
brush | 15 Alias must be an unquoted word, no expansions allowed [brush stdout] Expected 'X\nstatus=127\n', got 'X\nX\nstatus=0\n' stdout: X X status=0stderr: |
toysh | 16 first and second word are the same alias, but no trailing space [toysh stdout] Expected 'x echo-x\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo-x: No such file or directory |
brush | 16 first and second word are the same alias, but no trailing space [brush stdout] Expected 'x echo-x\n', got '$x echo-x\n' stdout: $x echo-xstderr: |
toysh | 17 first and second word are the same alias, with trailing space [toysh stdout] Expected 'x echo x\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo-x: No such file or directory |
brush | 17 first and second word are the same alias, with trailing space [brush stdout] Expected 'x echo x\n', got '$x echo-x\n' stdout: $x echo-xstderr: |
brush | 18 Invalid syntax of alias [brush status] Expected 127, got -6 stdout: stderr: alias: echo --; echo: not found Well, this is embarrassing. brush had a problem and crashed. To help us diagnose the problem you can send us a crash report. We have generated a report file at "/tmp/report-c906f2fe-a393-495b-bb93-ab3e88a6341f.toml". Submit an issue or email with the subject of "brush Crash Report" and include the report as an attachment. To submit the crash report: please post a GitHub issue at https://github.com/reubeno/brush/issues/new We take privacy seriously, and do not perform any automated error collection. In order to improve the software, we rely on people to submit reports. Thank you kindly! |
toysh | 19 Dynamic alias definition [toysh stdout] Expected 'X\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo_alias_: No such file or directory |
ksh | 20 Alias name with punctuation [ksh stdout] Expected 'X\n', got '' [ksh status] Expected 0, got 127 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[2]: alias: e_+.~x: invalid alias name E: ksh: <stdin>[3]: e_+.~x: inaccessible or not found |
toysh | 20 Alias name with punctuation [toysh stdout] Expected 'X\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e_+.~x: No such file or directory |
mksh | 21 Syntax error after expansion stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: syntax error: ';;' unexpected |
ksh | 21 Syntax error after expansion [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: syntax error: unexpected ';;' |
toysh | 21 Syntax error after expansion [toysh status] Expected 2, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory |
sush | 21 Syntax error after expansion [sush status] Expected 2, got 0 stdout: stderr: |
brush | 21 Syntax error after expansion [brush status] Expected 2, got 127 stdout: stderr: ;;: command not found |
toysh | 22 Loop split across alias and arg works [toysh stdout] Expected '1\n2\n3\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory |
sush | 22 Loop split across alias and arg works [sush stdout] Expected '1\n2\n3\n', got '' [sush status] Expected 0, got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: Unexpected token: do |
brush | 22 Loop split across alias and arg works [brush stdout] Expected '1\n2\n3\n', got '' [brush status] Expected 0, got 127 stdout: stderr: for: command not found |
toysh | 23 Loop split across alias in another way [toysh stdout] Expected '1\n2\n3\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory main: line 3: sh: syntax error: done |
sush | 23 Loop split across alias in another way [sush stdout] Expected '1\n2\n3\n', got '' [sush status] Expected 0, got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: Unexpected token: do |
brush | 23 Loop split across alias in another way [brush stdout] Expected '1\n2\n3\n', got '' [brush status] Expected 0, got 2 stdout: stderr: [31mERROR[0m main: syntax error near token ` ' (line 1 col 12) |
osh | 23 Loop split across alias in another way stdout: stderr: for i in 1 2 3; do echo $i ^ [ expansion of alias 'e_' ]:1: Expected word type Id.KW_Done, got Id.Eof_Real |
toysh | 24 Loop split across both iterative and recursive aliases [toysh stdout] Expected '1\n2\n3\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory main: line 9: sh: syntax error: do |
sush | 24 Loop split across both iterative and recursive aliases [sush stdout] Expected '1\n2\n3\n', got '' [sush status] Expected 0, got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 10: Unexpected token: do |
brush | 24 Loop split across both iterative and recursive aliases [brush stdout] Expected '1\n2\n3\n', got '' [brush status] Expected 0, got 2 stdout: stderr: [31mERROR[0m main: syntax error near token `echo' (line 1 col 27) |
osh | 24 Loop split across both iterative and recursive aliases stdout: stderr: for i in $one "2" 3 ^ [ expansion of alias 'FOR1' ]:1: Invalid word in for loop |
mksh | 25 Alias with a quote in the middle is a syntax error stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[5]: no closing quote |
ksh | 25 Alias with a quote in the middle is a syntax error [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[5]: no closing quote |
toysh | 25 Alias with a quote in the middle is a syntax error [toysh status] Expected 2, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory |
sush | 25 Alias with a quote in the middle is a syntax error [sush status] Expected 2, got 0 stdout: ${var}"stderr: |
brush | 25 Alias with a quote in the middle is a syntax error [brush status] Expected 2, got 0 stdout: " ${var}"stderr: |
toysh | 26 Alias with internal newlines [toysh stdout] Expected '1\n2\n3 echo foo\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory |
brush | 26 Alias with internal newlines [brush stdout] Expected '1\n2\n3 echo foo\n', got '1 echo 2 echo 3 echo foo\n' stdout: 1 echo 2 echo 3 echo foostderr: |
toysh | 27 Alias trailing newline [toysh stdout] Expected '1\n2\n3\nfoo\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory |
brush | 27 Alias trailing newline [brush stdout] Expected '1\n2\n3\nfoo\n', got '1 echo 2 echo 3 echo foo\n' stdout: 1 echo 2 echo 3 echo foostderr: |
toysh | 28 Two aliases in pipeline [toysh stdout] Expected '3\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: SEQ: No such file or directory sh: WC: No such file or directory |
brush | 28 Two aliases in pipeline [brush stdout] Expected '3\n', got '0\n' stdout: 0stderr: seq: invalid floating point argument: ‘THREE’ Try 'seq --help' for more information. |
toysh | 30 Alias can be defined and used on a single line [toysh stdout] Expected 'hello other line\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: sayhi: No such file or directory sh: sayhi: No such file or directory |
brush | 30 Alias can be defined and used on a single line [brush stdout] Expected 'hello other line\n', got 'hello same line\nhello other line\n' stdout: hello same line hello other linestderr: |
toysh | 31 Alias is respected inside eval [toysh stdout] Expected 'hello inside\nhello outside\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: sayhi: No such file or directory sh: sayhi: No such file or directory |
sush | 31 Alias is respected inside eval [sush stdout] Expected 'hello inside\nhello outside\n', got 'hello outside\n' stdout: hello outsidestderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: sayhi: command not found |
toysh | 32 alias with redirects works [toysh stdout] Expected '1\n2\n3\n', got '' stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory sh: e_: No such file or directory sh: e_: No such file or directory |
toysh | 33 alias with environment bindings works [toysh stdout] Expected '1\n2\n', got '1\n' [toysh status] Expected 0, got 127 stdout: 1stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: p_: No such file or directory |
toysh | 34 alias with line continuation in the middle [toysh stdout] Expected 'ONE TWO ONE TWO THREE two one\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: alias: No such file or directory sh: e_: No such file or directory |
brush | 34 alias with line continuation in the middle [brush stdout] Expected 'ONE TWO ONE TWO THREE two one\n', got 'one\n' [brush status] Expected 0, got 127 stdout: onestderr: TWO: command not found TWO: command not found ONE: command not found |
toysh | 35 alias for left brace [toysh stdout] Expected 'one\ntwo\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory main: line 3: sh: syntax error: } |
sush | 35 alias for left brace [sush stdout] Expected 'one\ntwo\n', got '' [sush status] Expected 0, got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: Unexpected token: } |
brush | 35 alias for left brace [brush stdout] Expected 'one\ntwo\n', got '' [brush status] Expected 0, got 2 stdout: stderr: [31mERROR[0m main: syntax error near token ` ' (line 1 col 27) |
osh | 35 alias for left brace stdout: stderr: { echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Lit_RBrace, got Id.Eof_Real |
toysh | 36 alias for left paren [toysh stdout] Expected 'one\ntwo\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory main: line 3: sh: syntax error: ) |
sush | 36 alias for left paren [sush stdout] Expected 'one\ntwo\n', got '' stdout: stderr: |
brush | 36 alias for left paren [brush stdout] Expected 'one\ntwo\n', got '' [brush status] Expected 0, got 2 stdout: stderr: [31mERROR[0m main: syntax error near token `)' (line 1 col 25) |
osh | 36 alias for left paren stdout: stderr: ( echo one ^ [ expansion of alias 'LEFT' ]:1: Expected word type Id.Right_Subshell, got Id.Eof_Real |
toysh | 37 alias used in subshell and command sub [toysh stdout] Expected '[ subshell\n[ commandsub\n', got '\n' stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo_: No such file or directory sh: echo_: No such file or directory |
toysh | 38 alias used in here doc [toysh stdout] Expected '[ ]\n', got '\n' stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: echo_: No such file or directory |
bash | 39 here doc inside alias stdout: stderr: bash: line 6: warning: here-document at line 6 delimited by end-of-file (wanted `EOF') bash: line 6: hi: command not found bash: line 6: EOF: command not found |
toysh | 39 here doc inside alias [toysh stdout] Expected 'hi\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: c: No such file or directory |
sush | 39 here doc inside alias [sush stdout] Expected 'hi\n', got '' [sush status] Expected 0, got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: syntax error: unexpected end of file |
brush | 39 here doc inside alias [brush stdout] Expected 'hi\n', got '' [brush status] Expected 0, got 1 stdout: stderr: cat: '<<EOF': No such file or directory cat: '$(echo': No such file or directory cat: 'hi)': No such file or directory cat: EOF: No such file or directory |
toysh | 40 Corner case: alias inside LHS array arithmetic expression [toysh stdout] Expected "['ZERO', 'ONE']\n", got "['']\n" stdout: ['']stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: zero: No such file or directory sh: a[]=ZERO: No such file or directory sh: a[1]=ONE: No such file or directory |
toysh | 41 Alias that is pipeline [toysh stdout] Expected '3\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: t1: No such file or directory |
brush | 41 Alias that is pipeline [brush stdout] Expected '3\n', got 'hi|wc -c\n' stdout: hi|wc -cstderr: |
toysh | 42 Alias that is && || ; [toysh stdout] Expected 'one\ntwo\n1\nfour\n', got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: t1: No such file or directory |
brush | 42 Alias that is && || ; [brush stdout] Expected 'one\ntwo\n1\nfour\n', got 'one && echo two && echo 3 | wc -l; echo four\n' stdout: one && echo two && echo 3 | wc -l; echo fourstderr: |
toysh | 43 Alias and command sub (bug regression) [toysh stdout] Expected "['foo', 'bar']\n", got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: a: No such file or directory |
toysh | 44 Alias and arithmetic [toysh stdout] Expected "['3']\n", got '' [toysh status] Expected 0, got 127 stdout: stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: a: No such file or directory |
toysh | 45 Alias and PS4 [toysh stdout] Expected "['foo', 'bar']\n", got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
osh | 46 alias with keywords stdout: stderr: ^ [ expansion of alias 'a' ]:1: Unexpected EOF while parsing command |
toysh | 47 alias with word of multiple lines [toysh stdout] Expected 'status=2\n', got 'status=127\n' stdout: status=127stderr: sh: shopt: No such file or directory sh: alias: No such file or directory sh: ll: No such file or directory |