spec test index / oilshell.org
| status | osh | osh_.py | osh_.cc | |
| pass | 14 | 14 | 4 | |
| FAIL | 0 | 0 | 10 | |
| total | 14 | 14 | 14 | |
| case | osh | osh_.py | osh_.cc | description |
| 0 | pass | pass | pass | pushd/popd |
| 1 | pass | pass | FAIL | popd usage error |
| details | ||||
| 2 | pass | pass | FAIL | popd returns error on empty directory stack |
| details | ||||
| 3 | pass | pass | pass | dirs builtin |
| 4 | pass | pass | FAIL | dirs -c to clear the stack |
| details | ||||
| 5 | pass | pass | FAIL | dirs -v to print numbered stack, one entry per line |
| details | ||||
| 6 | pass | pass | FAIL | dirs -p to print one entry per line |
| details | ||||
| 7 | pass | pass | FAIL | dirs -l to print in long format, no tilde prefix |
| details | ||||
| 8 | pass | pass | FAIL | dirs to print using tilde-prefix format |
| details | ||||
| 9 | pass | pass | FAIL | dirs test converting true home directory to tilde |
| details | ||||
| 10 | pass | pass | pass | dirs don't convert to tilde when $HOME is substring |
| 11 | pass | pass | pass | dirs tilde test when $HOME is exactly $PWD |
| 12 | pass | pass | FAIL | dirs test of path alias `..` |
| details | ||||
| 13 | pass | pass | FAIL | dirs test of path alias `.` |
| details |
32 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped
| osh_.cc | 1 popd usage error [osh_.cc stdout] Expected 'status=2\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 2 popd returns error on empty directory stack [osh_.cc stdout] Expected '1\ndirectory stack\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:106: Tuple2<int, int> posix::pipe(): Assertion `0' failed. |
| osh_.cc | 4 dirs -c to clear the stack [osh_.cc stdout] Expected '--\n/tmp /\n--\n/tmp\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 5 dirs -v to print numbered stack, one entry per line [osh_.cc stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /dev\n 1 /tmp\n 2 /\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 6 dirs -p to print one entry per line [osh_.cc stdout] Expected '--\n/tmp\n/\n--\n/dev\n/tmp\n/\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 7 dirs -l to print in long format, no tilde prefix [osh_.cc stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 8 dirs to print using tilde-prefix format [osh_.cc stdout] Expected '~/oil_test /\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 9 dirs test converting true home directory to tilde [osh_.cc stdout] Expected '~/oil_test/tmp /\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 12 dirs test of path alias `..` [osh_.cc stdout] Expected '/ /tmp\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
| osh_.cc | 13 dirs test of path alias `.` [osh_.cc stdout] Expected '/tmp /tmp\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |