spec test index / oilshell.org
status | bash | dash | mksh | zsh | osh | |
pass | 11 | 9 | 12 | 11 | 13 | |
ok | 1 | 0 | 0 | 2 | 1 | |
N-I | 1 | 3 | 1 | 1 | 0 | |
BUG | 1 | 2 | 1 | 0 | 0 | |
total | 14 | 14 | 14 | 14 | 14 | |
case | bash | dash | mksh | zsh | osh | description |
0 | pass | pass | pass | pass | pass | ~ expansion in assignment |
1 | pass | BUG | pass | pass | pass | ~ expansion in readonly assignment |
details | ||||||
2 | pass | pass | pass | pass | pass | No ~ expansion in dynamic assignment |
3 | BUG | pass | BUG | pass | pass | No tilde expansion in word that looks like assignment but isn't |
details | details | |||||
4 | pass | pass | pass | pass | pass | tilde expansion of word after redirect |
5 | pass | pass | pass | ok | pass | other user |
details | ||||||
6 | pass | pass | pass | pass | pass | ${undef:-~} |
7 | pass | N-I | pass | pass | pass | ${x//~/~root} |
details | ||||||
8 | pass | pass | pass | pass | pass | x=foo:~ has tilde expansion |
9 | pass | N-I | pass | N-I | pass | a[x]=foo:~ has tilde expansion |
details | details | |||||
10 | pass | BUG | pass | pass | pass | tilde expansion an assignment keyword |
details | ||||||
11 | ok | pass | pass | pass | ok | x=${undef-~:~} |
details | details | |||||
12 | N-I | N-I | N-I | ok | pass | strict tilde |
details | details | details | details | |||
13 | pass | pass | pass | pass | pass | temp assignment x=~ env |
56 passed, 4 OK, 6 not implemented, 4 BUG, 0 failed, 0 timeouts, 0 cases skipped
dash | 1 ~ expansion in readonly assignment stdout: ~/srcstderr: |
bash | 3 No tilde expansion in word that looks like assignment but isn't stdout: x=/home/bobstderr: |
mksh | 3 No tilde expansion in word that looks like assignment but isn't stdout: x=/home/bobstderr: |
zsh | 5 other user stdout: stderr: zsh: no such user or named directory: nonexistent |
dash | 7 ${x//~/~root} stdout: stderr: dash: 3: Bad substitution |
dash | 9 a[x]=foo:~ has tilde expansion stdout: stderr: |
zsh | 9 a[x]=foo:~ has tilde expansion stdout: stderr: |
dash | 10 tilde expansion an assignment keyword stdout: foo:~stderr: |
bash | 11 x=${undef-~:~} stdout: /home/bar:/home/bar:~stderr: |
osh | 11 x=${undef-~:~} stdout: /home/bar:~:~stderr: |
bash | 12 strict tilde stdout: ~nonexistent ~nonexistent status=0stderr: bash: line 3: shopt: strict_tilde: invalid shell option name |
dash | 12 strict tilde stdout: ~nonexistent ~nonexistent status=0stderr: dash: 3: shopt: not found |
mksh | 12 strict tilde stdout: ~nonexistent ~nonexistent status=0stderr: mksh: <stdin>[3]: shopt: not found |
zsh | 12 strict tilde stdout: stderr: zsh: no such user or named directory: nonexistent |