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 | FAIL | FAIL | FAIL | pwd after cd .. |
details | details | details | |||||
7 | pass | pass | pass | pass | pass | pass | pwd -P |
8 | pass | pass | pass | pass | pass | pass | cd with no arguments |
9 | ok | pass | ok | pass | pass | pass | cd to nonexistent dir |
details | details | ||||||
10 | pass | pass | pass | pass | pass | pass | cd away from dir that was deleted |
11 | pass | pass | pass | pass | pass | pass | cd permits double bare dash |
12 | pass | pass | pass | pass | pass | pass | cd to non-symlink with -P |
13 | pass | pass | pass | pass | pass | pass | cd to symlink default behavior |
14 | pass | pass | pass | pass | pass | pass | cd to symlink with -L |
15 | pass | pass | pass | pass | pass | pass | cd to symlink with -P |
16 | N-I | pass | N-I | pass | pass | pass | pushd/popd |
details | details | ||||||
17 | pass | pass | pass | pass | pass | pass | Exit out of function |
18 | ok | ok | pass | pass | pass | pass | Exit builtin with invalid arg |
details | details | ||||||
19 | BUG | BUG | ok | pass | pass | pass | Exit builtin with too many args |
details | details | details | |||||
20 | BUG | pass | pass | pass | pass | pass | time block |
details | |||||||
21 | pass | pass | pass | pass | pass | pass | time pipeline |
22 | pass | pass | pass | pass | pass | pass | shift |
23 | ok | pass | pass | pass | pass | pass | Shifting too far |
details | |||||||
24 | ok | pass | BUG | pass | pass | pass | Invalid shift argument |
details | details | ||||||
25 | pass | pass | pass | pass | pass | pass | get umask |
26 | pass | pass | pass | pass | pass | pass | set umask in octal |
27 | pass | pass | pass | FAIL | FAIL | FAIL | set umask symbolically |
details | details | details |
149 passed, 7 ok, 2 known unimplemented, 4 known bugs, 2 failed, 0 skipped
osh | 6 pwd after cd .. [osh stdout] Expected 'dir-two\ndir-one\n', got 'dir-two\n..\n' stdout: dir-two ..stderr: |
osh_ALT | 6 pwd after cd .. [osh_ALT stdout] Expected 'dir-two\ndir-one\n', got 'dir-two\n..\n' stdout: dir-two ..stderr: |
osh-byterun | 6 pwd after cd .. [osh-byterun stdout] Expected 'dir-two\ndir-one\n', got 'dir-two\n..\n' stdout: dir-two ..stderr: |
dash | 9 cd to nonexistent dir stdout: status=2stderr: _tmp/spec-bin/dash: 1: cd: can't cd to /nonexistent/dir |
mksh | 9 cd to nonexistent dir stdout: status=2stderr: _tmp/spec-bin/mksh: <stdin>[1]: cd: /nonexistent/dir: No such file or directory |
dash | 16 pushd/popd stdout: stderr: _tmp/spec-bin/dash: 3: pushd: not found |
mksh | 16 pushd/popd stdout: stderr: _tmp/spec-bin/mksh: <stdin>[3]: pushd: not found |
dash | 18 Exit builtin with invalid arg stdout: stderr: _tmp/spec-bin/dash: 1: exit: Illegal number: invalid |
bash | 18 Exit builtin with invalid arg stdout: stderr: _tmp/spec-bin/bash: line 1: exit: invalid: numeric argument required |
dash | 19 Exit builtin with too many args stdout: stderr: |
bash | 19 Exit builtin with too many args stdout: status=1stderr: _tmp/spec-bin/bash: line 1: exit: too many arguments |
mksh | 19 Exit builtin with too many args stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: exit: too many arguments |
dash | 20 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 1292maxresident)k 0inputs+0outputs (0major+29minor)pagefaults 0swaps _tmp/spec-bin/dash: 7: Syntax error: "}" unexpected |
dash | 23 Shifting too far stdout: stderr: _tmp/spec-bin/dash: 2: shift: can't shift that many |
dash | 24 Invalid shift argument stdout: stderr: _tmp/spec-bin/dash: 1: shift: Illegal number: ZZZ |
mksh | 24 Invalid shift argument stdout: stderr: |
osh | 27 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 | 27 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 | 27 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 *** |