spec test index / oilshell.org
| case | dash | bash | mksh | osh | osh_ALT | description |
| 0 | pass | pass | pass | pass | pass | exec builtin |
| 1 | pass | pass | pass | pass | pass | exec builtin with redirects |
| 2 | pass | pass | pass | pass | pass | exec builtin with here doc |
| 3 | pass | pass | pass | pass | pass | cd and $PWD |
| 4 | pass | pass | pass | pass | pass | $OLDPWD |
| 5 | pass | pass | pass | pass | pass | cd with no arguments |
| 6 | ok | pass | ok | pass | pass | cd to nonexistent dir |
| details | details | |||||
| 7 | pass | pass | pass | pass | pass | cd away from dir that was deleted |
| 8 | N-I | pass | N-I | pass | pass | pushd/popd |
| details | details | |||||
| 9 | pass | pass | pass | pass | pass | Eval |
| 10 | pass | pass | pass | pass | pass | Source |
| 11 | ok | pass | pass | pass | pass | Source nonexistent |
| details | ||||||
| 12 | ok | ok | pass | pass | pass | Source with no arguments |
| details | details | |||||
| 13 | pass | pass | pass | pass | pass | Exit builtin |
| 14 | ok | ok | pass | pass | pass | Exit builtin with invalid arg |
| details | details | |||||
| 15 | BUG | BUG | ok | pass | pass | Exit builtin with too many args |
| details | details | details | ||||
| 16 | BUG | pass | pass | pass | pass | time block |
| details | ||||||
| 17 | pass | pass | pass | pass | pass | time pipeline |
| 18 | pass | pass | pass | pass | pass | shift |
| 19 | ok | pass | pass | pass | pass | Shifting too far |
| details | ||||||
| 20 | ok | pass | BUG | pass | pass | Invalid shift argument |
| details | details | |||||
| 21 | pass | pass | pass | pass | pass | get umask |
| 22 | pass | pass | pass | pass | pass | set umask in octal |
| 23 | pass | pass | pass | FAIL | FAIL | set umask symbolically |
| details | details |
102 passed, 10 ok, 2 known unimplemented, 4 known bugs, 1 failed, 0 skipped
| dash | 6 cd to nonexistent dir stdout: status=2stderr: /bin/dash: 1: cd: can't cd to /nonexistent/dir |
| mksh | 6 cd to nonexistent dir stdout: status=2stderr: /bin/mksh: <stdin>[1]: cd: /nonexistent/dir: No such file or directory |
| dash | 8 pushd/popd stdout: stderr: /bin/dash: 3: pushd: not found |
| mksh | 8 pushd/popd stdout: stderr: /bin/mksh: <stdin>[3]: pushd: not found |
| dash | 11 Source nonexistent stdout: status=127stderr: /bin/dash: 1: source: not found |
| dash | 12 Source with no arguments stdout: status=127stderr: /bin/dash: 1: source: not found |
| bash | 12 Source with no arguments stdout: status=2stderr: /bin/bash: line 1: source: filename argument required source: usage: source filename [arguments] |
| dash | 14 Exit builtin with invalid arg stdout: stderr: /bin/dash: 1: exit: Illegal number: invalid |
| bash | 14 Exit builtin with invalid arg stdout: stderr: /bin/bash: line 1: exit: invalid: numeric argument required |
| dash | 15 Exit builtin with too many args stdout: stderr: |
| bash | 15 Exit builtin with too many args stdout: status=1stderr: /bin/bash: line 1: exit: too many arguments |
| mksh | 15 Exit builtin with too many args stdout: stderr: /bin/mksh: <stdin>[1]: exit: too many arguments |
| dash | 16 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 0%CPU (0avgtext+0avgdata 1240maxresident)k
0inputs+0outputs (0major+29minor)pagefaults 0swaps
/bin/dash: 7: Syntax error: "}" unexpected
|
| dash | 19 Shifting too far stdout: stderr: /bin/dash: 2: shift: can't shift that many |
| dash | 20 Invalid shift argument stdout: stderr: /bin/dash: 1: shift: Illegal number: ZZZ |
| mksh | 20 Invalid shift argument stdout: stderr: |
| osh | 23 set umask symbolically [osh stdout] Expected u'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 | 23 set umask symbolically [osh_ALT stdout] Expected u'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 *** |