/home/uke/oil/bin/osh
spec test index / oilshell.org
status | osh | |
FAIL | 13 | |
total | 13 | |
case | osh | description |
0 | FAIL | sh -c |
details | ||
1 | FAIL | empty -c input |
details | ||
2 | FAIL | sh +c is accepted |
details | ||
3 | FAIL | empty stdin |
details | ||
4 | FAIL | shell obeys --help (regression for OSH) |
details | ||
5 | FAIL | args are passed |
details | ||
6 | FAIL | args that look like flags are passed after script |
details | ||
7 | FAIL | args that look like flags are passed after -c |
details | ||
8 | FAIL | exit with explicit arg |
details | ||
9 | FAIL | exit with no args |
details | ||
10 | FAIL | --rcfile in non-interactive shell prints warnings |
details | ||
11 | FAIL | accepts -l flag |
details | ||
12 | FAIL | accepts --login flag (dash and mksh don't accept long flags) |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 13 failed, 0 timeouts, 0 cases skipped 13 failed under osh
osh | 0 sh -c [osh stdout] Expected 'hi\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 1 empty -c input [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 2 sh +c is accepted [osh stdout] Expected 'hi\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 3 empty stdin [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 4 shell obeys --help (regression for OSH) [osh stdout] Expected 'yes\n', got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 5 args are passed [osh stdout] Expected "['a', 'b']\n", got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 6 args that look like flags are passed after script [osh stdout] Expected "['--help', '--help', '-h']\n", got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 7 args that look like flags are passed after -c [osh stdout] Expected "['--help', '-h']\n", got '' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 8 exit with explicit arg [osh status] Expected 42, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 9 exit with no args [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 10 --rcfile in non-interactive shell prints warnings [osh stderr] Expected 'warned=1\nwarned=0\n', got 'Traceback (most recent call last):\n File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module>\n import posix_ as posix\nImportError: No module named posix_\n' [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 11 accepts -l flag [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |
osh | 12 accepts --login flag (dash and mksh don't accept long flags) [osh status] Expected 0, got 1 [osh stderr] Found 'Traceback (most recent' stdout: stderr: Traceback (most recent call last): File "/home/uke/oil/bin/oils_for_unix.py", line 20, in <module> import posix_ as posix ImportError: No module named posix_ |