Results for builtins2.test.sh

statusdashbashmkshzshoshosh_ALT
pass 49981212
ok 111000
N-I 501300
BUG 221100
total121212121212
casedashbashmkshzshoshosh_ALTdescription
0ok pass pass pass pass pass command -v
details
1BUG BUG ok pass pass pass command -v with multiple names
detailsdetailsdetails
2BUG BUG pass pass pass pass command -v doesn't find non-executable file
detailsdetails
3pass pass pass pass pass pass command skips function lookup
4pass pass pass N-I pass pass command command seq 3
details
5pass pass pass N-I pass pass command command -v seq
details
6N-I ok BUG BUG pass pass history usage
detailsdetailsdetailsdetails
7pass pass N-I N-I pass pass $(command type ls)
detailsdetails
8N-I pass pass pass pass pass builtin
details
9N-I pass pass pass pass pass builtin ls not found
details
10N-I pass pass pass pass pass builtin no args
details
11N-I pass pass pass pass pass builtin command echo hi
details
54 passed, 3 OK, 9 not implemented, 6 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash0 command -v

stdout:
echo
0
myfunc
0
127
for
0
stderr:
dash1 command -v with multiple names

stdout:
echo
status=0
stderr:
bash1 command -v with multiple names

stdout:
echo
myfunc
for
status=0
stderr:
mksh1 command -v with multiple names

stdout:
echo
myfunc
status=1
stderr:
dash2 command -v doesn't find non-executable file

stdout:
/non-executable
status=0
/executable
status=0
stderr:
bash2 command -v doesn't find non-executable file

stdout:
/non-executable
status=0
/executable
status=0
stderr:
zsh4 command command seq 3

stdout:
stderr: 
zsh: command not found: command
zsh5 command command -v seq

stdout:
stderr: 
zsh: command not found: command
dash6 history usage

stdout:
status=127
status=127
status=127
status=127
status=127
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: history: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: history: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 5: history: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 7: history: not found
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 9: history: not found
bash6 history usage

stdout:
status=0
status=0
status=2
status=1
status=1
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 5: history: -5: invalid option
history: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 7: history: f: numeric argument required
/home/andy/git/oilshell/oil/_tmp/spec-bin/bash: line 9: history: too: numeric argument required
mksh6 history usage

stdout:
status=1
status=1
status=1
status=1
status=1
stderr:
/bin/mksh: fc: history functions not available
/bin/mksh: <stdin>[3]: fc: history functions not available
/bin/mksh: <stdin>[5]: fc: history functions not available
/bin/mksh: <stdin>[7]: fc: history functions not available
/bin/mksh: <stdin>[9]: fc: history functions not available
zsh6 history usage

stdout:
status=1
status=1
status=1
status=1
status=1
stderr:
fc: no such event: 1
fc: no such event: 5
fc: no such event: 0
fc: event not found: f
fc: event not found: too
mksh7 $(command type ls)

stdout:
status=1
stderr:
/bin/mksh: <stdin>[3]: type: not found
zsh7 $(command type ls)

stdout:
FUNCTION
status=1
stderr:
zsh: command not found: type
dash8 builtin

stdout:
hi
stderr:
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: builtin: not found
dash9 builtin ls not found

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: builtin: not found
dash10 builtin no args

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: builtin: not found
dash11 builtin command echo hi

stdout:
stderr: 
/home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 1: builtin: not found