spec test index / oilshell.org
status | ysh | |
FAIL | 5 | |
total | 5 | |
case | ysh | description |
0 | FAIL | ysh usage |
details | ||
1 | FAIL | --debug-file |
details | ||
2 | FAIL | Filename quoting |
details | ||
3 | FAIL | shopt --set verbose_errexit |
details | ||
4 | FAIL | YSH shows options correctly (bug fix) |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 5 failed, 0 timeouts, 0 cases skipped 5 failed under osh
ysh | 0 ysh usage [ysh stdout] Expected '-- foo.hay:42: Unexpected\nline 10\n-- [ stdin ]:11: Unexpected\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 --debug-file [ysh stdout] Expected 'yes\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 Filename quoting [ysh stdout] Expected 'no-quoting:1\n"with spaces.sh":1\nb\'bad \\yff\':1\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 shopt --set verbose_errexit [ysh stdout] Expected ' 3 on.txt\n 0 off.txt\n 3 total\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 YSH shows options correctly (bug fix) [ysh stdout] Expected 'set -o errexit\nset -o pipefail\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_ |