spec test index / oilshell.org
108 passed, 6 OK, 6 not implemented, 0 BUG, 12 failed, 0 timeouts, 0 cases skipped 2 failed under osh
osh_.py | 3 $- with interactive shell [osh_.py stdout] Expected 'FALSE\nTRUE\n', got 'FALSE\n' [osh_.py status] Expected 0, got 1 stdout: FALSEstderr: osh fatal error: |
osh_.cc | 3 $- with interactive shell [osh_.cc stdout] Expected 'FALSE\nTRUE\n', got 'FALSE\n' [osh_.cc status] Expected 0, got 1 stdout: FALSEstderr: terminate called after throwing an instance of 'NotImplementedError*' |
osh_.py | 10 vi and emacs are mutually exclusive [osh_.py 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: |
osh_.cc | 10 vi and emacs are mutually exclusive [osh_.cc 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: |
osh_.py | 11 interactive shell starts with emacs mode on [osh_.py stdout] Expected 'non-interactive\n1\n1\ninteractive\n0\n1\n', got 'non-interactive\n1\n1\ninteractive\n' [osh_.py status] Expected 0, got 1 stdout: non-interactive 1 1 interactivestderr: osh fatal error: |
osh_.cc | 11 interactive shell starts with emacs mode on [osh_.cc stdout] Expected 'non-interactive\n1\n1\ninteractive\n0\n1\n', got 'non-interactive\n1\n1\ninteractive\n' [osh_.cc status] Expected 0, got 134 stdout: non-interactive 1 1 interactivestderr: terminate called after throwing an instance of 'NotImplementedError*' |
osh | 20 -n for no execution (useful with --ast-output) [osh stdout] Expected '1\n', got '1\n2\n3\n' stdout: 1 2 3stderr: |
osh_.py | 20 -n for no execution (useful with --ast-output) [osh_.py stdout] Expected '1\n', got '1\n2\n3\n' stdout: 1 2 3stderr: |
osh_.cc | 20 -n for no execution (useful with --ast-output) [osh_.cc stdout] Expected '1\n', got '1\n2\n3\n' stdout: 1 2 3stderr: |
osh | 26 noclobber on [osh stdout] Expected u'0\n1\n', got '0\n0\n' stdout: 0 0stderr: rm: cannot remove '/home/uke/oil/_tmp/spec-tmp/sh-options.test.sh/no-clobber': No such file or directory |
osh_.py | 26 noclobber on [osh_.py stdout] Expected u'0\n1\n', got '0\n0\n' stdout: 0 0stderr: |
osh_.cc | 26 noclobber on [osh_.cc stdout] Expected u'0\n1\n', got '0\n0\n' stdout: 0 0stderr: |
osh | 28 SHELLOPTS is readonly stdout: stderr: SHELLOPTS=x ^~~~~~~~~~ [ stdin ]:1: fatal: Can't assign to readonly value 'SHELLOPTS' |
osh_.py | 28 SHELLOPTS is readonly stdout: stderr: SHELLOPTS=x ^~~~~~~~~~ [ stdin ]:1: fatal: Can't assign to readonly value 'SHELLOPTS' |
osh_.cc | 28 SHELLOPTS is readonly stdout: stderr: SHELLOPTS=x ^~~~~~~~~~ [ stdin ]:1: fatal: Can't assign to readonly value 'SHELLOPTS' |
osh | 29 set - - stdout: a b - a b a b - - - + + - --stderr: |
osh_.py | 29 set - - stdout: a b - a b a b - - - + + - --stderr: |
osh_.cc | 29 set - - stdout: a b - a b a b - - - + + - --stderr: |
osh | 33 set without args and array variables (not in OSH) stdout: stderr: |
osh_.py | 33 set without args and array variables (not in OSH) stdout: stderr: |
osh_.cc | 33 set without args and array variables (not in OSH) stdout: stderr: |
osh | 34 set without args and assoc array variables (not in OSH) stdout: stderr: __assoc[a]=b ^~~~~~~~ [ stdin ]:3: fatal: Associative array keys must be strings: $x 'x' "$x" etc. |
osh_.py | 34 set without args and assoc array variables (not in OSH) stdout: stderr: __assoc[a]=b ^~~~~~~~ [ stdin ]:3: fatal: Associative array keys must be strings: $x 'x' "$x" etc. |
osh_.cc | 34 set without args and assoc array variables (not in OSH) stdout: stderr: __assoc[a]=b ^~~~~~~~ [ stdin ]:3: fatal: Associative array keys must be strings: $x 'x' "$x" etc. |