Results for builtin-dirs.test.sh

statusoshosh_.pyosh_.cc
pass 14144
FAIL 0010
total141414
caseoshosh_.pyosh_.ccdescription
0pass pass pass pushd/popd
1pass pass FAIL popd usage error
details
2pass pass FAIL popd returns error on empty directory stack
details
3pass pass pass dirs builtin
4pass pass FAIL dirs -c to clear the stack
details
5pass pass FAIL dirs -v to print numbered stack, one entry per line
details
6pass pass FAIL dirs -p to print one entry per line
details
7pass pass FAIL dirs -l to print in long format, no tilde prefix
details
8pass pass FAIL dirs to print using tilde-prefix format
details
9pass pass FAIL dirs test converting true home directory to tilde
details
10pass pass pass dirs don't convert to tilde when $HOME is substring
11pass pass pass dirs tilde test when $HOME is exactly $PWD
12pass pass FAIL dirs test of path alias `..`
details
13pass pass FAIL dirs test of path alias `.`
details
32 passed, 0 OK, 0 not implemented, 0 BUG, 10 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc1 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc2 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:74: Tuple2<int, int> posix::pipe(): Assertion `0' failed.
osh_.cc4 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc5 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc6 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc7 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc8 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc9 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc12 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:111: void posix::dup2(int, int): Assertion `0' failed.
osh_.cc13 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:111: void posix::dup2(int, int): Assertion `0' failed.