16 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped 10 failed under osh
| osh | 2 Idiom to handle purity errors from untrusted config files [osh stdout] Expected '', got "TODO: what's the idiom?\n" stdout: TODO: what's the idiom?stderr: |
| osh_ALT | 2 Idiom to handle purity errors from untrusted config files [osh_ALT stdout] Expected '', got "TODO: what's the idiom?\n" stdout: TODO: what's the idiom?stderr: |
| osh | 9 Redirects [osh stdout] Expected 'TODO\n', got "removed 'out.txt'\n" stdout: removed 'out.txt'stderr: |
| osh_ALT | 9 Redirects [osh_ALT stdout] Expected 'TODO\n', got "removed 'out.txt'\n" stdout: removed 'out.txt'stderr: |
| osh | 10 Are any builtins allowed? true, false [osh status] Expected 0, got 1 stdout: true builtin true command truestderr: builtin false
^~~~~~~
[ stdin ]:13: errexit PID 8132: Command failed with status 1
|
| osh_ALT | 10 Are any builtins allowed? true, false [osh_ALT status] Expected 0, got 1 stdout: true builtin true command truestderr: builtin false
^~~~~~~
[ stdin ]:13: errexit PID 8135: Command failed with status 1
|
| osh | 11 Are source or use builtins allowed? [osh status] Expected 0, got 127 stdout: stderr: source foo.ysh
^~~~~~
[ stdin ]:5: Command 'source' not found in pure mode (OILS-ERR-102)
[ stdin ]:5: errexit PID 8136: Command failed with status 127
|
| osh_ALT | 11 Are source or use builtins allowed? [osh_ALT status] Expected 0, got 127 stdout: stderr: source foo.ysh
^~~~~~
[ stdin ]:5: Command 'source' not found in pure mode (OILS-ERR-102)
[ stdin ]:5: errexit PID 8139: Command failed with status 127
|
| osh | 12 Can log to stderr in pure mode [osh status] Expected 0, got 127 stdout: stderr: log "hi $name"
^~~
[ stdin ]:7: Command 'log' not found (OILS-ERR-100)
[ stdin ]:7: errexit PID 8140: Command failed with status 127
|
| osh_ALT | 12 Can log to stderr in pure mode [osh_ALT status] Expected 0, got 127 stdout: stderr: log "hi $name"
^~~
[ stdin ]:7: Command 'log' not found (OILS-ERR-100)
[ stdin ]:7: errexit PID 8143: Command failed with status 127
|
| osh | 13 io and vm are not allowed [osh stdout] Expected '', got '<Frame 0x7f058781fe10>\n(Int) 139661725006576\n<Stdin>\n<Frame 0x7f058781f870>\n(Int) 139661725005936\n<Stdin>\n' stdout: <Frame 0x7f058781fe10> (Int) 139661725006576 <Stdin> <Frame 0x7f058781f870> (Int) 139661725005936 <Stdin>stderr: |
| osh_ALT | 13 io and vm are not allowed [osh_ALT stdout] Expected '', got '<Frame 0x7ff7e3bdfe88>\n(Int) 140702654529160\n<Stdin>\n<Frame 0x7ff7e3bdff08>\n(Int) 140702654529288\n<Stdin>\n' stdout: <Frame 0x7ff7e3bdfe88> (Int) 140702654529160 <Stdin> <Frame 0x7ff7e3bdff08> (Int) 140702654529288 <Stdin>stderr: |
| osh | 14 Can't make an alias of io->eval and call it, etc. [osh stdout] Expected '', got 'hi\n' stdout: histderr: |
| osh_ALT | 14 Can't make an alias of io->eval and call it, etc. [osh_ALT stdout] Expected '', got 'hi\n' stdout: histderr: |
| osh | 15 Globbing not allowed [osh stdout] Expected '', got '*.txt\n' [osh status] Expected 0, got 127 stdout: *.txtstderr: echo *.txt
^~~~
[ stdin ]:2: Command 'echo' not found in pure mode (OILS-ERR-102)
|
| osh_ALT | 15 Globbing not allowed [osh_ALT stdout] Expected '', got '*.txt\n' [osh_ALT status] Expected 0, got 127 stdout: *.txtstderr: echo *.txt
^~~~
[ stdin ]:2: Command 'echo' not found in pure mode (OILS-ERR-102)
|
| osh | 16 $RANDOM $SECONDS [osh status] Expected 0, got 1 stdout: stderr: echo not-implemented=$RANDOM
^~~~~~~
[ stdin ]:4: fatal: Undefined variable 'RANDOM'
|
| osh_ALT | 16 $RANDOM $SECONDS [osh_ALT status] Expected 0, got 1 stdout: stderr: echo not-implemented=$RANDOM
^~~~~~~
[ stdin ]:4: fatal: Undefined variable 'RANDOM'
|
| osh | 17 Purely-evaluated code can't set traps for later [osh status] Expected 0, got 127 stdout: stderr: trap 'echo INT' INT
^~~~
[ stdin ]:2: Command 'trap' not found in pure mode (OILS-ERR-102)
|
| osh_ALT | 17 Purely-evaluated code can't set traps for later [osh_ALT status] Expected 0, got 127 stdout: stderr: trap 'echo INT' INT
^~~~
[ stdin ]:2: Command 'trap' not found in pure mode (OILS-ERR-102)
|