Results for builtin-dirs.test.sh

statusbashdashashzshmkshkshtoyshsushbrushosh
pass 16001100001616
ok 0004000000
N-I 0100100000
BUG 0001000000
FAIL 0151601516161600
total16161616161616161616
casebashdashashzshmkshkshtoyshsushbrushoshdescription
0pass N-I FAIL ok N-I FAIL FAIL FAIL pass pass pushd/popd
detailsdetailsdetailsdetailsdetailsdetailsdetails
1pass FAIL FAIL ok FAIL FAIL FAIL FAIL pass pass pushd usage
detailsdetailsdetailsdetailsdetailsdetailsdetails
2pass FAIL FAIL BUG FAIL FAIL FAIL FAIL pass pass popd usage error
detailsdetailsdetailsdetailsdetailsdetailsdetails
3pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass popd returns error on empty directory stack
detailsdetailsdetailsdetailsdetailsdetails
4pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass cd replaces the lowest entry on the directory stack!
detailsdetailsdetailsdetailsdetailsdetails
5pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs builtin
detailsdetailsdetailsdetailsdetailsdetails
6pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs -c to clear the stack
detailsdetailsdetailsdetailsdetailsdetails
7pass FAIL FAIL ok FAIL FAIL FAIL FAIL pass pass dirs -v to print numbered stack, one entry per line
detailsdetailsdetailsdetailsdetailsdetailsdetails
8pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs -p to print one entry per line
detailsdetailsdetailsdetailsdetailsdetails
9pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs -l to print in long format, no tilde prefix
detailsdetailsdetailsdetailsdetailsdetails
10pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs to print using tilde-prefix format
detailsdetailsdetailsdetailsdetailsdetails
11pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs test converting true home directory to tilde
detailsdetailsdetailsdetailsdetailsdetails
12pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs don't convert to tilde when $HOME is substring
detailsdetailsdetailsdetailsdetailsdetails
13pass FAIL FAIL ok FAIL FAIL FAIL FAIL pass pass dirs tilde test when $HOME is exactly $PWD
detailsdetailsdetailsdetailsdetailsdetailsdetails
14pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs test of path alias `..`
detailsdetailsdetailsdetailsdetailsdetails
15pass FAIL FAIL pass FAIL FAIL FAIL FAIL pass pass dirs test of path alias `.`
detailsdetailsdetailsdetailsdetailsdetails
59 passed, 4 OK, 2 not implemented, 1 BUG, 94 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash0 pushd/popd

stdout:
stderr: 
dash: 3: pushd: not found
ash0 pushd/popd

[ash stdout] Expected '/tmp /\npwd=/tmp\n/\npwd=/\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
zsh0 pushd/popd

stdout:
pwd=/tmp
pwd=/
stderr:
mksh0 pushd/popd

stdout:
stderr: 
mksh: <stdin>[3]: pushd: not found
ksh0 pushd/popd

[ksh stdout] Expected '/tmp /\npwd=/tmp\n/\npwd=/\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[3]: pushd: inaccessible or not found
toysh0 pushd/popd

[toysh stdout] Expected '/tmp /\npwd=/tmp\n/\npwd=/\n', got 'pwd=/\npwd=/\n'

stdout:
pwd=/
pwd=/
stderr:
set: bad -o errexit
sh: pushd: No such file or directory
sh: popd: No such file or directory
sush0 pushd/popd

[sush stdout] Expected '/tmp /\npwd=/tmp\n/\npwd=/\n', got 'pwd=/\npwd=/\n'

stdout:
pwd=/
pwd=/
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: errexit: invalid option name
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: popd: command not found
dash1 pushd usage

[dash stdout] Expected 'status=2\nstatus=0\nstatus=0\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
dash: 1: pushd: not found
dash: 3: pushd: not found
dash: 5: pushd: not found
ash1 pushd usage

[ash stdout] Expected 'status=2\nstatus=0\nstatus=0\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
ash: pushd: not found
ash: pushd: not found
ash: pushd: not found
zsh1 pushd usage

stdout:
status=1
status=0
status=0
stderr:
pushd: no such file or directory: -z
mksh1 pushd usage

[mksh stdout] Expected 'status=2\nstatus=0\nstatus=0\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
mksh: <stdin>[1]: pushd: not found
mksh: <stdin>[3]: pushd: not found
mksh: <stdin>[5]: pushd: not found
ksh1 pushd usage

[ksh stdout] Expected 'status=2\nstatus=0\nstatus=0\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
E: ksh: <stdin>[1]: pushd: inaccessible or not found
E: ksh: <stdin>[3]: pushd: inaccessible or not found
E: ksh: <stdin>[5]: pushd: inaccessible or not found
toysh1 pushd usage

[toysh stdout] Expected 'status=2\nstatus=0\nstatus=0\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
sh: pushd: No such file or directory
sh: pushd: No such file or directory
sh: pushd: No such file or directory
sush1 pushd usage

[sush stdout] Expected 'status=2\nstatus=0\nstatus=0\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: pushd: command not found
dash2 popd usage error

[dash stdout] Expected 'status=2\nstatus=0\nstatus=2\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
dash: 1: pushd: not found
dash: 2: popd: not found
dash: 5: popd: not found
dash: 8: popd: not found
ash2 popd usage error

[ash stdout] Expected 'status=2\nstatus=0\nstatus=2\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
ash: pushd: not found
ash: popd: not found
ash: popd: not found
ash: popd: not found
zsh2 popd usage error

stdout:
status=0
status=0
status=0
stderr:
mksh2 popd usage error

[mksh stdout] Expected 'status=2\nstatus=0\nstatus=2\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
mksh: <stdin>[1]: pushd: not found
mksh: <stdin>[2]: popd: not found
mksh: <stdin>[5]: popd: not found
mksh: <stdin>[8]: popd: not found
ksh2 popd usage error

[ksh stdout] Expected 'status=2\nstatus=0\nstatus=2\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
E: ksh: <stdin>[1]: pushd: inaccessible or not found
E: ksh: <stdin>[2]: popd: inaccessible or not found
E: ksh: <stdin>[5]: popd: inaccessible or not found
E: ksh: <stdin>[8]: popd: inaccessible or not found
toysh2 popd usage error

[toysh stdout] Expected 'status=2\nstatus=0\nstatus=2\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
sh: pushd: No such file or directory
sh: popd: No such file or directory
sh: popd: No such file or directory
sh: popd: No such file or directory
sush2 popd usage error

[sush stdout] Expected 'status=2\nstatus=0\nstatus=2\n', got 'status=127\nstatus=127\nstatus=127\n'

stdout:
status=127
status=127
status=127
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: popd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: popd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: popd: command not found
dash3 popd returns error on empty directory stack

[dash stdout] Expected '1\ndirectory stack\n', got '127\n'
[dash status] Expected 0, got 1

stdout:
127
stderr:
ash3 popd returns error on empty directory stack

[ash stdout] Expected '1\ndirectory stack\n', got '127\n'
[ash status] Expected 0, got 1

stdout:
127
stderr:
mksh3 popd returns error on empty directory stack

[mksh stdout] Expected '1\ndirectory stack\n', got '127\n'
[mksh status] Expected 0, got 1

stdout:
127
stderr:
ksh3 popd returns error on empty directory stack

[ksh stdout] Expected '1\ndirectory stack\n', got '127\n'
[ksh status] Expected 0, got 1

stdout:
127
stderr:
toysh3 popd returns error on empty directory stack

[toysh stdout] Expected '1\ndirectory stack\n', got '0\n'
[toysh status] Expected 0, got 1

stdout:
0
stderr:
sush3 popd returns error on empty directory stack

[sush stdout] Expected '1\ndirectory stack\n', got '127\n'
[sush status] Expected 0, got 1

stdout:
127
stderr:
dash4 cd replaces the lowest entry on the directory stack!

[dash stdout] Expected 'pushd=0\n/tmp /tmp/oils-spec/builtin-dirs\ncd=0\n/ /tmp/oils-spec/builtin-dirs\npopd=0\npopd=1\n' Got 'pushd=127\ncd=0\npopd=127\npopd=127\n'

stdout:
pushd=127
cd=0
popd=127
popd=127
stderr:
dash: 6: pushd: not found
dash: 9: dirs: not found
dash: 14: dirs: not found
dash: 16: popd: not found
dash: 19: popd: not found
ash4 cd replaces the lowest entry on the directory stack!

[ash stdout] Expected 'pushd=0\n/tmp /tmp/oils-spec/builtin-dirs\ncd=0\n/ /tmp/oils-spec/builtin-dirs\npopd=0\npopd=1\n' Got 'pushd=127\ncd=0\npopd=127\npopd=127\n'

stdout:
pushd=127
cd=0
popd=127
popd=127
stderr:
ash: pushd: not found
ash: dirs: not found
ash: dirs: not found
ash: popd: not found
ash: popd: not found
mksh4 cd replaces the lowest entry on the directory stack!

[mksh stdout] Expected 'pushd=0\n/tmp /tmp/oils-spec/builtin-dirs\ncd=0\n/ /tmp/oils-spec/builtin-dirs\npopd=0\npopd=1\n' Got 'pushd=127\ncd=0\npopd=127\npopd=127\n'

stdout:
pushd=127
cd=0
popd=127
popd=127
stderr:
mksh: <stdin>[6]: pushd: not found
mksh: <stdin>[9]: dirs: not found
mksh: <stdin>[14]: dirs: not found
mksh: <stdin>[16]: popd: not found
mksh: <stdin>[19]: popd: not found
ksh4 cd replaces the lowest entry on the directory stack!

[ksh stdout] Expected 'pushd=0\n/tmp /tmp/oils-spec/builtin-dirs\ncd=0\n/ /tmp/oils-spec/builtin-dirs\npopd=0\npopd=1\n' Got 'pushd=127\ncd=0\npopd=127\npopd=127\n'

stdout:
pushd=127
cd=0
popd=127
popd=127
stderr:
E: ksh: <stdin>[6]: pushd: inaccessible or not found
E: ksh: <stdin>[9]: dirs: inaccessible or not found
E: ksh: <stdin>[14]: dirs: inaccessible or not found
E: ksh: <stdin>[16]: popd: inaccessible or not found
E: ksh: <stdin>[19]: popd: inaccessible or not found
toysh4 cd replaces the lowest entry on the directory stack!

[toysh stdout] Expected 'pushd=0\n/tmp /tmp/oils-spec/builtin-dirs\ncd=0\n/ /tmp/oils-spec/builtin-dirs\npopd=0\npopd=1\n' Got 'pushd=127\ncd=0\npopd=127\npopd=127\n'

stdout:
pushd=127
cd=0
popd=127
popd=127
stderr:
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sh: dirs: No such file or directory
sh: popd: No such file or directory
sh: popd: No such file or directory
sush4 cd replaces the lowest entry on the directory stack!

[sush stdout] Expected 'pushd=0\n/tmp /tmp/oils-spec/builtin-dirs\ncd=0\n/ /tmp/oils-spec/builtin-dirs\npopd=0\npopd=1\n' Got 'pushd=127\ncd=0\npopd=127\npopd=127\n'

stdout:
pushd=127
cd=0
popd=127
popd=127
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 9: dirs: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 14: dirs: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 16: popd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 19: popd: command not found
dash5 dirs builtin

[dash stdout] Expected '/\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 2: dirs: not found
ash5 dirs builtin

[ash stdout] Expected '/\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: dirs: not found
mksh5 dirs builtin

[mksh stdout] Expected '/\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[2]: dirs: not found
ksh5 dirs builtin

[ksh stdout] Expected '/\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[2]: dirs: inaccessible or not found
toysh5 dirs builtin

[toysh stdout] Expected '/\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: dirs: No such file or directory
sush5 dirs builtin

[sush stdout] Expected '/\n', got ''
[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: dirs: command not found
dash6 dirs -c to clear the stack

[dash stdout] Expected '--\n/tmp /\n--\n/tmp\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 3: pushd: not found
ash6 dirs -c to clear the stack

[ash stdout] Expected '--\n/tmp /\n--\n/tmp\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
mksh6 dirs -c to clear the stack

[mksh stdout] Expected '--\n/tmp /\n--\n/tmp\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[3]: pushd: not found
ksh6 dirs -c to clear the stack

[ksh stdout] Expected '--\n/tmp /\n--\n/tmp\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[3]: pushd: inaccessible or not found
toysh6 dirs -c to clear the stack

[toysh stdout] Expected '--\n/tmp /\n--\n/tmp\n', got '\n\n'
[toysh status] Expected 0, got 127

stdout:

stderr:
set: bad -o errexit
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sh: dirs: No such file or directory
sh: dirs: No such file or directory
sush6 dirs -c to clear the stack

[sush stdout] Expected '--\n/tmp /\n--\n/tmp\n', got '--\n--\n'
[sush status] Expected 0, got 127

stdout:
--
--
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: errexit: invalid option name
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: dirs: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: dirs: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: dirs: command not found
dash7 dirs -v to print numbered stack, one entry per line

[dash stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /dev\n 1 /tmp\n 2 /\n' Got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 3: pushd: not found
ash7 dirs -v to print numbered stack, one entry per line

[ash stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /dev\n 1 /tmp\n 2 /\n' Got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
zsh7 dirs -v to print numbered stack, one entry per line

stdout:
--
0	/tmp
1	/
--
0	/dev
1	/tmp
2	/
stderr:
mksh7 dirs -v to print numbered stack, one entry per line

[mksh stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /dev\n 1 /tmp\n 2 /\n' Got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[3]: pushd: not found
ksh7 dirs -v to print numbered stack, one entry per line

[ksh stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /dev\n 1 /tmp\n 2 /\n' Got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[3]: pushd: inaccessible or not found
toysh7 dirs -v to print numbered stack, one entry per line

[toysh stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /dev\n 1 /tmp\n 2 /\n' Got '\n\n'
[toysh status] Expected 0, got 127

stdout:

stderr:
set: bad -o errexit
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush7 dirs -v to print numbered stack, one entry per line

[sush stdout] Expected '--\n 0 /tmp\n 1 /\n--\n 0 /dev\n 1 /tmp\n 2 /\n' Got '--\n--\n'
[sush status] Expected 0, got 127

stdout:
--
--
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: errexit: invalid option name
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: dirs: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: dirs: command not found
dash8 dirs -p to print one entry per line

[dash stdout] Expected '--\n/tmp\n/\n--\n/dev\n/tmp\n/\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 3: pushd: not found
ash8 dirs -p to print one entry per line

[ash stdout] Expected '--\n/tmp\n/\n--\n/dev\n/tmp\n/\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
mksh8 dirs -p to print one entry per line

[mksh stdout] Expected '--\n/tmp\n/\n--\n/dev\n/tmp\n/\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[3]: pushd: not found
ksh8 dirs -p to print one entry per line

[ksh stdout] Expected '--\n/tmp\n/\n--\n/dev\n/tmp\n/\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[3]: pushd: inaccessible or not found
toysh8 dirs -p to print one entry per line

[toysh stdout] Expected '--\n/tmp\n/\n--\n/dev\n/tmp\n/\n', got '\n\n'
[toysh status] Expected 0, got 127

stdout:

stderr:
set: bad -o errexit
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush8 dirs -p to print one entry per line

[sush stdout] Expected '--\n/tmp\n/\n--\n/dev\n/tmp\n/\n', got '--\n--\n'
[sush status] Expected 0, got 127

stdout:
--
--
stderr:
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 1: set: errexit: invalid option name
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: dirs: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 8: dirs: command not found
dash9 dirs -l to print in long format, no tilde prefix

[dash stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 4: pushd: not found
dash: 5: dirs: not found
dash: 6: dirs: not found
ash9 dirs -l to print in long format, no tilde prefix

[ash stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
ash: dirs: not found
ash: dirs: not found
mksh9 dirs -l to print in long format, no tilde prefix

[mksh stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[4]: pushd: not found
mksh: <stdin>[5]: dirs: not found
mksh: <stdin>[6]: dirs: not found
ksh9 dirs -l to print in long format, no tilde prefix

[ksh stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[4]: pushd: inaccessible or not found
E: ksh: <stdin>[5]: dirs: inaccessible or not found
E: ksh: <stdin>[6]: dirs: inaccessible or not found
toysh9 dirs -l to print in long format, no tilde prefix

[toysh stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sh: dirs: No such file or directory
sush9 dirs -l to print in long format, no tilde prefix

[sush stdout] Expected '~/oil_test /\n/tmp/oil_test /\n', got ''
[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: dirs: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: dirs: command not found
dash10 dirs to print using tilde-prefix format

[dash stdout] Expected '~/oil_test /\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 4: pushd: not found
dash: 5: dirs: not found
ash10 dirs to print using tilde-prefix format

[ash stdout] Expected '~/oil_test /\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
ash: dirs: not found
mksh10 dirs to print using tilde-prefix format

[mksh stdout] Expected '~/oil_test /\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[4]: pushd: not found
mksh: <stdin>[5]: dirs: not found
ksh10 dirs to print using tilde-prefix format

[ksh stdout] Expected '~/oil_test /\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[4]: pushd: inaccessible or not found
E: ksh: <stdin>[5]: dirs: inaccessible or not found
toysh10 dirs to print using tilde-prefix format

[toysh stdout] Expected '~/oil_test /\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush10 dirs to print using tilde-prefix format

[sush stdout] Expected '~/oil_test /\n', got ''
[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: dirs: command not found
dash11 dirs test converting true home directory to tilde

[dash stdout] Expected '~/oil_test/tmp /\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 4: pushd: not found
dash: 5: dirs: not found
ash11 dirs test converting true home directory to tilde

[ash stdout] Expected '~/oil_test/tmp /\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
ash: dirs: not found
mksh11 dirs test converting true home directory to tilde

[mksh stdout] Expected '~/oil_test/tmp /\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[4]: pushd: not found
mksh: <stdin>[5]: dirs: not found
ksh11 dirs test converting true home directory to tilde

[ksh stdout] Expected '~/oil_test/tmp /\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[4]: pushd: inaccessible or not found
E: ksh: <stdin>[5]: dirs: inaccessible or not found
toysh11 dirs test converting true home directory to tilde

[toysh stdout] Expected '~/oil_test/tmp /\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush11 dirs test converting true home directory to tilde

[sush stdout] Expected '~/oil_test/tmp /\n', got ''
[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: dirs: command not found
dash12 dirs don't convert to tilde when $HOME is substring

[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 5: pushd: not found
dash: 6: dirs: not found
ash12 dirs don't convert to tilde when $HOME is substring

[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
ash: dirs: not found
mksh12 dirs don't convert to tilde when $HOME is substring

[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[5]: pushd: not found
mksh: <stdin>[6]: dirs: not found
ksh12 dirs don't convert to tilde when $HOME is substring

[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[5]: pushd: inaccessible or not found
E: ksh: <stdin>[6]: dirs: inaccessible or not found
toysh12 dirs don't convert to tilde when $HOME is substring

[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush12 dirs don't convert to tilde when $HOME is substring

[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 6: dirs: command not found
dash13 dirs tilde test when $HOME is exactly $PWD

[dash stdout] Expected '~ /\n~ /\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 4: pushd: not found
dash: 5: dirs: not found
ash13 dirs tilde test when $HOME is exactly $PWD

[ash stdout] Expected '~ /\n~ /\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
ash: dirs: not found
zsh13 dirs tilde test when $HOME is exactly $PWD

stdout:
~ /
stderr:
mksh13 dirs tilde test when $HOME is exactly $PWD

[mksh stdout] Expected '~ /\n~ /\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[4]: pushd: not found
mksh: <stdin>[5]: dirs: not found
ksh13 dirs tilde test when $HOME is exactly $PWD

[ksh stdout] Expected '~ /\n~ /\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[4]: pushd: inaccessible or not found
E: ksh: <stdin>[5]: dirs: inaccessible or not found
toysh13 dirs tilde test when $HOME is exactly $PWD

[toysh stdout] Expected '~ /\n~ /\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush13 dirs tilde test when $HOME is exactly $PWD

[sush stdout] Expected '~ /\n~ /\n', got ''
[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 4: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 5: dirs: command not found
dash14 dirs test of path alias `..`

[dash stdout] Expected '/ /tmp\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 2: pushd: not found
dash: 3: dirs: not found
ash14 dirs test of path alias `..`

[ash stdout] Expected '/ /tmp\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
ash: dirs: not found
mksh14 dirs test of path alias `..`

[mksh stdout] Expected '/ /tmp\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[2]: pushd: not found
mksh: <stdin>[3]: dirs: not found
ksh14 dirs test of path alias `..`

[ksh stdout] Expected '/ /tmp\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[2]: pushd: inaccessible or not found
E: ksh: <stdin>[3]: dirs: inaccessible or not found
toysh14 dirs test of path alias `..`

[toysh stdout] Expected '/ /tmp\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush14 dirs test of path alias `..`

[sush stdout] Expected '/ /tmp\n', got ''
[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: dirs: command not found
dash15 dirs test of path alias `.`

[dash stdout] Expected '/tmp /tmp\n', got ''
[dash status] Expected 0, got 127

stdout:
stderr: 
dash: 2: pushd: not found
dash: 3: dirs: not found
ash15 dirs test of path alias `.`

[ash stdout] Expected '/tmp /tmp\n', got ''
[ash status] Expected 0, got 127

stdout:
stderr: 
ash: pushd: not found
ash: dirs: not found
mksh15 dirs test of path alias `.`

[mksh stdout] Expected '/tmp /tmp\n', got ''
[mksh status] Expected 0, got 127

stdout:
stderr: 
mksh: <stdin>[2]: pushd: not found
mksh: <stdin>[3]: dirs: not found
ksh15 dirs test of path alias `.`

[ksh stdout] Expected '/tmp /tmp\n', got ''
[ksh status] Expected 0, got 127

stdout:
stderr: 
E: ksh: <stdin>[2]: pushd: inaccessible or not found
E: ksh: <stdin>[3]: dirs: inaccessible or not found
toysh15 dirs test of path alias `.`

[toysh stdout] Expected '/tmp /tmp\n', got ''
[toysh status] Expected 0, got 127

stdout:
stderr: 
sh: pushd: No such file or directory
sh: dirs: No such file or directory
sush15 dirs test of path alias `.`

[sush stdout] Expected '/tmp /tmp\n', got ''
[sush status] Expected 0, got 127

stdout:
stderr: 
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 2: pushd: command not found
/home/andy/git/oils-for-unix/oils/../../shells/rusty_bash/target/release/sush: line 3: dirs: command not found