spec test index / oilshell.org
104 passed, 6 ok, 8 known unimplemented, 3 known bugs, 2 failed, 0 skipped
dash | 1 Export sets a global variable that persists after export -n stdout: X Xstderr: /bin/dash: 5: export: Illegal option -n |
mksh | 1 Export sets a global variable that persists after export -n stdout: X Xstderr: /bin/mksh: <stdin>[5]: export: -n: unknown option |
dash | 2 export -n undefined is ignored stdout: stderr: /bin/dash: 2: export: Illegal option -n |
mksh | 2 export -n undefined is ignored stdout: stderr: /bin/mksh: <stdin>[2]: export: -n: unknown option |
dash | 11 assign to readonly variable stdout: stderr: /bin/dash: 2: foo: is read only |
bash | 11 assign to readonly variable stdout: status=1stderr: /bin/bash: line 2: foo: readonly variable |
mksh | 11 assign to readonly variable stdout: stderr: /bin/mksh: <stdin>[2]: read-only: foo |
dash | 12 assign to readonly variable - errexit stdout: stderr: /bin/dash: 3: foo: is read only |
mksh | 12 assign to readonly variable - errexit stdout: stderr: /bin/mksh: <stdin>[3]: read-only: foo |
dash | 16 Unset readonly variable stdout: stderr: /bin/dash: 2: unset: R: is read only |
bash | 16 Unset readonly variable stdout: status=1stderr: /bin/bash: line 2: unset: R: cannot unset: readonly variable |
mksh | 16 Unset readonly variable stdout: status=1stderr: /bin/mksh: <stdin>[2]: read-only: R |
dash | 17 Unset a function without -f stdout: foo foostderr: |
mksh | 17 Unset a function without -f stdout: foo foostderr: |
dash | 21 Unset array member stdout: stderr: /bin/dash: 1: Syntax error: "(" unexpected |
osh | 21 Unset array member [osh stdout] Expected 'x z len=2\n', got 'x y z len=3\n' stdout: x y z len=3stderr: |
osh_ALT | 21 Unset array member [osh_ALT stdout] Expected 'x z len=2\n', got 'x y z len=3\n' stdout: x y z len=3stderr: |
dash | 22 Unset array member with expression stdout: stderr: /bin/dash: 2: Syntax error: "(" unexpected |
osh | 22 Unset array member with expression [osh stdout] Expected 'x z len=2\n', got 'w x y z len=4\n' stdout: w x y z len=4stderr: |
osh_ALT | 22 Unset array member with expression [osh_ALT stdout] Expected 'x z len=2\n', got 'w x y z len=4\n' stdout: w x y z len=4stderr: |
dash | 24 Local without variable is still unset! stdout: stderr: /bin/dash: 4: foo: parameter not set |