Results for builtin-bash.test.sh

statusbashmkshkshtoyshsushbrushosh
pass 130010109
N-I 0900000
FAIL 0413121334
total13131313131313
casebashmkshkshtoyshsushbrushoshdescription
0pass FAIL FAIL pass FAIL pass pass help
detailsdetailsdetails
1pass FAIL FAIL FAIL FAIL FAIL pass bad help topic
detailsdetailsdetailsdetailsdetails
2pass N-I FAIL FAIL FAIL pass pass mapfile
detailsdetailsdetailsdetails
3pass N-I FAIL FAIL FAIL pass pass readarray (synonym for mapfile)
detailsdetailsdetailsdetails
4pass N-I FAIL FAIL FAIL pass pass mapfile (array name): arr
detailsdetailsdetailsdetails
5pass N-I FAIL FAIL FAIL pass FAIL mapfile (delimiter): -d delim
detailsdetailsdetailsdetailsdetails
6pass N-I FAIL FAIL FAIL FAIL FAIL mapfile (delimiter): -d '' (null-separated)
detailsdetailsdetailsdetailsdetailsdetails
7pass N-I FAIL FAIL FAIL pass pass mapfile (truncate delim): -t
detailsdetailsdetailsdetails
8pass N-I FAIL FAIL FAIL pass pass mapfile -t doesn't remove \r
detailsdetailsdetailsdetails
9pass FAIL FAIL FAIL FAIL pass pass mapfile -t bugs (ble.sh)
detailsdetailsdetailsdetails
10pass N-I FAIL FAIL FAIL FAIL FAIL mapfile (store position): -O start
detailsdetailsdetailsdetailsdetailsdetails
11pass N-I FAIL FAIL FAIL pass FAIL mapfile (input range): -s start -n count
detailsdetailsdetailsdetailsdetails
12pass FAIL FAIL FAIL FAIL pass pass mapfile / readarray stdin TODO: Fix me.
detailsdetailsdetailsdetails
33 passed, 0 OK, 9 not implemented, 0 BUG, 49 failed, 0 timeouts, 0 cases skipped
4 failed under osh

Details on runs that didn't PASS

mksh0 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
ksh0 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
sush0 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
mksh1 bad help topic

[mksh stdout] Expected 'help=1\ngrep=0\n', got 'help=127\ngrep=1\n'

stdout:
help=127
grep=1
stderr:
ksh1 bad help topic

[ksh stdout] Expected 'help=1\ngrep=0\n', got 'help=127\ngrep=1\n'

stdout:
help=127
grep=1
stderr:
toysh1 bad help topic

[toysh stdout] Expected 'help=1\ngrep=0\n', got 'help=1\ngrep=1\n'

stdout:
help=1
grep=1
stderr:
sush1 bad help topic

[sush stdout] Expected 'help=1\ngrep=0\n', got 'help=127\ngrep=1\n'

stdout:
help=127
grep=1
stderr:
brush1 bad help topic

[brush stdout] Expected 'help=1\ngrep=0\n', got 'help=0\ngrep=0\n'

stdout:
help=0
grep=0
stderr:
mksh2 mapfile

stdout:
stderr: 
ksh2 mapfile

[ksh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
toysh2 mapfile

[toysh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
sush2 mapfile

[sush stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
mksh3 readarray (synonym for mapfile)

stdout:
stderr: 
ksh3 readarray (synonym for mapfile)

[ksh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
toysh3 readarray (synonym for mapfile)

[toysh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
sush3 readarray (synonym for mapfile)

[sush stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
mksh4 mapfile (array name): arr

stdout:
stderr: 
ksh4 mapfile (array name): arr

[ksh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
toysh4 mapfile (array name): arr

[toysh stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
sush4 mapfile (array name): arr

[sush stdout] Expected 'n=3\n[1\n]\n[3\n]\n[5\n]\n', got ''

stdout:
stderr: 
mksh5 mapfile (delimiter): -d delim

stdout:
stderr: 
ksh5 mapfile (delimiter): -d delim

[ksh stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got ''

stdout:
stderr: 
toysh5 mapfile (delimiter): -d delim

[toysh stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got ''

stdout:
stderr: 
sush5 mapfile (delimiter): -d delim

[sush stdout] Expected 'n=3\n[1:]\n[3:]\n[5:]\n', got ''

stdout:
stderr: 
osh5 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
mksh6 mapfile (delimiter): -d '' (null-separated)

stdout:
stderr: 
ksh6 mapfile (delimiter): -d '' (null-separated)

[ksh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got ''

stdout:
stderr: 
toysh6 mapfile (delimiter): -d '' (null-separated)

[toysh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got ''

stdout:
stderr: 
sush6 mapfile (delimiter): -d '' (null-separated)

[sush stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got ''

stdout:
stderr: 
brush6 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
[135]
stderr:
osh6 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
mksh7 mapfile (truncate delim): -t

stdout:
stderr: 
ksh7 mapfile (truncate delim): -t

[ksh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got ''

stdout:
stderr: 
toysh7 mapfile (truncate delim): -t

[toysh stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got ''

stdout:
stderr: 
sush7 mapfile (truncate delim): -t

[sush stdout] Expected 'n=3\n[1]\n[3]\n[5]\n', got ''

stdout:
stderr: 
mksh8 mapfile -t doesn't remove \r

stdout:
stderr: 
ksh8 mapfile -t doesn't remove \r

[ksh stdout] Expected "['1\\r', '3\\r', '5\\r']\n", got ''

stdout:
stderr: 
toysh8 mapfile -t doesn't remove \r

[toysh stdout] Expected "['1\\r', '3\\r', '5\\r']\n", got ''

stdout:
stderr: 
sush8 mapfile -t doesn't remove \r

[sush stdout] Expected "['1\\r', '3\\r', '5\\r']\n", got ''

stdout:
stderr: 
mksh9 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=0
stderr:
mksh: <stdin>[1]: mapfile: not found
mksh: <stdin>[4]: mapfile: not found
mksh: <stdin>[7]: mapfile: not found
ksh9 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=0
stderr:
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
toysh9 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: [@]}
sush9 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=0
stderr:
/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
mksh10 mapfile (store position): -O start

stdout:
stderr: 
ksh10 mapfile (store position): -O start

[ksh stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got ''

stdout:
stderr: 
toysh10 mapfile (store position): -O start

[toysh stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got ''

stdout:
stderr: 
sush10 mapfile (store position): -O start

[sush stdout] Expected 'n=5\n[x]\n[y]\n[a0]\n[a1]\n[a2]\n', got ''

stdout:
stderr: 
brush10 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:
 WARN not yet implemented: mapfile -O is not yet implemented
osh10 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
mksh11 mapfile (input range): -s start -n count

stdout:
stderr: 
ksh11 mapfile (input range): -s start -n count

[ksh stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got ''

stdout:
stderr: 
toysh11 mapfile (input range): -s start -n count

[toysh stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got ''

stdout:
stderr: 
sush11 mapfile (input range): -s start -n count

[sush stdout] Expected 'n=3\n[a5]\n[a6]\n[a7]\n', got ''

stdout:
stderr: 
osh11 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
mksh12 mapfile / readarray stdin TODO: Fix me.

[mksh stdout] Expected '2\n3\n', got '0\n0\n'

stdout:
0
0
stderr:
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
ksh12 mapfile / readarray stdin TODO: Fix me.

[ksh stdout] Expected '2\n3\n', got '0\n0\n'

stdout:
0
0
stderr:
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
toysh12 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: [@]}
sush12 mapfile / readarray stdin TODO: Fix me.

[sush stdout] Expected '2\n3\n', got '0\n0\n'

stdout:
0
0
stderr:
/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