/home/uke/oil/bin/osh
spec test index / oilshell.org
status | osh | |
FAIL | 8 | |
total | 8 | |
case | osh | description |
0 | FAIL | history -a |
details | ||
1 | FAIL | history -r |
details | ||
2 | FAIL | HISTFILE is defined initially |
details | ||
3 | FAIL | HISTFILE must point to a file |
details | ||
4 | FAIL | HISTFILE set to array |
details | ||
5 | FAIL | HISTFILE unset |
details | ||
6 | FAIL | history -d to delete history item |
details | ||
7 | FAIL | history usage |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 8 failed, 0 timeouts, 0 cases skipped 8 failed under osh
osh | 0 history -a [osh stdout] Expected '1\nHISTFILE=tmp\necho 1\nhistory -a\n2\nHISTFILE=tmp\necho 1\nhistory -a\n^D\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 history -r [osh stdout] Expected ' 1 HISTFILE=tmp\n 2 history -r\n 3 foo\n 4 history\n^D\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 HISTFILE is defined initially [osh stdout] Expected 'exists\n^D\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 HISTFILE must point to a file [osh stdout] Expected 'status=1\n^D\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 HISTFILE set to array [osh stdout] Expected 'status=1\n^D\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 HISTFILE unset [osh stdout] Expected 'status=1\n^D\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 history -d to delete history item [osh stdout] Expected '42\n43\n44\nstatus=0\nstatus=2\nstatus=2\nstatus=2\n^D\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 history usage [osh stdout] Expected 'status=2\nstatus=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_ |