| status | osh | osh-cpp | |
| pass | 5 | 5 | |
| FAIL | 2 | 2 | |
| total | 7 | 7 | |
| case | osh | osh-cpp | description |
| 0 | FAIL | FAIL | cdable_vars: resolve variable to path |
| details | details | ||
| 1 | pass | pass | cdable_vars: fails when shopt is off |
| 2 | pass | pass | cdable_vars: normal path still works when cdable_vars is set |
| 3 | pass | pass | cdable_vars: path takes priority over variable with same name |
| 4 | pass | pass | cdable_vars: fails if variable points to a file not a directory |
| 5 | pass | pass | cdable_vars: fails if variable is unset |
| 6 | FAIL | FAIL | cdable_vars: array variable resolves to first element |
| details | details |
10 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped 2 failed under osh
| osh | 0 cdable_vars: resolve variable to path [osh stdout] Expected '/tmp\n/tmp\n' Got '/tmp\n' stdout: /tmpstderr: cd TARGET_DIR ^~ [ stdin ]:3: /tmp |
| osh-cpp | 0 cdable_vars: resolve variable to path [osh-cpp stdout] Expected '/tmp\n/tmp\n' Got '/tmp\n' stdout: /tmpstderr: cd TARGET_DIR ^~ [ stdin ]:3: /tmp |
| osh | 6 cdable_vars: array variable resolves to first element [osh status] Expected 0 Got 1 stdout: stderr: cd TARGET_DIR
^~~~~~~~~~
[ stdin ]:3: cd '/home/uke/oil/_tmp/spec-tmp/cdable-vars.test.sh/06-osh/TARGET_DIR': No such file or directory
|
| osh-cpp | 6 cdable_vars: array variable resolves to first element [osh-cpp status] Expected 0 Got 1 stdout: stderr: cd TARGET_DIR
^~~~~~~~~~
[ stdin ]:3: cd '/home/uke/oil/_tmp/spec-tmp/cdable-vars.test.sh/06-osh-cpp/TARGET_DIR': No such file or directory
|