spec test index / oilshell.org
134 passed, 7 OK, 5 not implemented, 3 BUG, 1 failed, 0 timeouts, 0 cases skipped 1 failed under osh
mksh | 4 [[ regex matching stdout: stderr: mksh: <stdin>[2]: syntax error: '=~' unexpected operator/operand |
mksh | 5 [[ regex syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: '=~' unexpected operator/operand |
mksh | 14 Octal literals with -eq stdout: falsestderr: mksh: <stdin>[1]: shopt: not found |
mksh | 15 Hex literals with -eq stdout: falsestderr: mksh: <stdin>[1]: shopt: not found mksh: <stdin>[4]: 0x0f: bad number '0x0f' |
mksh | 20 [[ with op variable (compare with test-builtin.test.sh) stdout: stderr: mksh: <stdin>[2]: syntax error: '$op' unexpected operator/operand |
mksh | 26 Argument that looks like a real operator stdout: stderr: mksh: <stdin>[1]: syntax error: '-f' missing argument |
bash-4 | 29 (( array1 == array2 )) doesn't work stdout: status=1 status=1 status=1stderr: bash-4.4: line 6: ((: 1 3: syntax error in expression (error token is "3") bash-4.4: line 9: ((: 1 3: syntax error in expression (error token is "3") bash-4.4: line 12: ((: 1 3: syntax error in expression (error token is "3") |
mksh | 34 [[ '(' foo ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: 'foo' unexpected operator/operand |
mksh | 36 [[ -z ]] is syntax error stdout: stderr: mksh: <stdin>[2]: syntax error: 'echo' unexpected operator/operand |
mksh | 38 [[ -z '>' a ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: '--' unexpected operator/operand |
mksh | 40 [[ ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: 'newline' unexpected operator/operand |
mksh | 41 [[ && ]] is syntax error stdout: stderr: mksh: <stdin>[1]: syntax error: '&&' expression expected |
mksh | 42 [[ a 3< b ]] doesn't work (bug regression) stdout: status=0 status=1stderr: |
mksh | 45 tilde expansion with =~ (confusing) stdout: stderr: |
mksh | 49 negative numbers - zero, decimal, octal, hex, base N stdout: zero=0 decimal=0 octal=1 hex=2 baseN=2stderr: mksh: <stdin>[7]: -0xff: bad number '0xff' mksh: <stdin>[9]: -64#a: bad number '64#a' |
osh | 49 negative numbers - zero, decimal, octal, hex, base N [osh stdout] Expected 'zero=0\ndecimal=0\noctal=0\nhex=0\nbaseN=0\n', got 'zero=0\ndecimal=0\noctal=1\nhex=0\nbaseN=0\n' stdout: zero=0 decimal=0 octal=1 hex=0 baseN=0stderr: |