32 passed, 4 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 5 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 [ stdin ]:5: I/O error applying redirect: 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 [ stdin ]:5: I/O error applying redirect: 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: Var x is unset: 'bc' >walrus echo ${a?bc} ^ [ -c flag ]:1: fatal: Var a is unset: '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: Var x is unset: 'bc' >walrus echo ${a?bc} ^ [ -c flag ]:1: fatal: Var a is unset: 'bc' |
osh | 11 IFS - http://landley.net/notes.html#05-03-2020 [osh stdout] Expected '=one=\n=abc=\n=d f=\n=ghi=\n---\n=one=\n==\n=two=\n' Got '=one=\n=abc=\n=d f=\n=ghi=\n---\n=one=\n=two=\n' stdout: =one= =abc= =d f= =ghi= --- =one= =two=stderr: |
osh-cpp | 11 IFS - http://landley.net/notes.html#05-03-2020 [osh-cpp stdout] Expected '=one=\n=abc=\n=d f=\n=ghi=\n---\n=one=\n==\n=two=\n' Got '=one=\n=abc=\n=d f=\n=ghi=\n---\n=one=\n=two=\n' stdout: =one= =abc= =d f= =ghi= --- =one= =two=stderr: |
osh | 12 IFS=x and '' and unquoted $@ - reduction of case above - copied into spec/word-split [osh stdout] Expected "['one', '', 'two']\n-one-\n--\n-two-\n", got "['one', 'two']\n-one-\n-two-\n" stdout: ['one', 'two'] -one- -two-stderr: setopt SH_WORD_SPLIT ^~~~~~ [ stdin ]:1: 'setopt' not found (OILS-ERR-100) |
osh-cpp | 12 IFS=x and '' and unquoted $@ - reduction of case above - copied into spec/word-split [osh-cpp stdout] Expected "['one', '', 'two']\n-one-\n--\n-two-\n", got "['one', 'two']\n-one-\n-two-\n" stdout: ['one', 'two'] -one- -two-stderr: setopt SH_WORD_SPLIT ^~~~~~ [ stdin ]:1: 'setopt' not found (OILS-ERR-100) |
osh | 15 IFS - http://landley.net/notes.html#15-02-2020 (TODO: osh) [osh stdout] Expected '==\n=abc=\n==\n\n==\n=abc=\n=def=\n==\n', got '==\n=abc=\n==\n\n=abc=\n=def=\n' stdout: == =abc= == =abc= =def=stderr: |
osh-cpp | 15 IFS - http://landley.net/notes.html#15-02-2020 (TODO: osh) [osh-cpp stdout] Expected '==\n=abc=\n==\n\n==\n=abc=\n=def=\n==\n', got '==\n=abc=\n==\n\n=abc=\n=def=\n' stdout: == =abc= == =abc= =def=stderr: |
osh | 16 IFS 2 - copied into spec/word-split [osh stdout] Expected '=x=\n=abc=\n=def=\n==\n', got '=x=\n=abc=\n=def=\n' stdout: =x= =abc= =def=stderr: |
osh-cpp | 16 IFS 2 - copied into spec/word-split [osh-cpp stdout] Expected '=x=\n=abc=\n=def=\n==\n', got '=x=\n=abc=\n=def=\n' stdout: =x= =abc= =def=stderr: |