spec test index / oilshell.org
status | dash | bash | mksh | ash | osh | osh_ALT | |
pass | 24 | 25 | 25 | 24 | 25 | 25 | |
N-I | 1 | 0 | 0 | 1 | 0 | 0 | |
total | 25 | 25 | 25 | 25 | 25 | 25 | |
case | dash | bash | mksh | ash | osh | osh_ALT | description |
0 | pass | pass | pass | pass | pass | pass | errexit aborts early |
1 | pass | pass | pass | pass | pass | pass | errexit for nonexistent command |
2 | pass | pass | pass | pass | pass | pass | errexit aborts early on pipeline |
3 | pass | pass | pass | pass | pass | pass | errexit with { } |
4 | pass | pass | pass | pass | pass | pass | errexit with if and { } |
5 | pass | pass | pass | pass | pass | pass | errexit with || |
6 | pass | pass | pass | pass | pass | pass | errexit with && |
7 | pass | pass | pass | pass | pass | pass | errexit test && -- from gen-module-init |
8 | pass | pass | pass | pass | pass | pass | errexit test && and fail |
9 | pass | pass | pass | pass | pass | pass | errexit and loop |
10 | pass | pass | pass | pass | pass | pass | errexit and brace group { } |
11 | pass | pass | pass | pass | pass | pass | errexit and time { } |
12 | pass | pass | pass | pass | pass | pass | errexit with ! |
13 | pass | pass | pass | pass | pass | pass | errexit with ! and ; |
14 | pass | pass | pass | pass | pass | pass | errexit with while/until |
15 | N-I | pass | pass | N-I | pass | pass | errexit with (( )) |
details | details | ||||||
16 | pass | pass | pass | pass | pass | pass | errexit with subshell |
17 | pass | pass | pass | pass | pass | pass | set -o errexit while it's being ignored (moot with strict_errexit) |
18 | pass | pass | pass | pass | pass | pass | set +o errexit while it's being ignored (moot with strict_errexit) |
19 | pass | pass | pass | pass | pass | pass | setting errexit in a subshell works but doesn't affect parent shell |
20 | pass | pass | pass | pass | pass | pass | set errexit while it's ignored in a subshell (moot with strict_errexit) |
21 | pass | pass | pass | pass | pass | pass | shopt -s strict:all || true while errexit is on |
22 | pass | pass | pass | pass | pass | pass | errexit double guard |
23 | pass | pass | pass | pass | pass | pass | background processes respect errexit |
24 | pass | pass | pass | pass | pass | pass | pipeline process respects errexit |
148 passed, 0 OK, 2 not implemented, 0 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 15 errexit with (( )) stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/dash: 3: i++: not found |
ash | 15 errexit with (( )) stdout: stderr: /home/andy/git/oilshell/oil/_tmp/spec-bin/ash: i++: not found |