99 passed, 3 OK, 4 not implemented, 14 BUG, 0 failed, 0 timeouts, 0 cases skipped
| dash | 0 can continue after unknown option stdout: stderr: dash: 2: set: Illegal option -o STRICT |
| mksh | 0 can continue after unknown option stdout: stderr: mksh: <stdin>[2]: set: STRICT: bad option |
| zsh | 0 can continue after unknown option stdout: stderr: set: no such option: STRICT |
| dash | 6 set -u with undefined var in interactive shell does NOT exit the interpreter stdout: before OK before OKstderr: dash: 1: x: parameter not set dash: 0: can't access tty; job control turned off dash: 1: x: parameter not set $ |
| mksh | 6 set -u with undefined var in interactive shell does NOT exit the interpreter stdout: before OK before OKstderr: mksh: x: parameter not set mksh: can't find tty fd: No such device or address mksh: warning: won't have full job control mksh: x: parameter not set |
| zsh | 6 set -u with undefined var in interactive shell does NOT exit the interpreter stdout: before OK before OKstderr: zsh:1: x: parameter not set zsh:1: x: parameter not set |
| mksh | 7 set -u error can break out of nested evals stdout: before afterstderr: mksh: blarg: parameter not set |
| zsh | 7 set -u error can break out of nested evals stdout: before afterstderr: test_function_2:1: blarg: parameter not set |
| dash | 10 set -eu (flag parsing) stdout: stderr: dash: 2: unset: parameter not set |
| zsh | 12 'set' and 'eval' round trip stdout: [ ]stderr: grep: (standard input): binary file matches Code saved to /home/uke/oil/_tmp/spec-tmp/builtin-set.test.sh/12-zsh/vars-zsh.txt |
| zsh | 13 set - - and so forth stdout: a b a b a b --stderr: |
| zsh | 14 set - leading single dash is ignored, turns off xtrace verbose (#2364) stdout: verbose-on xtrace-on a b c verbose-on xtrace-on x - y zstderr: show_options +zsh:11> show_options +show_options:1> case 569Xsvx (*v*) +show_options:2> echo verbose-on +show_options:4> case 569Xsvx (*x*) +show_options:5> echo xtrace-on echo +zsh:12> echo set - a b c +zsh:14> set - a b c echo "$@" +zsh:15> echo a b c show_options +zsh:16> show_options +show_options:1> case 569Xsvx (*v*) +show_options:2> echo verbose-on +show_options:4> case 569Xsvx (*x*) +show_options:5> echo xtrace-on echo +zsh:17> echo set x - y z +zsh:19> set x - y z echo "$@" +zsh:20> echo x - y z |
| zsh | 15 set - stops option processing like set -- stdout: stderr: |
| mksh | 16 A single + is an ignored flag; not an argument stdout: plus xtrace-on plus -v x ystderr: + show_options + echo xtrace-on + echo plus -v x y |
| zsh | 16 A single + is an ignored flag; not an argument stdout: stderr: |
| mksh | 17 set - + and + - stdout: + -stderr: |
| zsh | 17 set - + and + - stdout: +stderr: |
| osh | 17 set - + and + - stdout: +stderr: |
| mksh | 22 set -a exports local variables stdout: Nonestderr: |
| dash | 23 set -a exports declare variables stdout: Nonestderr: dash: 2: declare: not found |
| mksh | 23 set -a exports declare variables stdout: Nonestderr: mksh: <stdin>[2]: declare: not found |