spec test index / oilshell.org
status | osh | |
FAIL | 9 | |
total | 9 | |
case | osh | description |
0 | FAIL | ... with simple command |
details | ||
1 | FAIL | ... with pipeline |
details | ||
2 | FAIL | ... with multiline $() |
details | ||
3 | FAIL | ... inside command sub $() |
details | ||
4 | FAIL | ... with && and [[ |
details | ||
5 | FAIL | '... for' is allowed, but NOT recommended |
details | ||
6 | FAIL | Blank line in multiline command is syntax error |
details | ||
7 | FAIL | Blank line with spaces and tabs isn't OK either |
details | ||
8 | FAIL | Combine multi-line command and strings |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 9 failed, 0 timeouts, 0 cases skipped 9 failed under osh
osh | 0 ... with simple command [osh stdout] Expected 'hi there\n---\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 ... with pipeline [osh stdout] Expected '2\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 | 2 ... with multiline $() [osh stdout] Expected 'one two\n1\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 ... inside command sub $() [osh stdout] Expected 'one two three four\nfive\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 | 4 ... with && and [[ [osh stdout] Expected 'one\ntwo\nthree\nfour\nfive\n---\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 '... for' is allowed, but NOT recommended [osh stdout] Expected 'foo\nbar\nfoo\nbar\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 Blank line in multiline command is syntax error [osh stdout] Expected 'comment is OK\n', got '' [osh status] Expected 2, 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 Blank line with spaces and tabs isn't OK either [osh stdout] Expected 'comment is OK\n', got '' [osh status] Expected 2, 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 Combine multi-line command and strings [osh stdout] Expected 'FOUR\nTHREE\nTWO\nONE\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_ |