33 passed, 0 OK, 9 not implemented, 0 BUG, 49 failed, 0 timeouts, 0 cases skipped 4 failed under osh
mksh | 0 help [mksh stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got 'mksh: <stdin>[1]: help: not found\nstatus=127\nmksh: <stdin>[3]: help: not found\nstatus=127\nmksh: <stdin>[5]: help: not found\nstatus=127\n' stdout: stderr: mksh: <stdin>[1]: help: not found status=127 mksh: <stdin>[3]: help: not found status=127 mksh: <stdin>[5]: help: not found status=127 |
ksh | 0 help [ksh stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got 'E: ksh: <stdin>[1]: help: inaccessible or not found\nstatus=127\nE: ksh: <stdin>[3]: help: inaccessible or not found\nstatus=127\nE: ksh: <stdin>[5]: help: inaccessible or not found\nstatus=127\n' stdout: stderr: E: ksh: <stdin>[1]: help: inaccessible or not found status=127 E: ksh: <stdin>[3]: help: inaccessible or not found status=127 E: ksh: <stdin>[5]: help: inaccessible or not found status=127 |
sush | 0 help [sush stderr] Expected 'status=0\nstatus=0\nstatus=0\n', got '/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: help: command not found\nstatus=127\n/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: help: command not found\nstatus=127\n/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: help: command not found\nstatus=127\n' stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: help: command not found status=127 /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: help: command not found status=127 /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: help: command not found status=127 |
mksh | 1 bad help topic [mksh stdout] Expected 'help=1\ngrep=0\n', got 'help=127\ngrep=1\n' stdout: help=127 grep=1stderr: |
ksh | 1 bad help topic [ksh stdout] Expected 'help=1\ngrep=0\n', got 'help=127\ngrep=1\n' stdout: help=127 grep=1stderr: |
toysh | 1 bad help topic [toysh stdout] Expected 'help=1\ngrep=0\n', got 'help=1\ngrep=1\n' stdout: help=1 grep=1stderr: |
sush | 1 bad help topic [sush stdout] Expected 'help=1\ngrep=0\n', got 'help=127\ngrep=1\n' stdout: help=127 grep=1stderr: |
brush | 1 bad help topic [brush stdout] Expected 'help=1\ngrep=0\n', got 'help=0\ngrep=0\n' stdout: help=0 grep=0stderr: |
mksh | 2 mapfile stdout: stderr: |
ksh | 2 mapfile [ksh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
toysh | 2 mapfile [toysh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
sush | 2 mapfile [sush stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
mksh | 3 readarray (synonym for mapfile) stdout: stderr: |
ksh | 3 readarray (synonym for mapfile) [ksh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
toysh | 3 readarray (synonym for mapfile) [toysh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
sush | 3 readarray (synonym for mapfile) [sush stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
mksh | 4 mapfile (array name): arr stdout: stderr: |
ksh | 4 mapfile (array name): arr [ksh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
toysh | 4 mapfile (array name): arr [toysh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
sush | 4 mapfile (array name): arr [sush stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got '' stdout: stderr: |
mksh | 5 mapfile (delimiter): -d delim stdout: stderr: |
ksh | 5 mapfile (delimiter): -d delim [ksh stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got '' stdout: stderr: |
toysh | 5 mapfile (delimiter): -d delim [toysh stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got '' stdout: stderr: |
sush | 5 mapfile (delimiter): -d delim [sush stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got '' stdout: stderr: |
osh | 5 mapfile (delimiter): -d delim [osh stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -d : arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -d |
mksh | 6 mapfile (delimiter): -d '' (null-separated) stdout: stderr: |
ksh | 6 mapfile (delimiter): -d '' (null-separated) [ksh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' stdout: stderr: |
toysh | 6 mapfile (delimiter): -d '' (null-separated) [toysh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' stdout: stderr: |
sush | 6 mapfile (delimiter): -d '' (null-separated) [sush stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' stdout: stderr: |
brush | 6 mapfile (delimiter): -d '' (null-separated) [brush stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got 'n=1\n[1\x003\x005\x00]\n' stdout: n=1 [1 3 5 ]stderr: |
osh | 6 mapfile (delimiter): -d '' (null-separated) [osh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -d '' arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -d |
mksh | 7 mapfile (truncate delim): -t stdout: stderr: |
ksh | 7 mapfile (truncate delim): -t [ksh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' stdout: stderr: |
toysh | 7 mapfile (truncate delim): -t [toysh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' stdout: stderr: |
sush | 7 mapfile (truncate delim): -t [sush stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got '' stdout: stderr: |
mksh | 8 mapfile -t doesn't remove \r stdout: stderr: |
ksh | 8 mapfile -t doesn't remove \r [ksh stdout] Expected "['1\\r', '3\\r', '5\\r']\n", got '' stdout: stderr: |
toysh | 8 mapfile -t doesn't remove \r [toysh stdout] Expected "['1\\r', '3\\r', '5\\r']\n", got '' stdout: stderr: |
sush | 8 mapfile -t doesn't remove \r [sush stdout] Expected "['1\\r', '3\\r', '5\\r']\n", got '' stdout: stderr: |
mksh | 9 mapfile -t bugs (ble.sh) [mksh stdout] Expected 'len=3\nlen=2\nlen=2\n', got 'len=0\nlen=0\nlen=0\n' stdout: len=0 len=0 len=0stderr: mksh: <stdin>[1]: mapfile: not found mksh: <stdin>[4]: mapfile: not found mksh: <stdin>[7]: mapfile: not found |
ksh | 9 mapfile -t bugs (ble.sh) [ksh stdout] Expected 'len=3\nlen=2\nlen=2\n', got 'len=0\nlen=0\nlen=0\n' stdout: len=0 len=0 len=0stderr: E: ksh: <stdin>[1]: mapfile: inaccessible or not found E: ksh: <stdin>[4]: mapfile: inaccessible or not found E: ksh: <stdin>[7]: mapfile: inaccessible or not found |
toysh | 9 mapfile -t bugs (ble.sh) [toysh stdout] Expected 'len=3\nlen=2\nlen=2\n', got '' [toysh status] Expected 0, got 1 stdout: stderr: sh: mapfile: No such file or directory main: line 2: sh: lines: [@]} sh: mapfile: No such file or directory main: line 5: sh: lines: [@]} sh: mapfile: No such file or directory main: line 8: sh: lines: [@]} |
sush | 9 mapfile -t bugs (ble.sh) [sush stdout] Expected 'len=3\nlen=2\nlen=2\n', got 'len=0\nlen=0\nlen=0\n' stdout: len=0 len=0 len=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: mapfile: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: mapfile: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: mapfile: command not found |
mksh | 10 mapfile (store position): -O start stdout: stderr: |
ksh | 10 mapfile (store position): -O start [ksh stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got '' stdout: stderr: |
toysh | 10 mapfile (store position): -O start [toysh stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got '' stdout: stderr: |
sush | 10 mapfile (store position): -O start [sush stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got '' stdout: stderr: |
brush | 10 mapfile (store position): -O start [brush stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got 'n=3\n[x]\n[y]\n[z]\n' stdout: n=3 [x] [y] [z]stderr: [33m WARN[0m not yet implemented: mapfile -O is not yet implemented |
osh | 10 mapfile (store position): -O start [osh stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got 'n=3\n[x]\n[y]\n[z]\n' stdout: n=3 [x] [y] [z]stderr: mapfile -O 2 -t arr ^~ [ stdin ]:4: 'mapfile' doesn't accept flag -O |
mksh | 11 mapfile (input range): -s start -n count stdout: stderr: |
ksh | 11 mapfile (input range): -s start -n count [ksh stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got '' stdout: stderr: |
toysh | 11 mapfile (input range): -s start -n count [toysh stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got '' stdout: stderr: |
sush | 11 mapfile (input range): -s start -n count [sush stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got '' stdout: stderr: |
osh | 11 mapfile (input range): -s start -n count [osh stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got 'n=0\n[]\n' stdout: n=0 []stderr: mapfile -s 5 -n 3 -t arr ^~ [ stdin ]:3: 'mapfile' doesn't accept flag -s |
mksh | 12 mapfile / readarray stdin TODO: Fix me. [mksh stdout] Expected '2\n3\n', got '0\n0\n' stdout: 0 0stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: mapfile: not found seq: write error: Broken pipe mksh: <stdin>[4]: readarray: not found seq: write error: Broken pipe |
ksh | 12 mapfile / readarray stdin TODO: Fix me. [ksh stdout] Expected '2\n3\n', got '0\n0\n' stdout: 0 0stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: mapfile: inaccessible or not found seq: write error: Broken pipe E: ksh: <stdin>[4]: readarray: inaccessible or not found seq: write error: Broken pipe |
toysh | 12 mapfile / readarray stdin TODO: Fix me. [toysh stdout] Expected '2\n3\n', got '' [toysh status] Expected 0, got 1 stdout: stderr: sh: shopt: No such file or directory sh: mapfile: No such file or directory sh: readarray: No such file or directory main: line 5: sh: m: [@]} main: line 6: sh: r: [@]} |
sush | 12 mapfile / readarray stdin TODO: Fix me. [sush stdout] Expected '2\n3\n', got '0\n0\n' stdout: 0 0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: mapfile: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: readarray: command not found |