158 passed, 20 OK, 42 not implemented, 2 BUG, 157 failed, 11 timeouts, 0 cases skipped 1 failed under osh
| bash | 0 $- with -c stdout: huBcstderr: |
| ash | 0 $- with -c [ash stdout] Expected 'u\n' Got 'uc\n' stdout: ucstderr: |
| zsh | 0 $- with -c [zsh stdout] Expected 'u\n' Got '569Xu\n' stdout: 569Xustderr: |
| mksh | 0 $- with -c stdout: uhcstderr: |
| ksh | 0 $- with -c [ksh stdout] Expected 'u\n' Got 'uhUc\n' stdout: uhUcstderr: |
| toysh | 0 $- with -c [toysh stdout] Expected 'u\n' Got '' [toysh status] Expected 0 Got 1 stdout: stderr: sh: Unknown option 'o' (see "sh --help") |
| sush | 0 $- with -c [sush stdout] Expected 'u\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: : line : nounset: invalid option name |
| brush | 0 $- with -c [brush stdout] Expected 'u\n' Got 'huB\n' stdout: huBstderr: |
| bash | 1 $- with pipefail stdout: huBsstderr: |
| dash | 1 $- with pipefail stdout: stderr: dash: 1: set: Illegal option -o pipefail |
| ash | 1 $- with pipefail [ash stdout] Expected 'u\n' Got 'us\n' stdout: usstderr: |
| zsh | 1 $- with pipefail [zsh stdout] Expected 'u\n' Got '569Xsu\n' stdout: 569Xsustderr: |
| mksh | 1 $- with pipefail stdout: ushstderr: |
| ksh | 1 $- with pipefail [ksh stdout] Expected 'u\n' Got 'ushU\n' stdout: ushUstderr: |
| toysh | 1 $- with pipefail [toysh stdout] Expected 'u\n' Got 'Bs\n' stdout: Bsstderr: set: bad -o pipefail |
| sush | 1 $- with pipefail [sush stdout] Expected 'u\n' Got 'Bh\n' stdout: Bhstderr: |
| brush | 1 $- with pipefail [brush stdout] Expected 'u\n' Got 'huBs\n' stdout: huBsstderr: |
| dash | 2 $- and more options stdout: stderr: dash: 3: [[: not found |
| sush | 2 $- and more options [sush stdout] Expected 'yes\nyes\nyes\nyes\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: -f: invalid option |
| sush | 3 $- with interactive shell [sush stdout] Expected 'FALSE\nTRUE\n' Got 'FALSE\n' [sush status] Expected 0 Got 1 stdout: FALSEstderr: : line : set: -i: invalid option |
| sush | 5 pass long options like sh -o errexit [sush status] Expected 1 Got 2 stdout: stderr: : line : errexit: invalid option name |
| brush | 5 pass long options like sh -o errexit [brush stdout] Expected u'' Got 'status=1\n' [brush status] Expected 1 Got 0 stdout: status=1stderr: |
| dash | 6 pass shopt options like sh -O nullglob stdout: stderr: dash: 0: Illegal option -O dash: 0: Illegal option -O |
| ash | 6 pass shopt options like sh -O nullglob [ash stdout] Expected 'foo *.nonexistent bar\nfoo bar\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: illegal option +O ash: illegal option -O |
| zsh | 6 pass shopt options like sh -O nullglob [zsh stdout] Expected 'foo *.nonexistent bar\nfoo bar\n' Got '' [zsh status] Expected 0 Got 127 stdout: stderr: zsh: can't open input file: nullglob zsh: can't open input file: nullglob |
| mksh | 6 pass shopt options like sh -O nullglob stdout: stderr: mksh: mksh: -O: unknown option mksh: mksh: -O: unknown option |
| ksh | 6 pass shopt options like sh -O nullglob [ksh stdout] Expected 'foo *.nonexistent bar\nfoo bar\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: -O: unknown option E: ksh: -O: unknown option |
| toysh | 6 pass shopt options like sh -O nullglob [toysh stdout] Expected 'foo *.nonexistent bar\nfoo bar\n' Got '' [toysh status] Expected 0 Got 1 stdout: stderr: sh: +O: No such file or directory sh: Unknown option 'O' (see "sh --help") |
| sush | 6 pass shopt options like sh -O nullglob [sush stdout] Expected 'foo *.nonexistent bar\nfoo bar\n' Got '' [sush status] Expected 0 Got 2 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: nullglob: No such file or directory : line : set: -O: invalid option |
| ash | 7 set -o vi/emacs [ash stdout] Expected '0\n0\n' Got '0\n1\n' stdout: 0 1stderr: ash: set: line 3: illegal option -o emacs |
| toysh | 7 set -o vi/emacs [toysh stdout] Expected '0\n0\n' Got '1\n1\n' stdout: 1 1stderr: set: bad -o vi set: bad -o emacs |
| sush | 7 set -o vi/emacs [sush stdout] Expected '0\n0\n' Got '2\n2\n' stdout: 2 2stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: vi: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: set: emacs: invalid option name |
| dash | 8 vi and emacs are mutually exclusive stdout: ___ ___ ___stderr: dash: 2: shopt: not found dash: 2: shopt: not found dash: 2: shopt: not found |
| ash | 8 vi and emacs are mutually exclusive [ash stdout] Expected 'set +o emacs\nset +o vi\n___\nset -o emacs\nset +o vi\n___\nset +o emacs\nset -o vi\n___\n' Got '___\n___\n___\n' stdout: ___ ___ ___stderr: ash: shopt: not found ash: set: line 7: illegal option -o emacs ash: shopt: not found ash: shopt: not found |
| zsh | 8 vi and emacs are mutually exclusive [zsh stdout] Expected 'set +o emacs\nset +o vi\n___\nset -o emacs\nset +o vi\n___\nset +o emacs\nset -o vi\n___\n' Got '___\n___\n___\n' stdout: ___ ___ ___stderr: show:1: command not found: shopt show:1: command not found: shopt show:1: command not found: shopt |
| mksh | 8 vi and emacs are mutually exclusive stdout: ___ ___ ___stderr: mksh: <stdin>[5]: shopt: not found mksh: <stdin>[8]: shopt: not found mksh: <stdin>[11]: shopt: not found |
| ksh | 8 vi and emacs are mutually exclusive [ksh stdout] Expected 'set +o emacs\nset +o vi\n___\nset -o emacs\nset +o vi\n___\nset +o emacs\nset -o vi\n___\n' Got '___\n___\n___\n' stdout: ___ ___ ___stderr: E: ksh: <stdin>[5]: shopt: inaccessible or not found E: ksh: <stdin>[8]: shopt: inaccessible or not found E: ksh: <stdin>[11]: shopt: inaccessible or not found |
| toysh | 8 vi and emacs are mutually exclusive [toysh stdout] Expected 'set +o emacs\nset +o vi\n___\nset -o emacs\nset +o vi\n___\nset +o emacs\nset -o vi\n___\n' Got '___\n___\n___\n' stdout: ___ ___ ___stderr: sh: shopt: No such file or directory set: bad -o emacs sh: shopt: No such file or directory set: bad -o vi sh: shopt: No such file or directory |
| sush | 8 vi and emacs are mutually exclusive [sush stdout] Expected 'set +o emacs\nset +o vi\n___\nset -o emacs\nset +o vi\n___\nset +o emacs\nset -o vi\n___\n' Got '___\n___\n___\n' stdout: ___ ___ ___stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: set: emacs: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 10: set: vi: invalid option name |
| brush | 8 vi and emacs are mutually exclusive [brush stdout] Expected 'set +o emacs\nset +o vi\n___\nset -o emacs\nset +o vi\n___\nset +o emacs\nset -o vi\n___\n' Got 'set +o emacs\nset +o vi\n___\nset -o emacs\nset +o vi\n___\nset -o emacs\nset -o vi\n___\n' stdout: set +o emacs set +o vi ___ set -o emacs set +o vi ___ set -o emacs set -o vi ___stderr: |
| dash | 9 interactive shell starts with emacs mode on stdout: stderr: |
| toysh | 9 interactive shell starts with emacs mode on [toysh stdout] Expected 'non-interactive\n1\n1\ninteractive\n0\n1\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 9 interactive shell starts with emacs mode on [sush stdout] Expected 'non-interactive\n1\n1\ninteractive\n0\n1\n' Got 'non-interactive\n2\n2\ninteractive\n' [sush status] Expected 0 Got 2 stdout: non-interactive 2 2 interactivestderr: test: ‘-o’: unary operator expected test: ‘-o’: unary operator expected : line : set: -i: invalid option |
| brush | 9 interactive shell starts with emacs mode on [brush stdout] Expected 'non-interactive\n1\n1\ninteractive\n0\n1\n' Got 'non-interactive\n1\n1\ninteractive\n0\n0\n' stdout: non-interactive 1 1 interactive 0 0stderr: |
| dash | 10 nounset stdout: []stderr: dash: 3: unset: parameter not set |
| ash | 10 nounset [ash status] Expected 1 Got 2 stdout: []stderr: ash: unset: parameter not set |
| toysh | 10 nounset [toysh stdout] Expected '[]\n' Got '[]\n[]\nend\n' [toysh status] Expected 1 Got 0 stdout: [] [] endstderr: set: bad -o nounset |
| sush | 10 nounset [sush stdout] Expected '[]\n' Got '[]\n[]\nend\n' [sush status] Expected 1 Got 0 stdout: [] [] endstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: set: nounset: invalid option name |
| brush | 10 nounset [brush stdout] Expected '[]\n' Got '[]\n[]\nend\n' [brush status] Expected 1 Got 0 stdout: [] [] endstderr: |
| dash | 11 -u is nounset stdout: []stderr: dash: 3: unset: parameter not set |
| ash | 11 -u is nounset [ash status] Expected 1 Got 2 stdout: []stderr: ash: unset: parameter not set |
| toysh | 11 -u is nounset [toysh stdout] Expected '[]\n' Got '[]\nend\n' [toysh status] Expected 1 Got 0 stdout: [] endstderr: main: line 3: sh: unset]": bad substitution |
| sush | 11 -u is nounset [sush stdout] Expected '[]\n' Got '[]\nend\n' [sush status] Expected 1 Got 0 stdout: [] endstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: unset: unbound variable |
| brush | 11 -u is nounset [brush stdout] Expected '[]\n' Got '[]\n[]\nend\n' [brush status] Expected 1 Got 0 stdout: [] [] endstderr: |
| toysh | 12 -n for no execution (useful with --ast-output) [toysh stdout] Expected '1\n' Got '1\n2\n3\n' stdout: 1 2 3stderr: set: bad -n set: bad -n |
| sush | 12 -n for no execution (useful with --ast-output) [sush stdout] Expected '1\n' Got '1\n2\n3\n' stdout: 1 2 3stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: set: -n: invalid option |
| osh | 12 -n for no execution (useful with --ast-output) [osh stdout] Expected '1\n' Got '1\n2\n3\n' stdout: 1 2 3stderr: |
| dash | 13 pipefail stdout: 0stderr: dash: 3: set: Illegal option -o pipefail |
| toysh | 13 pipefail [toysh stdout] Expected '0\n2\n' Got '0\n0\n' stdout: 0 0stderr: set: bad -o pipefail |
| brush | 13 pipefail [brush stdout] Expected '0\n2\n' Got '0\n0\n' stdout: 0 0stderr: |
| dash | 14 shopt -p -o prints 'set' options stdout: stderr: |
| ash | 14 shopt -p -o prints 'set' options [ash stdout] Expected 'set +o nounset\nset -o nounset\n--\nerrexit\nnoglob\nnounset\n' Got '--\n' [ash status] Expected 0 Got 1 stdout: --stderr: ash: shopt: not found ash: shopt: not found ash: shopt: not found |
| zsh | 14 shopt -p -o prints 'set' options [zsh stdout] Expected 'set +o nounset\nset -o nounset\n--\nerrexit\nnoglob\nnounset\n' Got '--\n' [zsh status] Expected 0 Got 1 stdout: --stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 14 shopt -p -o prints 'set' options stdout: stderr: |
| ksh | 14 shopt -p -o prints 'set' options [ksh stdout] Expected 'set +o nounset\nset -o nounset\n--\nerrexit\nnoglob\nnounset\n' Got '--\n' [ksh status] Expected 0 Got 1 stdout: --stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found E: ksh: <stdin>[5]: shopt: inaccessible or not found E: ksh: <stdin>[9]: shopt: inaccessible or not found |
| toysh | 14 shopt -p -o prints 'set' options [toysh stdout] Expected 'set +o nounset\nset -o nounset\n--\nerrexit\nnoglob\nnounset\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 14 shopt -p -o prints 'set' options [sush stdout] Expected 'set +o nounset\nset -o nounset\n--\nerrexit\nnoglob\nnounset\n' Got '--\nnoglob\n' stdout: -- noglobstderr: sush: shopt: nounset: invalid shell option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: set: nounset: invalid option name sush: shopt: nounset: invalid shell option name |
| dash | 15 shopt -o prints 'set' options stdout: stderr: |
| ash | 15 shopt -o prints 'set' options [ash stdout] Expected 'errexit\nnoglob\nnounset\n--\n' Got '--\n' stdout: --stderr: ash: shopt: not found |
| zsh | 15 shopt -o prints 'set' options [zsh stdout] Expected 'errexit\nnoglob\nnounset\n--\n' Got '--\n' stdout: --stderr: zsh: command not found: shopt |
| mksh | 15 shopt -o prints 'set' options stdout: stderr: |
| ksh | 15 shopt -o prints 'set' options [ksh stdout] Expected 'errexit\nnoglob\nnounset\n--\n' Got '--\n' stdout: --stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found |
| toysh | 15 shopt -o prints 'set' options [toysh stdout] Expected 'errexit\nnoglob\nnounset\n--\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 15 shopt -o prints 'set' options [sush stdout] Expected 'errexit\nnoglob\nnounset\n--\n' Got '--\n' stdout: --stderr: |
| dash | 16 shopt -p prints 'shopt' options stdout: stderr: dash: 1: shopt: not found dash: 2: shopt: not found dash: 3: shopt: not found |
| ash | 16 shopt -p prints 'shopt' options [ash stdout] Expected 'shopt -u nullglob\nshopt -s nullglob\n' Got '' [ash status] Expected 0 Got 127 stdout: stderr: ash: shopt: not found ash: shopt: not found ash: shopt: not found |
| zsh | 16 shopt -p prints 'shopt' options [zsh stdout] Expected 'shopt -u nullglob\nshopt -s nullglob\n' Got '' [zsh status] Expected 0 Got 127 stdout: stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 16 shopt -p prints 'shopt' options stdout: stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[2]: shopt: not found mksh: <stdin>[3]: shopt: not found |
| ksh | 16 shopt -p prints 'shopt' options [ksh stdout] Expected 'shopt -u nullglob\nshopt -s nullglob\n' Got '' [ksh status] Expected 0 Got 127 stdout: stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[2]: shopt: inaccessible or not found E: ksh: <stdin>[3]: shopt: inaccessible or not found |
| toysh | 16 shopt -p prints 'shopt' options [toysh stdout] Expected 'shopt -u nullglob\nshopt -s nullglob\n' Got '' [toysh status] Expected 0 Got 127 stdout: stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory |
| sush | 16 shopt -p prints 'shopt' options [sush stdout] Expected 'shopt -u nullglob\nshopt -s nullglob\n' Got 'nullglob off\nnullglob on\n' stdout: nullglob off nullglob onstderr: |
| dash | 17 shopt with no flags prints options stdout: 0 one.txt 0stderr: dash: 3: shopt: not found dash: 8: shopt: not found |
| ash | 17 shopt with no flags prints options [ash stdout] Expected '2 one.txt\nnullglob\nfailglob\n1\n' Got '0 one.txt\n0\n' stdout: 0 one.txt 0stderr: ash: shopt: not found ash: shopt: not found |
| zsh | 17 shopt with no flags prints options [zsh stdout] Expected '2 one.txt\nnullglob\nfailglob\n1\n' Got '0 one.txt\n0\n' stdout: 0 one.txt 0stderr: zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 17 shopt with no flags prints options stdout: 0 one.txt 0stderr: mksh: <stdin>[3]: shopt: not found mksh: <stdin>[8]: shopt: not found |
| ksh | 17 shopt with no flags prints options [ksh stdout] Expected '2 one.txt\nnullglob\nfailglob\n1\n' Got '0 one.txt\n0\n' stdout: 0 one.txt 0stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found E: ksh: <stdin>[8]: shopt: inaccessible or not found |
| toysh | 17 shopt with no flags prints options [toysh stdout] Expected '2 one.txt\nnullglob\nfailglob\n1\n' Got '0 one.txt\n0\n' stdout: 0 one.txt 0stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory |
| sush | 17 shopt with no flags prints options [sush stdout] Expected '2 one.txt\nnullglob\nfailglob\n1\n' Got '0 one.txt\n1\n' stdout: 0 one.txt 1stderr: sush: shopt: nullglob: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
| dash | 19 noclobber on stdout: create=0 overwrite=2 force=0 forcestderr: dash: 7: cannot create no-clobber: File exists |
| toysh | 19 noclobber on [toysh stdout] Expected 'create=0\noverwrite=1\nforce=0\nforce\n' Got 'create=0\noverwrite=0\nforce=0\nforce\n' stdout: create=0 overwrite=0 force=0 forcestderr: |
| sush | 19 noclobber on [sush stdout] Expected 'create=0\noverwrite=1\nforce=0\nforce\n' Got 'create=0\noverwrite=1\nforce=2\nfoo\n' stdout: create=0 overwrite=1 force=2 foostderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: no-clobber: cannot overwrite existing file /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 11: syntax error near unexpected token: >| |
| dash | 20 noclobber on <> stdout: .oostderr: dash: 4: read: Illegal option -n |
| zsh | 20 noclobber on <> [zsh stdout] Expected 'f.o\n' Got 'foo\n.' stdout: foo .stderr: |
| toysh | 20 noclobber on <> [toysh stdout] Expected 'f.o\n' Got '.oo\n' stdout: .oostderr: sh: read: No such file or directory |
| sush | 20 noclobber on <> [sush stdout] Expected 'f.o\n' Got '' [sush status] Expected 0 Got -6 stdout: stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: syntax error near unexpected token: >| /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: syntax error near unexpected token: <> /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: 0: bad file descriptor /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: 1: bad file descriptor thread 'main' panicked at src/elements/io.rs:17:27: cannot close: EBADF note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace |
| zsh | 21 noclobber on >> [zsh stdout] Expected 'status=0\nfoo\n' Got 'status=1\n' [zsh status] Expected 0 Got 1 stdout: status=1stderr: zsh: no such file or directory: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/21-zsh/no-clobber cat: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/21-zsh/no-clobber: No such file or directory |
| dash | 22 noclobber on &> > stdout: stderr: |
| toysh | 22 noclobber on &> > [toysh stdout] Expected 'stdout=0\nagain=1\nfoo\nboth=0\nagain=1\nbaz\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 22 noclobber on &> > [sush stdout] Expected 'stdout=0\nagain=1\nfoo\nboth=0\nagain=1\nbaz\n' Got 'stdout=0\nagain=1\nfoo\nboth=0\nagain=0\nfoo\n' stdout: stdout=0 again=1 foo both=0 again=0 foostderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/22-sush/no-clobber: cannot overwrite existing file |
| brush | 22 noclobber on &> > [brush stdout] Expected 'stdout=0\nagain=1\nfoo\nboth=0\nagain=1\nbaz\n' Got 'stdout=0\nagain=1\nfoo\nboth=0\nagain=0\nfoo\n' stdout: stdout=0 again=1 foo both=0 again=0 foostderr: error: failed to redirect to /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/22-brush/no-clobber: File exists (os error 17) |
| dash | 23 noclobber on &>> >> stdout: stdout=0 again=0 foo bar both=0 baz again=0 foostderr: |
| ash | 23 noclobber on &>> >> [ash stdout] Expected 'stdout=0\nagain=0\nfoo\nbar\nboth=0\nagain=0\nbaz\nfoo\n' Got 'stdout=0\nagain=0\nfoo\nbar\n' [ash status] Expected 0 Got 2 stdout: stdout=0 again=0 foo barstderr: ash: syntax error: unexpected redirection |
| zsh | 23 noclobber on &>> >> [zsh stdout] Expected 'stdout=0\nagain=0\nfoo\nbar\nboth=0\nagain=0\nbaz\nfoo\n' Got 'stdout=1\nagain=1\nboth=1\nagain=1\n' [zsh status] Expected 0 Got 1 stdout: stdout=1 again=1 both=1 again=1stderr: zsh: no such file or directory: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-zsh/no-clobber zsh: no such file or directory: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-zsh/no-clobber cat: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-zsh/no-clobber: No such file or directory zsh: no such file or directory: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-zsh/no-clobber zsh: no such file or directory: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-zsh/no-clobber cat: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-zsh/no-clobber: No such file or directory |
| toysh | 23 noclobber on &>> >> [toysh stdout] Expected 'stdout=0\nagain=0\nfoo\nbar\nboth=0\nagain=0\nbaz\nfoo\n' Got 'stdout=0\nagain=0\nfoo\nbar\nboth=0\nagain=0\nfoo\n' stdout: stdout=0 again=0 foo bar both=0 again=0 foostderr: |
| sush | 23 noclobber on &>> >> [sush stdout] Expected 'stdout=0\nagain=0\nfoo\nbar\nboth=0\nagain=0\nbaz\nfoo\n' Got 'stdout=0\nagain=1\nfoo\nbaz\nboth=0\nfoo\nagain=0\n' [sush status] Expected 0 Got 1 stdout: stdout=0 again=1 foo baz both=0 foo again=0stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-sush/no-clobber: cannot overwrite existing file 793638 793643 cat: /home/andy/git/oils-for-unix/oils/_tmp/spec-tmp/sh-options.test.sh/23-sush/no-clobber: No such file or directory |
| dash | 24 set without args lists variables stdout: __GLOBAL='mutated' __OTHERLOCAL='L' __mylocal='L' __var_in_parent_scope='D'stderr: |
| ash | 24 set without args lists variables [ash stdout] Expected '__GLOBAL=mutated\n__OTHERLOCAL=L\n__mylocal=L\n__var_in_parent_scope=D\n' Got "__GLOBAL='mutated'\n__OTHERLOCAL='L'\n__mylocal='L'\n__var_in_parent_scope='D'\n" stdout: __GLOBAL='mutated' __OTHERLOCAL='L' __mylocal='L' __var_in_parent_scope='D'stderr: |
| zsh | 24 set without args lists variables [zsh stdout] Expected '__GLOBAL=mutated\n__OTHERLOCAL=L\n__mylocal=L\n__var_in_parent_scope=D\n' Got '' stdout: stderr: grep: (standard input): binary file matches |
| mksh | 24 set without args lists variables stdout: __GLOBAL=mutated __var_in_parent_scope=D __OTHERLOCAL=L __mylocal=Lstderr: |
| ksh | 24 set without args lists variables [ksh stdout] Expected '__GLOBAL=mutated\n__OTHERLOCAL=L\n__mylocal=L\n__var_in_parent_scope=D\n' Got '__GLOBAL=mutated\n__var_in_parent_scope=D\n__OTHERLOCAL=L\n__mylocal=L\n' stdout: __GLOBAL=mutated __var_in_parent_scope=D __OTHERLOCAL=L __mylocal=Lstderr: |
| toysh | 24 set without args lists variables [toysh stdout] Expected '__GLOBAL=mutated\n__OTHERLOCAL=L\n__mylocal=L\n__var_in_parent_scope=D\n' Got '__OTHERLOCAL=L\n__mylocal=L\n__var_in_parent_scope=D\n__GLOBAL=mutated\n' stdout: __OTHERLOCAL=L __mylocal=L __var_in_parent_scope=D __GLOBAL=mutatedstderr: |
| bash | 25 set without args and array variables stdout: __array=([0]="1" [1]="2" [2]="3 4")stderr: |
| dash | 25 set without args and array variables stdout: stderr: dash: 1: declare: not found
dash: 2: Syntax error: "(" unexpected
|
| ash | 25 set without args and array variables [ash stdout] Expected "__array=(1 2 '3 4')\n" Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: declare: not found
ash: syntax error: unexpected "("
|
| zsh | 25 set without args and array variables [zsh stdout] Expected 'a=( 1 2 3 )\n' Got '' stdout: stderr: grep: (standard input): binary file matches |
| mksh | 25 set without args and array variables stdout: __array[0]=1 __array[1]=2 __array[2]='3 4'stderr: mksh: <stdin>[1]: declare: not found |
| ksh | 25 set without args and array variables [ksh stdout] Expected "__array=(1 2 '3 4')\n" Got "__array[0]=1\n__array[1]=2\n__array[2]='3 4'\n" stdout: __array[0]=1 __array[1]=2 __array[2]='3 4'stderr: E: ksh: <stdin>[1]: declare: inaccessible or not found |
| toysh | 25 set without args and array variables [toysh stdout] Expected "__array=(1 2 '3 4')\n" Got '' [toysh status] Expected 0 Got 2 stdout: stderr: main: line 2: sh: syntax error: 1 |
| sush | 25 set without args and array variables [sush stdout] Expected "__array=(1 2 '3 4')\n" Got '__array=([0]="1" [1]="2" [2]="3 4")\n' stdout: __array=([0]="1" [1]="2" [2]="3 4")stderr: |
| brush | 25 set without args and array variables [brush stdout] Expected "__array=(1 2 '3 4')\n" Got '__array=([0]="1" [1]="2" [2]="3 4")\n' stdout: __array=([0]="1" [1]="2" [2]="3 4")stderr: |
| dash | 26 set without args and assoc array variables (not in OSH) stdout: stderr: dash: 1: typeset: not found dash: 2: __assoc[k e y]=v a l: not found dash: 3: __assoc[a]=b: not found |
| ash | 26 set without args and assoc array variables (not in OSH) [ash stdout] Expected '__assoc=([a]="b" ["k e y"]="v a l" )\n' Got '' [ash status] Expected 0 Got 1 stdout: stderr: ash: typeset: not found ash: __assoc[k e y]=v a l: not found ash: __assoc[a]=b: not found |
| zsh | 26 set without args and assoc array variables (not in OSH) [zsh stdout] Expected '__assoc=([a]="b" ["k e y"]="v a l" )\n' Got '' stdout: stderr: grep: (standard input): binary file matches |
| mksh | 26 set without args and assoc array variables (not in OSH) stdout: stderr: mksh: <stdin>[1]: typeset: -A: unknown option mksh: <stdin>[2]: 'k e y': multi-character character constant |
| ksh | 26 set without args and assoc array variables (not in OSH) [ksh stdout] Expected '__assoc=([a]="b" ["k e y"]="v a l" )\n' Got '' [ksh status] Expected 0 Got 1 stdout: stderr: E: ksh: <stdin>[1]: typeset: -A: unknown option W: ksh: <stdin>[2]: 'k e y': multi-character character constant |
| toysh | 26 set without args and assoc array variables (not in OSH) [toysh stdout] Expected '__assoc=([a]="b" ["k e y"]="v a l" )\n' Got '' [toysh status] Expected 0 Got 1 stdout: stderr: sh: typeset: No such file or directory sh: __assoc[k e y]=v a l: No such file or directory sh: __assoc[a]=b: No such file or directory |
| osh | 26 set without args and assoc array variables (not in OSH) stdout: stderr: __assoc[a]=b ^~~~~~~~ [ stdin ]:3: fatal: Assoc array keys must be strings: $x 'x' "$x" etc. (OILS-ERR-101) |
| dash | 27 shopt -q stdout: nullglob=127 nullglob=127 nullglob,failglob=127 nullglob,failglob=127stderr: dash: 1: shopt: not found dash: 4: shopt: not found dash: 6: shopt: not found dash: 9: shopt: not found dash: 12: shopt: not found dash: 13: shopt: not found |
| ash | 27 shopt -q [ash stdout] Expected 'nullglob=1\nnullglob=0\nnullglob,failglob=1\nnullglob,failglob=0\n' Got 'nullglob=127\nnullglob=127\nnullglob,failglob=127\nnullglob,failglob=127\n' stdout: nullglob=127 nullglob=127 nullglob,failglob=127 nullglob,failglob=127stderr: ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found |
| zsh | 27 shopt -q [zsh stdout] Expected 'nullglob=1\nnullglob=0\nnullglob,failglob=1\nnullglob,failglob=0\n' Got 'nullglob=127\nnullglob=127\nnullglob,failglob=127\nnullglob,failglob=127\n' stdout: nullglob=127 nullglob=127 nullglob,failglob=127 nullglob,failglob=127stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 27 shopt -q stdout: nullglob=127 nullglob=127 nullglob,failglob=127 nullglob,failglob=127stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[4]: shopt: not found mksh: <stdin>[6]: shopt: not found mksh: <stdin>[9]: shopt: not found mksh: <stdin>[12]: shopt: not found mksh: <stdin>[13]: shopt: not found |
| ksh | 27 shopt -q [ksh stdout] Expected 'nullglob=1\nnullglob=0\nnullglob,failglob=1\nnullglob,failglob=0\n' Got 'nullglob=127\nnullglob=127\nnullglob,failglob=127\nnullglob,failglob=127\n' stdout: nullglob=127 nullglob=127 nullglob,failglob=127 nullglob,failglob=127stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[4]: shopt: inaccessible or not found E: ksh: <stdin>[6]: shopt: inaccessible or not found E: ksh: <stdin>[9]: shopt: inaccessible or not found E: ksh: <stdin>[12]: shopt: inaccessible or not found E: ksh: <stdin>[13]: shopt: inaccessible or not found |
| toysh | 27 shopt -q [toysh stdout] Expected 'nullglob=1\nnullglob=0\nnullglob,failglob=1\nnullglob,failglob=0\n' Got 'nullglob=127\nnullglob=127\nnullglob,failglob=127\nnullglob,failglob=127\n' stdout: nullglob=127 nullglob=127 nullglob,failglob=127 nullglob,failglob=127stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory |
| sush | 27 shopt -q [sush stdout] Expected 'nullglob=1\nnullglob=0\nnullglob,failglob=1\nnullglob,failglob=0\n' Got 'nullglob=0\nnullglob=0\nnullglob,failglob=1\nnullglob,failglob=1\n' stdout: nullglob=0 nullglob=0 nullglob,failglob=1 nullglob,failglob=1stderr: sush: shopt: nullglob: invalid shell option name shopt: usage: shopt [-su] [optname ...] /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 12: shopt: failglob: not supported yet sush: shopt: nullglob: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
| bash | 28 shopt -q invalid stdout: invalidZZ=1stderr: bash: line 1: shopt: invalidZZ: invalid shell option name |
| dash | 28 shopt -q invalid stdout: invalidZZ=127stderr: dash: 1: shopt: not found |
| ash | 28 shopt -q invalid [ash stdout] Expected 'invalidZZ=2\n' Got 'invalidZZ=127\n' stdout: invalidZZ=127stderr: ash: shopt: not found |
| zsh | 28 shopt -q invalid [zsh stdout] Expected 'invalidZZ=2\n' Got 'invalidZZ=127\n' stdout: invalidZZ=127stderr: zsh: command not found: shopt |
| mksh | 28 shopt -q invalid stdout: invalidZZ=127stderr: mksh: <stdin>[1]: shopt: not found |
| ksh | 28 shopt -q invalid [ksh stdout] Expected 'invalidZZ=2\n' Got 'invalidZZ=127\n' stdout: invalidZZ=127stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
| toysh | 28 shopt -q invalid [toysh stdout] Expected 'invalidZZ=2\n' Got 'invalidZZ=127\n' stdout: invalidZZ=127stderr: sh: shopt: No such file or directory |
| sush | 28 shopt -q invalid [sush stdout] Expected 'invalidZZ=2\n' Got 'invalidZZ=0\n' stdout: invalidZZ=0stderr: |
| brush | 28 shopt -q invalid [brush stdout] Expected 'invalidZZ=2\n' Got 'invalidZZ=1\n' stdout: invalidZZ=1stderr: shopt: invalidZZ: invalid shell option name |
| bash | 29 shopt -s strict:all stdout: - - -stderr: bash: line 9: shopt: strict:all: invalid shell option name bash: line 11: shopt: strict_argv: invalid shell option name |
| dash | 29 shopt -s strict:all stdout: stderr: dash: 3: Syntax error: Bad function name |
| ash | 29 shopt -s strict:all [ash stdout] Expected 'shopt -u strict_arg_parse\nshopt -u strict_argv\n-\nshopt -s strict_arg_parse\nshopt -s strict_argv\n-\nshopt -s strict_arg_parse\nshopt -u strict_argv\n-\n' Got '' [ash status] Expected 0 Got 2 stdout: stderr: ash: syntax error: bad function name |
| zsh | 29 shopt -s strict:all [zsh stdout] Expected 'shopt -u strict_arg_parse\nshopt -u strict_argv\n-\nshopt -s strict_arg_parse\nshopt -s strict_argv\n-\nshopt -s strict_arg_parse\nshopt -u strict_argv\n-\n' Got '\n\n\n' stdout: stderr: show-strict:1: command not found: shopt zsh: command not found: shopt show-strict:1: command not found: shopt zsh: command not found: shopt show-strict:1: command not found: shopt |
| mksh | 29 shopt -s strict:all stdout: - - -stderr: mksh: <stdin>[8]: shopt: not found mksh: <stdin>[9]: shopt: not found mksh: <stdin>[10]: shopt: not found mksh: <stdin>[11]: shopt: not found mksh: <stdin>[12]: shopt: not found |
| ksh | 29 shopt -s strict:all [ksh stdout] Expected 'shopt -u strict_arg_parse\nshopt -u strict_argv\n-\nshopt -s strict_arg_parse\nshopt -s strict_argv\n-\nshopt -s strict_arg_parse\nshopt -u strict_argv\n-\n' Got '-\n-\n-\n' stdout: - - -stderr: E: ksh: <stdin>[8]: shopt: inaccessible or not found E: ksh: <stdin>[9]: shopt: inaccessible or not found E: ksh: <stdin>[10]: shopt: inaccessible or not found E: ksh: <stdin>[11]: shopt: inaccessible or not found E: ksh: <stdin>[12]: shopt: inaccessible or not found |
| toysh | 29 shopt -s strict:all [toysh stdout] Expected 'shopt -u strict_arg_parse\nshopt -u strict_argv\n-\nshopt -s strict_arg_parse\nshopt -s strict_argv\n-\nshopt -s strict_arg_parse\nshopt -u strict_argv\n-\n' Got '-\n-\n-\n' stdout: - - -stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory |
| sush | 29 shopt -s strict:all [sush stdout] Expected 'shopt -u strict_arg_parse\nshopt -u strict_argv\n-\nshopt -s strict_arg_parse\nshopt -s strict_argv\n-\nshopt -s strict_arg_parse\nshopt -u strict_argv\n-\n' Got '-\n' [sush status] Expected 0 Got 127 stdout: -stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: syntax error near unexpected token: () /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: syntax error near unexpected token: } /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: show-strict: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 9: shopt: strict:all: not supported yet /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 10: show-strict: command not found /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 11: strict_argv: invalid option name /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 12: show-strict: command not found |
| brush | 29 shopt -s strict:all [brush stdout] Expected 'shopt -u strict_arg_parse\nshopt -u strict_argv\n-\nshopt -s strict_arg_parse\nshopt -s strict_argv\n-\nshopt -s strict_arg_parse\nshopt -u strict_argv\n-\n' Got '-\n-\n-\n' stdout: - - -stderr: shopt: strict:all: invalid shell option name shopt: strict_argv: invalid shell option name |
| dash | 30 shopt allows for backward compatibility like bash stdout: status=0stderr: dash: 3: shopt: not found dash: 8: shopt: not found |
| ash | 30 shopt allows for backward compatibility like bash [ash stdout] Expected 'shopt -u nullglob\nstatus=0\nshopt -s nullglob\n' Got 'status=0\n' stdout: status=0stderr: ash: shopt: not found ash: shopt: not found |
| zsh | 30 shopt allows for backward compatibility like bash [zsh stdout] Expected 'shopt -u nullglob\nstatus=0\nshopt -s nullglob\n' Got 'status=0\n' stdout: status=0stderr: zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 30 shopt allows for backward compatibility like bash stdout: status=0stderr: mksh: <stdin>[3]: shopt: not found mksh: <stdin>[8]: shopt: not found |
| ksh | 30 shopt allows for backward compatibility like bash [ksh stdout] Expected 'shopt -u nullglob\nstatus=0\nshopt -s nullglob\n' Got 'status=0\n' stdout: status=0stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found E: ksh: <stdin>[8]: shopt: inaccessible or not found |
| toysh | 30 shopt allows for backward compatibility like bash [toysh stdout] Expected 'shopt -u nullglob\nstatus=0\nshopt -s nullglob\n' Got 'status=0\n' stdout: status=0stderr: set: bad -o errexit sh: shopt: No such file or directory sh: shopt: No such file or directory |
| sush | 30 shopt allows for backward compatibility like bash [sush stdout] Expected 'shopt -u nullglob\nstatus=0\nshopt -s nullglob\n' Got 'nullglob off\nstatus=0\nnullglob on\n' stdout: nullglob off status=0 nullglob onstderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: errexit: invalid option name |
| bash | 31 shopt -p validates option names stdout: shopt -u nullglob shopt -u failglob status=1 nullglob off failglob off status=1stderr: bash: line 1: shopt: invalid: invalid shell option name bash: line 3: shopt: invalid: invalid shell option name |
| dash | 31 shopt -p validates option names stdout: status=127 status=127stderr: dash: 1: shopt: not found dash: 3: shopt: not found |
| ash | 31 shopt -p validates option names [ash stdout] Expected 'status=2\nstatus=2\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: ash: shopt: not found ash: shopt: not found |
| zsh | 31 shopt -p validates option names [zsh stdout] Expected 'status=2\nstatus=2\n' Got 'status=127\n' [zsh status] Expected 0 Got 1 stdout: status=127stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: read-only variable: status |
| mksh | 31 shopt -p validates option names stdout: status=127 status=127stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[3]: shopt: not found |
| ksh | 31 shopt -p validates option names [ksh stdout] Expected 'status=2\nstatus=2\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[3]: shopt: inaccessible or not found |
| toysh | 31 shopt -p validates option names [toysh stdout] Expected 'status=2\nstatus=2\n' Got 'status=127\nstatus=127\n' stdout: status=127 status=127stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory |
| sush | 31 shopt -p validates option names [sush stdout] Expected 'status=2\nstatus=2\n' Got 'status=1\nstatus=1\n' stdout: status=1 status=1stderr: sush: shopt: nullglob: invalid shell option name shopt: usage: shopt [-su] [optname ...] sush: shopt: nullglob: invalid shell option name shopt: usage: shopt [-su] [optname ...] |
| brush | 31 shopt -p validates option names [brush stdout] Expected 'status=2\nstatus=2\n' Got 'shopt -u nullglob\nshopt -u failglob\nstatus=1\nnullglob off\nfailglob off\nstatus=0\n' stdout: shopt -u nullglob shopt -u failglob status=1 nullglob off failglob off status=0stderr: shopt: invalid: invalid shell option name shopt: invalid: invalid shell option name |
| bash | 32 shopt -p -o validates option names stdout: set +o errexit set +o nounset status=1stderr: bash: line 1: shopt: invalid: invalid option name |
| dash | 32 shopt -p -o validates option names stdout: status=127stderr: dash: 1: shopt: not found |
| ash | 32 shopt -p -o validates option names [ash stdout] Expected 'set +o errexit\nstatus=2\n' Got 'status=127\n' stdout: status=127stderr: ash: shopt: not found |
| zsh | 32 shopt -p -o validates option names [zsh stdout] Expected 'set +o errexit\nstatus=2\n' Got 'status=127\n' stdout: status=127stderr: zsh: command not found: shopt |
| mksh | 32 shopt -p -o validates option names stdout: status=127stderr: mksh: <stdin>[1]: shopt: not found |
| ksh | 32 shopt -p -o validates option names [ksh stdout] Expected 'set +o errexit\nstatus=2\n' Got 'status=127\n' stdout: status=127stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found |
| toysh | 32 shopt -p -o validates option names [toysh stdout] Expected 'set +o errexit\nstatus=2\n' Got 'status=127\n' stdout: status=127stderr: sh: shopt: No such file or directory |
| sush | 32 shopt -p -o validates option names [sush stdout] Expected 'set +o errexit\nstatus=2\n' Got 'status=0\n' stdout: status=0stderr: sush: shopt: errexit: invalid shell option name |
| brush | 32 shopt -p -o validates option names [brush stdout] Expected 'set +o errexit\nstatus=2\n' Got 'set +o errexit\nset +o nounset\nstatus=1\n' stdout: set +o errexit set +o nounset status=1stderr: shopt: invalid: invalid shell option name |
| bash | 33 stubbed out bash options stdout: 1 0 0 0stderr: bash: line 1: shopt: ignore_shopt_not_impl: invalid shell option name bash: line 3: shopt: foo: invalid shell option name |
| dash | 33 stubbed out bash options stdout: 127 127 127 127stderr: dash: 1: shopt: not found dash: 3: shopt: not found dash: 3: shopt: not found dash: 3: shopt: not found dash: 3: shopt: not found |
| ash | 33 stubbed out bash options [ash stdout] Expected '2\n0\n0\n0\n' Got '127\n127\n127\n127\n' stdout: 127 127 127 127stderr: ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found |
| zsh | 33 stubbed out bash options [zsh stdout] Expected '2\n0\n0\n0\n' Got '127\n127\n127\n127\n' stdout: 127 127 127 127stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 33 stubbed out bash options stdout: 127 127 127 127stderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[5]: shopt: not found mksh: <stdin>[5]: shopt: not found mksh: <stdin>[5]: shopt: not found mksh: <stdin>[5]: shopt: not found |
| ksh | 33 stubbed out bash options [ksh stdout] Expected '2\n0\n0\n0\n' Got '127\n127\n127\n127\n' stdout: 127 127 127 127stderr: E: ksh: <stdin>[1]: shopt: inaccessible or not found E: ksh: <stdin>[5]: shopt: inaccessible or not found E: ksh: <stdin>[5]: shopt: inaccessible or not found E: ksh: <stdin>[5]: shopt: inaccessible or not found E: ksh: <stdin>[5]: shopt: inaccessible or not found |
| toysh | 33 stubbed out bash options [toysh stdout] Expected '2\n0\n0\n0\n' Got '127\n127\n127\n127\n' stdout: 127 127 127 127stderr: sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory sh: shopt: No such file or directory |
| sush | 33 stubbed out bash options [sush stdout] Expected '2\n0\n0\n0\n' Got '1\n1\n1\n1\n' stdout: 1 1 1 1stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: shopt: ignore_shopt_not_impl: not supported yet /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: shopt: foo: not supported yet /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: shopt: autocd: not supported yet /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: shopt: cdable_vars: not supported yet /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: shopt: checkwinsize: not supported yet |
| brush | 33 stubbed out bash options [brush stdout] Expected '2\n0\n0\n0\n' Got '1\n0\n0\n0\n' stdout: 1 0 0 0stderr: shopt: ignore_shopt_not_impl: invalid shell option name shopt: foo: invalid shell option name |
| bash | 34 shopt -s nounset works in YSH, not in bash stdout: status=1 nounset offstderr: bash: line 7: shopt: nounset: invalid shell option name |
| dash | 34 shopt -s nounset works in YSH, not in bash stdout: N-Istderr: |
| ash | 34 shopt -s nounset works in YSH, not in bash [ash stdout] Expected 'status=0\nset -o nounset\n' Got 'status=127\nnounset off\n' stdout: status=127 nounset offstderr: ash: shopt: not found |
| zsh | 34 shopt -s nounset works in YSH, not in bash [zsh stdout] Expected 'status=0\nset -o nounset\n' Got 'status=127\nnounset off\n' stdout: status=127 nounset offstderr: zsh: command not found: shopt |
| mksh | 34 shopt -s nounset works in YSH, not in bash stdout: N-Istderr: |
| ksh | 34 shopt -s nounset works in YSH, not in bash [ksh stdout] Expected 'status=0\nset -o nounset\n' Got 'status=127\nbgnice off inherit-xtrace on noclobber off nounset off sh off vi-esccomplete off\n' stdout: status=127 bgnice off inherit-xtrace on noclobber off nounset off sh off vi-esccomplete offstderr: E: ksh: <stdin>[7]: shopt: inaccessible or not found |
| toysh | 34 shopt -s nounset works in YSH, not in bash [toysh stdout] Expected 'status=0\nset -o nounset\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 34 shopt -s nounset works in YSH, not in bash [sush stdout] Expected 'status=0\nset -o nounset\n' Got 'status=1\n' stdout: status=1stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 7: shopt: nounset: not supported yet |
| brush | 34 shopt -s nounset works in YSH, not in bash [brush stdout] Expected 'status=0\nset -o nounset\n' Got 'status=1\nnounset off\n' stdout: status=1 nounset offstderr: shopt: nounset: invalid shell option name |
| bash | 35 Unimplemented options - print, query, set, unset stdout: shopt -u xpg_echo q=1 shopt -s xpg_echo shopt -u xpg_echo p=1 noflag=1 set=1stderr: |
| dash | 35 Unimplemented options - print, query, set, unset stdout: stderr: |
| ash | 35 Unimplemented options - print, query, set, unset [ash stdout] Expected 'q=2\np=2\nnoflag=2\nset=1\n' Got 'q=127\np=127\nnoflag=127\nset=127\n' stdout: q=127 p=127 noflag=127 set=127stderr: ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found |
| zsh | 35 Unimplemented options - print, query, set, unset [zsh stdout] Expected 'q=2\np=2\nnoflag=2\nset=1\n' Got 'q=127\np=127\nnoflag=127\nset=127\n' stdout: q=127 p=127 noflag=127 set=127stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 35 Unimplemented options - print, query, set, unset stdout: stderr: |
| ksh | 35 Unimplemented options - print, query, set, unset [ksh stdout] Expected 'q=2\np=2\nnoflag=2\nset=1\n' Got 'q=127\np=127\nnoflag=127\nset=127\n' stdout: q=127 p=127 noflag=127 set=127stderr: E: ksh: <stdin>[5]: shopt: inaccessible or not found E: ksh: <stdin>[6]: shopt: inaccessible or not found E: ksh: <stdin>[8]: shopt: inaccessible or not found E: ksh: <stdin>[9]: shopt: inaccessible or not found E: ksh: <stdin>[11]: shopt: inaccessible or not found E: ksh: <stdin>[12]: shopt: inaccessible or not found E: ksh: <stdin>[15]: shopt: inaccessible or not found E: ksh: <stdin>[18]: shopt: inaccessible or not found |
| toysh | 35 Unimplemented options - print, query, set, unset [toysh stdout] Expected 'q=2\np=2\nnoflag=2\nset=1\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 35 Unimplemented options - print, query, set, unset [sush stdout] Expected 'q=2\np=2\nnoflag=2\nset=1\n' Got 'xpg_echo off\nq=0\nxpg_echo on\nxpg_echo off\np=0\nnoflag=0\nset=1\n' stdout: xpg_echo off q=0 xpg_echo on xpg_echo off p=0 noflag=0 set=1stderr: sush: shopt: errexit: invalid shell option name |
| brush | 35 Unimplemented options - print, query, set, unset [brush stdout] Expected 'q=2\np=2\nnoflag=2\nset=1\n' Got 'shopt -u xpg_echo\nq=1\nshopt -s xpg_echo\nshopt -u xpg_echo\np=1\nnoflag=1\nset=1\n' stdout: shopt -u xpg_echo q=1 shopt -s xpg_echo shopt -u xpg_echo p=1 noflag=1 set=1stderr: |
| dash | 36 Unimplemented options - OSH shopt -s ignore_shopt_not_impl stdout: stderr: |
| ash | 36 Unimplemented options - OSH shopt -s ignore_shopt_not_impl [ash stdout] Expected 'shopt -u xpg_echo\nq=1\nshopt -s xpg_echo\nshopt -u xpg_echo\np=1\nnoflag=1\nset=1\n' Got 'q=127\np=127\nnoflag=127\nset=127\n' stdout: q=127 p=127 noflag=127 set=127stderr: ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found ash: shopt: not found |
| zsh | 36 Unimplemented options - OSH shopt -s ignore_shopt_not_impl [zsh stdout] Expected 'shopt -u xpg_echo\nq=1\nshopt -s xpg_echo\nshopt -u xpg_echo\np=1\nnoflag=1\nset=1\n' Got 'q=127\np=127\nnoflag=127\nset=127\n' stdout: q=127 p=127 noflag=127 set=127stderr: zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt zsh: command not found: shopt |
| mksh | 36 Unimplemented options - OSH shopt -s ignore_shopt_not_impl stdout: stderr: |
| ksh | 36 Unimplemented options - OSH shopt -s ignore_shopt_not_impl [ksh stdout] Expected 'shopt -u xpg_echo\nq=1\nshopt -s xpg_echo\nshopt -u xpg_echo\np=1\nnoflag=1\nset=1\n' Got 'q=127\np=127\nnoflag=127\nset=127\n' stdout: q=127 p=127 noflag=127 set=127stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found E: ksh: <stdin>[7]: shopt: inaccessible or not found E: ksh: <stdin>[8]: shopt: inaccessible or not found E: ksh: <stdin>[10]: shopt: inaccessible or not found E: ksh: <stdin>[11]: shopt: inaccessible or not found E: ksh: <stdin>[13]: shopt: inaccessible or not found E: ksh: <stdin>[14]: shopt: inaccessible or not found E: ksh: <stdin>[17]: shopt: inaccessible or not found E: ksh: <stdin>[20]: shopt: inaccessible or not found |
| toysh | 36 Unimplemented options - OSH shopt -s ignore_shopt_not_impl [toysh stdout] Expected 'shopt -u xpg_echo\nq=1\nshopt -s xpg_echo\nshopt -u xpg_echo\np=1\nnoflag=1\nset=1\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| sush | 36 Unimplemented options - OSH shopt -s ignore_shopt_not_impl [sush stdout] Expected 'shopt -u xpg_echo\nq=1\nshopt -s xpg_echo\nshopt -u xpg_echo\np=1\nnoflag=1\nset=1\n' Got 'xpg_echo off\nq=0\nxpg_echo on\nxpg_echo off\np=0\nnoflag=0\nset=1\n' stdout: xpg_echo off q=0 xpg_echo on xpg_echo off p=0 noflag=0 set=1stderr: /home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: shopt: ignore_shopt_not_impl: not supported yet sush: shopt: errexit: invalid shell option name |
| dash | 37 shopt -p exit code (regression) stdout: stderr: |
| ash | 37 shopt -p exit code (regression) [ash stdout] Expected 'status=0\n' Got 'status=127\n' stdout: status=127stderr: ash: shopt: not found |
| zsh | 37 shopt -p exit code (regression) [zsh stdout] Expected 'status=0\n' Got 'status=127\n' stdout: status=127stderr: zsh: command not found: shopt |
| mksh | 37 shopt -p exit code (regression) stdout: stderr: |
| ksh | 37 shopt -p exit code (regression) [ksh stdout] Expected 'status=0\n' Got 'status=127\n' stdout: status=127stderr: E: ksh: <stdin>[3]: shopt: inaccessible or not found |
| toysh | 37 shopt -p exit code (regression) [toysh stdout] Expected 'status=0\n' Got '' [toysh status] Expected 0 Got -6 stdout: stderr: munmap_chunk(): invalid pointer |
| bash | 38 no-ops not shown by shopt -p stdout: shopt -u xpg_echo --stderr: |
| toysh | 38 no-ops not shown by shopt -p [toysh stdout] Expected '--\n' Got '\n' stdout: stderr: sh: shopt: No such file or directory |
| sush | 38 no-ops not shown by shopt -p [sush stdout] Expected '--\n' Got 'xpg_echo off\n--\n' stdout: xpg_echo off --stderr: |
| brush | 38 no-ops not shown by shopt -p [brush stdout] Expected '--\n' Got 'shopt -u xpg_echo\n--\n' stdout: shopt -u xpg_echo --stderr: |