spec test index / oilshell.org
case | dash | bash | mksh | osh | osh_ALT | osh-byterun | description |
0 | pass | pass | pass | pass | pass | pass | exec builtin |
1 | pass | pass | pass | pass | pass | pass | exec builtin with redirects |
2 | pass | pass | pass | pass | pass | pass | exec builtin with here doc |
3 | pass | pass | pass | pass | pass | pass | cd and $PWD |
4 | pass | pass | pass | pass | pass | pass | $OLDPWD |
5 | pass | pass | pass | pass | pass | pass | pwd |
6 | pass | pass | pass | pass | pass | pass | pwd after cd .. |
7 | pass | pass | pass | pass | pass | pass | pwd -P |
8 | pass | pass | pass | pass | pass | pass | Test the current directory after 'cd ..' involving symlinks |
9 | pass | pass | pass | pass | pass | pass | cd with no arguments |
10 | ok | pass | ok | pass | pass | pass | cd to nonexistent dir |
details | details | ||||||
11 | pass | pass | pass | pass | pass | pass | cd away from dir that was deleted |
12 | pass | pass | pass | pass | pass | pass | cd permits double bare dash |
13 | pass | pass | pass | pass | pass | pass | cd to symlink with -L and -P |
14 | pass | pass | pass | pass | pass | pass | cd to relative path with -L and -P |
15 | N-I | pass | N-I | pass | pass | pass | pushd/popd |
details | details | ||||||
16 | pass | pass | pass | pass | pass | pass | Exit out of function |
17 | ok | ok | pass | pass | pass | pass | Exit builtin with invalid arg |
details | details | ||||||
18 | BUG | BUG | ok | pass | pass | pass | Exit builtin with too many args |
details | details | details | |||||
19 | BUG | pass | pass | pass | pass | pass | time block |
details | |||||||
20 | pass | pass | pass | pass | pass | pass | time pipeline |
21 | pass | pass | pass | pass | pass | pass | shift |
22 | ok | pass | pass | pass | pass | pass | Shifting too far |
details | |||||||
23 | ok | pass | BUG | pass | pass | pass | Invalid shift argument |
details | details | ||||||
24 | pass | pass | pass | pass | pass | pass | get umask |
25 | pass | pass | pass | pass | pass | pass | set umask in octal |
26 | pass | pass | pass | FAIL | FAIL | FAIL | set umask symbolically |
details | details | details |
146 passed, 7 ok, 2 known unimplemented, 4 known bugs, 1 failed, 0 skipped
dash | 10 cd to nonexistent dir stdout: status=2stderr: _tmp/spec-bin/dash: 1: cd: can't cd to /nonexistent/dir |
mksh | 10 cd to nonexistent dir stdout: status=2stderr: _tmp/spec-bin/mksh: <stdin>[1]: cd: /nonexistent/dir: No such file or directory |
dash | 15 pushd/popd stdout: stderr: _tmp/spec-bin/dash: 3: pushd: not found |
mksh | 15 pushd/popd stdout: stderr: _tmp/spec-bin/mksh: <stdin>[3]: pushd: not found |
dash | 17 Exit builtin with invalid arg stdout: stderr: _tmp/spec-bin/dash: 1: exit: Illegal number: invalid |
bash | 17 Exit builtin with invalid arg stdout: stderr: _tmp/spec-bin/bash: line 1: exit: invalid: numeric argument required |
dash | 18 Exit builtin with too many args stdout: stderr: |
bash | 18 Exit builtin with too many args stdout: status=1stderr: _tmp/spec-bin/bash: line 1: exit: too many arguments |
mksh | 18 Exit builtin with too many args stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: exit: too many arguments |
dash | 19 time block stdout: stderr: time: cannot run {: No such file or directory Command exited with non-zero status 127 0.00user 0.00system 0:00.00elapsed ?%CPU (0avgtext+0avgdata 1224maxresident)k 0inputs+0outputs (0major+29minor)pagefaults 0swaps _tmp/spec-bin/dash: 7: Syntax error: "}" unexpected |
dash | 22 Shifting too far stdout: stderr: _tmp/spec-bin/dash: 2: shift: can't shift that many |
dash | 23 Invalid shift argument stdout: stderr: _tmp/spec-bin/dash: 1: shift: Illegal number: ZZZ |
mksh | 23 Invalid shift argument stdout: stderr: |
osh | 26 set umask symbolically [osh stdout] Expected '664\n644\n', got '664\n664\n' [osh stderr] Expected u'', got 'osh warning: *** umask with symbolic input not implemented ***\n' stdout: 664 664stderr: osh warning: *** umask with symbolic input not implemented *** |
osh_ALT | 26 set umask symbolically [osh_ALT stdout] Expected '664\n644\n', got '664\n664\n' [osh_ALT stderr] Expected u'', got 'osh warning: *** umask with symbolic input not implemented ***\n' stdout: 664 664stderr: osh warning: *** umask with symbolic input not implemented *** |
osh-byterun | 26 set umask symbolically [osh-byterun stdout] Expected '664\n644\n', got '664\n664\n' [osh-byterun stderr] Expected u'', got 'osh warning: *** umask with symbolic input not implemented ***\n' stdout: 664 664stderr: osh warning: *** umask with symbolic input not implemented *** |