spec test index / oilshell.org
76 passed, 4 OK, 4 not implemented, 0 BUG, 4 failed, 0 timeouts, 0 cases skipped 2 failed under osh
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-cpp | 20 -n for no execution (useful with --ast-output) [osh-cpp 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: |
osh-cpp | 26 noclobber on [osh-cpp stdout] Expected u'0\n1\n', got '0\n0\n' stdout: 0 0stderr: rm: cannot remove '/home/andy/git/oilshell/oil/_tmp/spec-tmp/sh-options.test.sh/26-osh-cpp/no-clobber': No such file or directory |
osh | 28 SHELLOPTS is readonly stdout: stderr: SHELLOPTS=x ^~~~~~~~~~ [ stdin ]:1: fatal: Can't assign to readonly value 'SHELLOPTS' |
osh-cpp | 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-cpp | 29 set - - stdout: a b - a b a b - - - + + - --stderr: |
osh | 33 set without args and array variables (not in OSH) stdout: stderr: |
osh-cpp | 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-cpp | 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. |