spec test index / oilshell.org
34 passed, 4 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 3 failed under osh
osh | 1 setting readonly var (bash is only one where it's non-fatal) stdout: stderr: abc=def ^~~~ [ stdin ]:2: fatal: Can't assign to readonly value 'abc' |
osh-cpp | 1 setting readonly var (bash is only one where it's non-fatal) stdout: stderr: abc=def ^~~~ [ stdin ]:2: fatal: Can't assign to readonly value 'abc' |
osh | 2 readonly with temp binding stdout: one status=0 hellostderr: echo potato < /does/not/exist || echo hello ^ [ stdin ]:5: Can't open '/does/not/exist': No such file or directory |
osh-cpp | 2 readonly with temp binding stdout: one status=0 hellostderr: echo potato < /does/not/exist || echo hello ^ [ stdin ]:5: Can't open '/does/not/exist': No such file or directory |
osh | 4 Evaluation order of redirect and ${undef?error} [osh stdout] Expected 'exists1\n', got 'exists1\nexists2\n' stdout: exists1 exists2stderr: rm: cannot remove '_tmp': Is a directory X=${x?bc} > walrus ^ [ -c flag ]:1: fatal: unset variable 'bc' >walrus echo ${a?bc} ^ [ -c flag ]:1: fatal: unset variable 'bc' |
osh-cpp | 4 Evaluation order of redirect and ${undef?error} [osh-cpp stdout] Expected 'exists1\n', got 'exists1\nexists2\n' stdout: exists1 exists2stderr: rm: cannot remove '_tmp': Is a directory X=${x?bc} > walrus ^ [ -c flag ]:1: fatal: unset variable 'bc' >walrus echo ${a?bc} ^ [ -c flag ]:1: fatal: unset variable 'bc' |
osh | 14 IFS - http://landley.net/notes.html#15-02-2020 (TODO: osh) [osh stdout] Expected '==\n=abc=\n==\n==\n=abc=\n=def=\n==\n', got '==\n=abc=\n==\n=abc=\n=def=\n' stdout: == =abc= == =abc= =def=stderr: |
osh-cpp | 14 IFS - http://landley.net/notes.html#15-02-2020 (TODO: osh) [osh-cpp stdout] Expected '==\n=abc=\n==\n==\n=abc=\n=def=\n==\n', got '==\n=abc=\n==\n=abc=\n=def=\n' stdout: == =abc= == =abc= =def=stderr: |
osh | 15 IFS 2 (TODO: osh) [osh stdout] Expected '=x=\n=abc=\n=def=\n==\n', got '=x=\n=abc=\n=def=\n' stdout: =x= =abc= =def=stderr: this one appears different between osh and bash ^~~~ [ stdin ]:1: 'this' not found |
osh-cpp | 15 IFS 2 (TODO: osh) [osh-cpp stdout] Expected '=x=\n=abc=\n=def=\n==\n', got '=x=\n=abc=\n=def=\n' stdout: =x= =abc= =def=stderr: this one appears different between osh and bash ^~~~ [ stdin ]:1: 'this' not found |