spec test index / oilshell.org
100 passed, 3 OK, 5 not implemented, 26 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
dash | 3 exec builtin accepts -- stdout: stderr: dash: 1: exec: --: not found |
dash | 4 exec -- 2>&1 stdout: stderr: dash: 1: exec: --: not found |
mksh | 4 exec -- 2>&1 stdout: stderr: |
dash | 6 Exit builtin with invalid arg stdout: stderr: dash: 1: exit: Illegal number: invalid |
bash | 6 Exit builtin with invalid arg stdout: stderr: bash: line 1: exit: invalid: numeric argument required |
zsh | 6 Exit builtin with invalid arg stdout: stderr: |
dash | 7 Exit builtin with too many args stdout: stderr: |
bash | 7 Exit builtin with too many args stdout: status=1stderr: bash: line 1: exit: too many arguments |
mksh | 7 Exit builtin with too many args stdout: stderr: mksh: <stdin>[1]: exit: too many arguments |
zsh | 7 Exit builtin with too many args stdout: status=1stderr: exit: too many arguments |
dash | 8 time with brace group argument stdout: stderr: time: cannot run {: No such file or directory Command exited with non-zero status 127 0.00user 0.00system 0:00.00elapsed 50%CPU (0avgtext+0avgdata 1280maxresident)k 0inputs+0outputs (0major+76minor)pagefaults 0swaps dash: 7: Syntax error: "}" unexpected |
zsh | 8 time with brace group argument stdout: result=1stderr: |
osh | 11 set umask symbolically [osh stdout] Expected '664\n644\n', got '664\n664\n' [osh stderr] Expected u'', got "oils warning: umask with symbolic input isn't implemented\n" stdout: 664 664stderr: oils warning: umask with symbolic input isn't implemented |
bash | 13 ulimit too many args stdout: failstderr: |
zsh | 13 ulimit too many args stdout: failstderr: |
mksh | 15 ulimit negative arg stdout: unlimited failstderr: |
bash | 16 ulimit -a doesn't take arg stdout: stderr: |
dash | 17 ulimit doesn't accept multiple flags - reduce confusion between shells stdout: status=0 status=0 status=0stderr: |
bash | 17 ulimit doesn't accept multiple flags - reduce confusion between shells stdout: status=0 status=0 status=0stderr: |
mksh | 17 ulimit doesn't accept multiple flags - reduce confusion between shells stdout: status=0 status=0 status=0stderr: |
zsh | 17 ulimit doesn't accept multiple flags - reduce confusion between shells stdout: status=1 status=0 status=0stderr: ulimit: no limits allowed with -a |
dash | 18 YSH readability: ulimit --all the same as ulimit -a stdout: stderr: |
bash | 18 YSH readability: ulimit --all the same as ulimit -a stdout: stderr: |
mksh | 18 YSH readability: ulimit --all the same as ulimit -a stdout: stderr: |
zsh | 18 YSH readability: ulimit --all the same as ulimit -a stdout: stderr: |
mksh | 20 ulimit of 2**32, 2**31 (int overflow) stdout: one unlimited two 1 three 1stderr: mksh: <stdin>[9]: ulimit: -2: unknown option mksh: <stdin>[9]: ulimit: usage: ulimit [-acdefHilnpqrSstv] [value] |
mksh | 21 ulimit that is 64 bits stdout: stderr: |
dash | 22 arg that would overflow 64 bits is detected stdout: before unlimited after 1stderr: |
mksh | 22 arg that would overflow 64 bits is detected stdout: stderr: |
zsh | 22 arg that would overflow 64 bits is detected stdout: before unlimited after 1stderr: |
bash | 23 ulimit -f 1 prevents files larger 512 bytes stdout: 512 status=0 513 status=0 512 ok.txt 513 too-big.txt 1025 totalstderr: |
dash | 25 ulimit -S for soft limit (default), -H for hard limit stdout: stderr: |
zsh | 25 ulimit -S for soft limit (default), -H for hard limit stdout: stderr: |
dash | 26 Changing resource limit is denied stdout: stderr: |
mksh | 26 Changing resource limit is denied stdout: stderr: |