spec test index / oilshell.org
109 passed, 9 ok, 4 known unimplemented, 0 known bugs, 1 failed, 0 skipped
mksh | 4 [[ regex matching stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand |
mksh | 5 [[ regex syntax error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '=~' unexpected operator/operand |
mksh | 14 Octal literals with -eq stdout: falsestderr: |
mksh | 15 Hex literals with -eq stdout: falsestderr: _tmp/spec-bin/mksh: <stdin>[3]: 0x0f: bad number '0x0f' |
bash | 18 -eq on strings stdout: true truestderr: |
mksh | 18 -eq on strings stdout: true truestderr: |
mksh | 20 [[ with op variable (compare with test-builtin.test.sh) stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: syntax error: '$op' unexpected operator/operand |
mksh | 26 Argument that looks like a real operator stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '-f' missing argument |
osh | 30 -eq with arithmetic expression! [osh stdout] Expected 'true\ntrue\n', got '' [osh status] Expected 0, got 1 stdout: stderr: osh warning: Invalid integer constant '1+2' osh warning: Invalid integer constant '1+2' |
mksh | 33 [[ '(' foo ]] is syntax error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'foo' unexpected operator/operand |
mksh | 35 [[ -z ]] is syntax error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[2]: syntax error: 'echo' unexpected operator/operand |
mksh | 37 [[ -z '>' a ]] is syntax error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '--' unexpected operator/operand |
mksh | 39 [[ ]] is syntax error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: 'newline' unexpected operator/operand |
mksh | 40 [[ && ]] is syntax error stdout: stderr: _tmp/spec-bin/mksh: <stdin>[1]: syntax error: '&&' expression expected |