spec test index / oilshell.org
status | ysh | |
FAIL | 5 | |
total | 5 | |
case | ysh | description |
0 | FAIL | _this_dir in main and oshrc |
details | ||
1 | FAIL | _this_dir not set on stdin |
details | ||
2 | FAIL | _this_dir in sourced module |
details | ||
3 | FAIL | _this_dir not affected by 'cd' |
details | ||
4 | FAIL | _this_dir used with relative path |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 5 failed under osh
ysh | 0 _this_dir in main and oshrc [ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\ninteractive\nhi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\n-c\n' Got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 1 _this_dir not set on stdin [ysh stdout] Expected 'not yet\n', got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 2 _this_dir in sourced module [ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\n' Got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 3 _this_dir not affected by 'cd' [ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\n' Got '' [ysh status] Expected 0, got 1 [ysh 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_ |
ysh | 4 _this_dir used with relative path [ysh stdout] Expected 'hi from this_dir.ysh\n$_this_dir = REPLACED/oil/spec/testdata/module\n' Got '' [ysh status] Expected 0, got 1 [ysh 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_ |