Results for builtin-misc.test.sh

statusdashbashmkshzshosh
pass 33337
ok 24210
N-I 20010
BUG 00220
total77777
casedashbashmkshzshoshdescription
0N-I ok BUG BUG pass history builtin usage
detailsdetailsdetailsdetails
1ok ok ok ok pass Print shell strings with weird chars: set and printf %q and ${x@Q}
detailsdetailsdetailsdetails
2N-I ok ok N-I pass Print shell strings with normal chars: set and printf %q and ${x@Q}
detailsdetailsdetailsdetails
3pass pass pass pass pass time pipeline
4pass pass pass pass pass shift
5ok pass pass pass pass Shifting too far
details
6pass ok BUG BUG pass Invalid shift argument
detailsdetailsdetails
19 passed, 9 OK, 3 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash0 history builtin usage

stdout:
status=127
status=127
status=127
status=127
status=127
stderr:
dash: 1: history: not found
dash: 3: history: not found
dash: 5: history: not found
dash: 7: history: not found
dash: 9: history: not found
bash0 history builtin usage

stdout:
status=0
status=0
status=2
status=1
status=1
stderr:
bash: line 5: history: -5: invalid option
history: usage: history [-c] [-d offset] [n] or history -anrw [filename] or history -ps arg [arg...]
bash: line 7: history: f: numeric argument required
bash: line 9: history: too: numeric argument required
mksh0 history builtin usage

stdout:
status=1
status=1
status=1
status=1
status=1
stderr:
mksh: fc: history functions not available
mksh: <stdin>[3]: fc: history functions not available
mksh: <stdin>[5]: fc: history functions not available
mksh: <stdin>[7]: fc: history functions not available
mksh: <stdin>[9]: fc: history functions not available
zsh0 history builtin 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
dash1 Print shell strings with weird chars: set and printf %q and ${x@Q}

stdout:
stderr: 
bash1 Print shell strings with weird chars: set and printf %q and ${x@Q}

stdout:
foo=$'a\nb\001c\'d'
pf  $'a\nb\001c\'d'
@Q  $'a\nb\001c\'d'
stderr:
mksh1 Print shell strings with weird chars: set and printf %q and ${x@Q}

stdout:
stderr: 
zsh1 Print shell strings with weird chars: set and printf %q and ${x@Q}

stdout:
stderr: 
dash2 Print shell strings with normal chars: set and printf %q and ${x@Q}

stdout:
stderr: 
bash2 Print shell strings with normal chars: set and printf %q and ${x@Q}

stdout:
foo=spam
declare -- foo="spam"
pf  spam
@Q  'spam'
stderr:
mksh2 Print shell strings with normal chars: set and printf %q and ${x@Q}

stdout:
foo=spam
typeset foo=spam
pf  spam
@Q  spam
stderr:
zsh2 Print shell strings with normal chars: set and printf %q and ${x@Q}

stdout:
stderr: 
dash5 Shifting too far

stdout:
stderr: 
dash: 2: shift: can't shift that many
bash6 Invalid shift argument

stdout:
stderr: 
bash: line 1: shift: ZZZ: numeric argument required
mksh6 Invalid shift argument

stdout:
stderr: 
zsh6 Invalid shift argument

stdout:
stderr: