126 passed, 7 OK, 2 not implemented, 8 BUG, 46 failed, 0 timeouts, 0 cases skipped
toysh | 2 Turn an array into an integer. [toysh stdout] Expected '42\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: 1 |
mksh | 3 assign readonly -- one line stdout: stderr: mksh: <stdin>[1]: read-only: x |
ksh | 3 assign readonly -- one line [ksh status] Expected 1, got 2 stdout: stderr: E: ksh: <stdin>[1]: read-only: x |
toysh | 3 assign readonly -- one line [toysh stdout] Expected '', got 'hi\n' [toysh status] Expected 1, got 0 stdout: histderr: sh: readonly: No such file or directory |
bash | 4 assign readonly -- multiple lines stdout: histderr: bash: line 2: x: readonly variable |
mksh | 4 assign readonly -- multiple lines stdout: stderr: mksh: <stdin>[2]: read-only: x |
ksh | 4 assign readonly -- multiple lines [ksh status] Expected 1, got 2 stdout: stderr: E: ksh: <stdin>[2]: read-only: x |
toysh | 4 assign readonly -- multiple lines [toysh stdout] Expected '', got 'hi\n' [toysh status] Expected 1, got 0 stdout: histderr: sh: readonly: No such file or directory |
sush | 4 assign readonly -- multiple lines [sush stdout] Expected '', got 'hi\n' [sush status] Expected 1, got 0 stdout: histderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: x: readonly variable |
brush | 4 assign readonly -- multiple lines [brush stdout] Expected '', got 'hi\n' [brush status] Expected 1, got 0 stdout: histderr: [31mERROR[0m error: cannot mutate readonly variable |
mksh | 5 assign readonly -- multiple lines -- set -o posix stdout: stderr: mksh: <stdin>[3]: read-only: x |
ksh | 5 assign readonly -- multiple lines -- set -o posix [ksh status] Expected 1, got 2 stdout: stderr: E: ksh: <stdin>[3]: read-only: x |
toysh | 5 assign readonly -- multiple lines -- set -o posix [toysh stdout] Expected '', got 'hi\n' [toysh status] Expected 1, got 0 stdout: histderr: set: bad -o posix sh: readonly: No such file or directory |
sush | 5 assign readonly -- multiple lines -- set -o posix [sush stdout] Expected '', got 'hi\n' [sush status] Expected 1, got 0 stdout: histderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: x: readonly variable |
brush | 5 assign readonly -- multiple lines -- set -o posix [brush stdout] Expected '', got 'hi\n' [brush status] Expected 1, got 0 stdout: histderr: [31mERROR[0m error: cannot mutate readonly variable |
mksh | 8 First word like foo$x() and foo$[1+2] (regression) stdout: stderr: mksh: <stdin>[1]: syntax error: '"z"' unexpected |
ksh | 8 First word like foo$x() and foo$[1+2] (regression) [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: syntax error: unexpected '"z"' |
sush | 8 First word like foo$x() and foo$[1+2] (regression) [sush stdout] Expected '', got 'DONE\n' [sush status] Expected 2, got 0 stdout: DONEstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: ('z') /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: foo$[1+2]: command not found |
brush | 8 First word like foo$x() and foo$[1+2] (regression) [brush stdout] Expected '', got 'DONE\n' [brush status] Expected 2, got 0 stdout: DONEstderr: [31mERROR[0m main: syntax error near token ` ' (line 1 col 18) foo$[1+2]: command not found |
mksh | 9 Function names stdout: stderr: mksh: <stdin>[1]: foo$x: invalid function name |
ksh | 9 Function names [ksh status] Expected 2, got 1 stdout: stderr: E: ksh: <stdin>[1]: foo$x: invalid function name |
sush | 9 Function names [sush stdout] Expected '', got 'hi\nhi\n' stdout: hi histderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: Unexpected token: () /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: Unexpected token: } /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: Unexpected token: () /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: Unexpected token: } |
brush | 9 Function names [brush stdout] Expected '', got 'hi\n' [brush status] Expected 2, got 0 stdout: histderr: [31mERROR[0m main: syntax error near token `{' (line 1 col 10) [31mERROR[0m main: syntax error near token ` ' (line 1 col 2) |
bash | 10 file with NUL byte stdout: stderr: tmp.sh: tmp.sh: cannot execute binary file |
toysh | 10 file with NUL byte [toysh stdout] Expected 'one echo two\n', got '' [toysh status] Expected 0, got 1 stdout: stderr: tmp.sh: line 1: sh: 'tmp.sh' is binary |
sush | 10 file with NUL byte [sush stdout] Expected 'one echo two\n', got '' [sush status] Expected 0, got 101 stdout: stderr: thread 'main' panicked at src/proc_ctrl.rs:181:46: called `Result::unwrap()` on an `Err` value: NulError(0, [0]) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
brush | 10 file with NUL byte [brush stdout] Expected 'one echo two\n', got 'one \x00 echo two\n' stdout: one echo twostderr: |
osh | 10 file with NUL byte stdout: onestderr: |
bash | 11 fastlex: PS1 format string that's incomplete / with NUL byte stdout: stderr: |
ksh | 11 fastlex: PS1 format string that's incomplete / with NUL byte [ksh stdout] Expected 'x=\\D{%H:%M\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[4]: ${x@P}: bad substitution |
toysh | 11 fastlex: PS1 format string that's incomplete / with NUL byte [toysh stdout] Expected 'x=\\D{%H:%M\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
sush | 11 fastlex: PS1 format string that's incomplete / with NUL byte [sush stdout] Expected 'x=\\D{%H:%M\n', got '' [sush status] Expected 0, got 1 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: `${x@P}': bad substitution |
sush | 12 'echo' and printf fail on writing to full disk [sush stdout] Expected 'status=1\nstatus=1\n', got 'status=1\n' [sush status] Expected 0, got 101 stdout: status=1stderr: echo: write error: No space left on device thread 'main' panicked at library/std/src/io/stdio.rs:1165:9: failed printing to stdout: No space left on device (os error 28) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
mksh | 13 other builtins fail on writing to full disk stdout: status=0 status=0stderr: |
toysh | 13 other builtins fail on writing to full disk [toysh stdout] Expected 'status=1\nstatus=1\n', got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: sh: type: No such file or directory sh: ulimit: No such file or directory |
sush | 13 other builtins fail on writing to full disk [sush stdout] Expected 'status=1\nstatus=1\n', got '' [sush status] Expected 0, got 101 stdout: stderr: thread 'main' panicked at library/std/src/io/stdio.rs:1165:9: failed printing to stdout: No space left on device (os error 28) note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
mksh | 15 for loop (issue #1446) stdout: stderr: |
ksh | 15 for loop (issue #1446) [ksh stdout] Expected '0\n1\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[3]: syntax error: unexpected '((' |
toysh | 15 for loop (issue #1446) [toysh stdout] Expected '0\n1\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: ( |
mksh | 16 for loop 2 (issue #1446) stdout: stderr: |
ksh | 16 for loop 2 (issue #1446) [ksh stdout] Expected '0\n1\n', got '' [ksh status] Expected 0, got 1 stdout: stderr: E: ksh: <stdin>[4]: syntax error: unexpected '((' |
toysh | 16 for loop 2 (issue #1446) [toysh stdout] Expected '0\n1\n', got '' [toysh status] Expected 0, got 2 stdout: stderr: main: line 1: sh: syntax error: ( |
toysh | 17 autoconf word split (#1449) [toysh stdout] Expected '--- $()\n[-n]\n[my sed command]\n[f1]\n[f2]\n--- backticks\n[-n]\n[my sed command]\n[f1]\n[f2]\nNOT SPLIT\n' Got '--- $()\n[-n]\n[my sed command]\n[f1]\n[f2]\n--- backticks\n[-n]\n[my sed command]\n[f1]\n[f2]\n' [toysh status] Expected 0, got 2 stdout: --- $() [-n] [my sed command] [f1] [f2] --- backticks [-n] [my sed command] [f1] [f2]stderr: main: line 22: sh: syntax error: ( |
bash | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
mksh | 19 command execution $(echo 42 | tee PWNED) not allowed stdout: 1 42stderr: |
ksh | 19 command execution $(echo 42 | tee PWNED) not allowed [ksh stdout] Expected u'', got '1\n42\n' [ksh status] Expected 1, got 0 stdout: 1 42stderr: |
toysh | 19 command execution $(echo 42 | tee PWNED) not allowed [toysh stdout] Expected u'', got 'NOPE\n' [toysh status] Expected 1, got 0 stdout: NOPEstderr: main: line 4: sh: bad math: x @ -12462 main: line 4: sh: bad math: x @ 2 |
sush | 19 command execution $(echo 42 | tee PWNED) not allowed [sush stdout] Expected u'', got '1\n42\n' [sush status] Expected 1, got 0 stdout: 1 42stderr: |
brush | 19 command execution $(echo 42 | tee PWNED) not allowed [brush stdout] Expected u'', got 'NOPE\n' [brush status] Expected 1, got 0 stdout: NOPEstderr: [31mERROR[0m error: arithmetic evaluation error: failed to parse expression: 'a[$(echo 42 | tee PWNED)]=1' |
bash | 20 process sub <(echo 42 | tee PWNED) not allowed stdout: NOPEstderr: bash: line 4: <(echo 42 | tee PWNED): syntax error: operand expected (error token is "<(echo 42 | tee PWNED)") |
toysh | 20 process sub <(echo 42 | tee PWNED) not allowed [toysh stdout] Expected u'', got 'NOPE\n' [toysh status] Expected 1, got 0 stdout: NOPEstderr: main: line 4: sh: bad math: x @ -12462 main: line 4: sh: bad math: x @ 2 |
sush | 20 process sub <(echo 42 | tee PWNED) not allowed [sush stdout] Expected u'', got 'NOPE\n' [sush status] Expected 1, got 0 stdout: NOPEstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: x : syntax error: operand expected (error token is "<") |
brush | 20 process sub <(echo 42 | tee PWNED) not allowed [brush stdout] Expected u'', got 'NOPE\n' [brush status] Expected 1, got 0 stdout: NOPEstderr: [31mERROR[0m error: arithmetic evaluation error: failed to parse expression: 'a[<(echo 42 | tee PWNED)]=1' |
bash | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: |
mksh | 21 unset doesn't allow command execution stdout: len=1 len=0 PWNED 0stderr: |
ksh | 21 unset doesn't allow command execution [ksh stdout] Expected 'len=1\n', got 'len=1\nlen=0\nPWNED\n0\n' [ksh status] Expected 1, got 0 stdout: len=1 len=0 PWNED 0stderr: |
toysh | 21 unset doesn't allow command execution [toysh stdout] Expected 'len=1\n', got '' [toysh status] Expected 1, got 2 stdout: stderr: sh: typeset: No such file or directory main: line 2: sh: syntax error: 42 |
sush | 21 unset doesn't allow command execution [sush stdout] Expected 'len=1\n', got 'len=1\nlen=1\nNOPE\n' [sush status] Expected 1, got 0 stdout: len=1 len=1 NOPEstderr: |
brush | 21 unset doesn't allow command execution [brush stdout] Expected 'len=1\n', got 'len=1\nlen=1\nNOPE\n' [brush status] Expected 1, got 0 stdout: len=1 len=1 NOPEstderr: [31mERROR[0m failed to parse arithmetic expression |
toysh | 23 (( status bug [toysh stdout] Expected 'status=0\nyes\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
brush | 23 (( status bug [brush stdout] Expected 'status=0\nyes\n', got '' [brush status] Expected 0, got 2 stdout: stderr: [31mERROR[0m main: unterminated here document sequence; tag(s) [32] found at: [line 1 col 11] (detected near line 6 column 1) |
toysh | 25 OSH can use ARGV name [toysh stdout] Expected 'len=2\n', got '' [toysh status] Expected 0, got -6 stdout: stderr: munmap_chunk(): invalid pointer |
brush | 26 Crash in {1..10} - issue #2296 [brush status] Expected 127, got 0 stdout: stderr: 1: command not found |