Results for tilde.test.sh

statusbashdashmkshzshosh
pass 129121113
ok 00021
N-I 13110
BUG 12100
total1414141414
casebashdashmkshzshoshdescription
0pass pass pass pass pass ~ expansion in assignment
1pass BUG pass pass pass ~ expansion in readonly assignment
details
2pass pass pass pass pass No ~ expansion in dynamic assignment
3BUG pass BUG pass pass No tilde expansion in word that looks like assignment but isn't
detailsdetails
4pass pass pass pass pass tilde expansion of word after redirect
5pass pass pass ok pass other user
details
6pass pass pass pass pass ${undef:-~}
7pass N-I pass pass pass ${x//~/~root}
details
8pass pass pass pass pass x=foo:~ has tilde expansion
9pass N-I pass N-I pass a[x]=foo:~ has tilde expansion
detailsdetails
10pass BUG pass pass pass tilde expansion an assignment keyword
details
11pass pass pass pass ok x=${undef-~:~}
details
12N-I N-I N-I ok pass strict tilde
detailsdetailsdetailsdetails
13pass pass pass pass pass temp assignment x=~ env
57 passed, 3 OK, 6 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

dash1 ~ expansion in readonly assignment

stdout:
~/src
stderr:
bash3 No tilde expansion in word that looks like assignment but isn't

stdout:
x=/home/bob
stderr:
mksh3 No tilde expansion in word that looks like assignment but isn't

stdout:
x=/home/bob
stderr:
zsh5 other user

stdout:
stderr: 
zsh: no such user or named directory: nonexistent
dash7 ${x//~/~root}

stdout:
stderr: 
dash: 3: Bad substitution
dash9 a[x]=foo:~ has tilde expansion

stdout:
stderr: 
zsh9 a[x]=foo:~ has tilde expansion

stdout:
stderr: 
dash10 tilde expansion an assignment keyword

stdout:
foo:~
stderr:
osh11 x=${undef-~:~}

stdout:
/home/bar:~:~
stderr:
bash12 strict tilde

stdout:
~nonexistent
~nonexistent
status=0
stderr:
bash: line 3: shopt: strict_tilde: invalid shell option name
dash12 strict tilde

stdout:
~nonexistent
~nonexistent
status=0
stderr:
dash: 3: shopt: not found
mksh12 strict tilde

stdout:
~nonexistent
~nonexistent
status=0
stderr:
mksh: <stdin>[3]: shopt: not found
zsh12 strict tilde

stdout:
stderr: 
zsh: no such user or named directory: nonexistent