spec test index / oilshell.org
180 passed, 7 OK, 7 not implemented, 2 BUG, 0 failed, 0 timeouts, 0 cases skipped
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 | 29 (( array1 == array2 )) doesn't work stdout: status=1 status=1 status=1stderr: bash: line 6: ((: 1 3: syntax error in expression (error token is "3") bash: line 9: ((: 1 3: syntax error in expression (error token is "3") bash: line 12: ((: 1 3: syntax error in expression (error token is "3") |
osh | 31 -eq does dynamic arithmetic parsing (not supported in OSH) stdout: stderr: [[ 1+2 -eq 3 ]] && echo true ^ [ stdin ]:1: fatal: Invalid integer constant '1+2' |
osh_ALT | 31 -eq does dynamic arithmetic parsing (not supported in OSH) stdout: stderr: [[ 1+2 -eq 3 ]] && echo true ^ [ stdin ]:1: fatal: Invalid integer constant '1+2' |
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: |