spec test index / oilshell.org
case | bash | zsh | osh | osh_ALT | osh-byterun | description |
0 | pass | ok | pass | pass | FAIL | pushd/popd |
details | details | |||||
1 | pass | pass | pass | pass | FAIL | dirs builtin |
details | ||||||
2 | pass | pass | pass | pass | FAIL | dirs -c to clear the stack |
details | ||||||
3 | pass | ok | pass | pass | FAIL | dirs -v to print numbered stack, one entry per line |
details | details | |||||
4 | pass | pass | pass | pass | FAIL | dirs -p to print one entry per line |
details | ||||||
5 | pass | pass | pass | pass | FAIL | dirs -l to print in long format, no tilde prefix |
details | ||||||
6 | pass | pass | pass | pass | FAIL | dirs to print using tilde-prefix format |
details | ||||||
7 | pass | pass | pass | pass | FAIL | dirs test converting true home directory to tilde |
details | ||||||
8 | pass | pass | pass | pass | FAIL | dirs don't convert to tilde when $HOME is substring |
details | ||||||
9 | pass | ok | pass | pass | FAIL | dirs tilde test when $HOME is exactly $PWD |
details | details | |||||
10 | pass | pass | pass | pass | FAIL | dirs test of path alias `..` |
details | ||||||
11 | pass | pass | pass | pass | FAIL | dirs test of path alias `.` |
details |
45 passed, 3 ok, 0 known unimplemented, 0 known bugs, 0 failed, 0 skipped
zsh | 0 pushd/popd stdout: pwd=/tmp pwd=/stderr: |
osh-byterun | 0 pushd/popd [osh-byterun stdout] Expected '/tmp /\npwd=/tmp\n/\npwd=/\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 1 dirs builtin [osh-byterun stdout] Expected '/\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 2 dirs -c to clear the stack [osh-byterun stdout] Expected '--\n/tmp /\n--\n/tmp\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 3 dirs -v to print numbered stack, one entry per line stdout: -- 0 /tmp 1 / -- 0 /lib 1 /tmp 2 /stderr: |
osh-byterun | 3 dirs -v to print numbered stack, one entry per line [osh-byterun stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /lib\n 1 /tmp\n 2 /\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 4 dirs -p to print one entry per line [osh-byterun stdout] Expected '--\n/tmp\n/\n--\n/lib\n/tmp\n/\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 5 dirs -l to print in long format, no tilde prefix [osh-byterun stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 6 dirs to print using tilde-prefix format [osh-byterun stdout] Expected '~/oil_test /\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 7 dirs test converting true home directory to tilde [osh-byterun stdout] Expected '~/oil_test/tmp /\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 8 dirs don't convert to tilde when $HOME is substring [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
zsh | 9 dirs tilde test when $HOME is exactly $PWD stdout: ~ /stderr: |
osh-byterun | 9 dirs tilde test when $HOME is exactly $PWD [osh-byterun stdout] Expected '~ /\n~ /\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 10 dirs test of path alias `..` [osh-byterun stdout] Expected '/ /tmp\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |
osh-byterun | 11 dirs test of path alias `.` [osh-byterun stdout] Expected '/tmp /tmp\n', got '' [osh-byterun status] Expected 0, got 1 stdout: stderr: Traceback (most recent call last): File "/home/andy/git/oilshell/oil/bin/opy_.py", line 10, in <module> from frontend import args ImportError: No module named frontend |