| status | osh | osh-cpp | |
| pass | 5 | 5 | |
| ok | 1 | 1 | |
| BUG | 1 | 1 | |
| total | 7 | 7 | |
| case | osh | osh-cpp | description |
| 0 | ok | ok | 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 | BUG | BUG | cdable_vars: array variable resolves to first element |
| details | details |
10 passed, 2 OK, 0 not implemented, 2 BUG, 0 failed, 0 timeouts, 0 cases skipped
| osh | 0 cdable_vars: resolve variable to path stdout: /tmpstderr: cd TARGET_DIR ^~ [ stdin ]:3: /tmp |
| osh-cpp | 0 cdable_vars: resolve variable to path stdout: /tmpstderr: cd TARGET_DIR ^~ [ stdin ]:3: /tmp |
| osh | 6 cdable_vars: array variable resolves to first element 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 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
|