status | ysh | |
FAIL | 6 | |
total | 6 | |
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 | ||
5 | FAIL | --tool syntax-tree respects frontend/syntax_abbrev.py |
details |
0 passed, 0 OK, 0 not implemented, 0 BUG, 6 failed, 0 timeouts, 0 cases skipped 6 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_ |
ysh | 5 --tool syntax-tree respects frontend/syntax_abbrev.py [ysh stdout] Expected '(C (w <Lit_Chars echo>) (w (SQ sq)))\n(C\n (w <Lit_Chars echo>)\n (w (DQ <Lit_Chars "hi "> ($ x) <Lit_Chars " "> (${ VSub_Name y)))\n)\n(command.VarDecl\n keyword:<KW_Var var>\n lhs:[(NameType left:<Expr_Name x> name:x)]\n rhs:(expr.Binary op:<Arith_Plus "+"> left:(Const Expr_DecInt _) right:(Var a))\n)\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_ |