spec test index / oilshell.org
63 passed, 15 OK, 11 not implemented, 6 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 0 Print shell strings with weird chars: set and printf %q and ${x@Q} stdout: stderr: |
bash | 0 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: |
mksh | 0 Print shell strings with weird chars: set and printf %q and ${x@Q} stdout: stderr: |
zsh | 0 Print shell strings with weird chars: set and printf %q and ${x@Q} stdout: stderr: |
dash | 1 Print shell strings with normal chars: set and printf %q and ${x@Q} stdout: stderr: |
bash | 1 Print shell strings with normal chars: set and printf %q and ${x@Q} stdout: foo=spam declare -- foo="spam" pf spam @Q 'spam'stderr: |
mksh | 1 Print shell strings with normal chars: set and printf %q and ${x@Q} stdout: foo=spam typeset foo=spam pf spam @Q spamstderr: |
zsh | 1 Print shell strings with normal chars: set and printf %q and ${x@Q} stdout: stderr: |
dash | 2 command -v stdout: echo 0 myfunc 0 127 for 0stderr: |
dash | 3 command -v with multiple names stdout: echo status=0stderr: |
bash | 3 command -v with multiple names stdout: echo myfunc for status=0stderr: |
mksh | 3 command -v with multiple names stdout: echo myfunc status=1stderr: |
dash | 4 command -v doesn't find non-executable file stdout: _tmp/non-executable status=0 _tmp/executable status=0stderr: |
dash | 5 command -V stdout: ll is an alias for ls -l status=0 echo is a shell builtin status=0 myfunc is a shell function status=0 nonexistent: not found status=127 for is a shell keyword status=0stderr: dash: 3: shopt: not found |
bash | 5 command -V stdout: ll is aliased to 'ls -l' status=0 echo is a shell builtin status=0 myfunc is a function myfunc () { echo x } status=0 status=1 for is a shell keyword status=0stderr: bash: line 16: command: nonexistent: not found |
mksh | 5 command -V stdout: ll is an alias for 'ls -l' status=0 echo is a shell builtin status=0 myfunc is a function status=0 nonexistent not found status=1 for is a reserved word status=0stderr: mksh: <stdin>[3]: shopt: not found |
zsh | 5 command -V stdout: ll is an alias for ls -l status=0 echo is a shell builtin status=0 myfunc is a shell function status=0 nonexistent not found status=1 for is a reserved word status=0stderr: zsh: command not found: shopt |
dash | 6 command -V nonexistent stdout: nonexistent: not found status=127stderr: |
mksh | 6 command -V nonexistent stdout: nonexistent not found status=1stderr: |
zsh | 6 command -V nonexistent stdout: nonexistent not found status=1stderr: |
zsh | 8 command command seq 3 stdout: stderr: zsh: command not found: command |
zsh | 9 command command -v seq stdout: stderr: zsh: command not found: command |
dash | 10 history usage stdout: status=127 status=127 status=127 status=127 status=127stderr: 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 |
bash | 10 history usage stdout: status=0 status=0 status=2 status=1 status=1stderr: 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 |
mksh | 10 history usage stdout: status=1 status=1 status=1 status=1 status=1stderr: 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 |
zsh | 10 history usage stdout: status=1 status=1 status=1 status=1 status=1stderr: 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 |
mksh | 14 $(command type ls) stdout: status=1stderr: mksh: <stdin>[3]: type: not found |
zsh | 14 $(command type ls) stdout: FUNCTION status=1stderr: zsh: command not found: type |
dash | 15 builtin stdout: histderr: dash: 3: builtin: not found |
dash | 16 builtin ls not found stdout: stderr: dash: 1: builtin: not found |
dash | 17 builtin no args stdout: stderr: dash: 1: builtin: not found |
dash | 18 builtin command echo hi stdout: stderr: dash: 1: builtin: not found |