spec test index / oilshell.org
status | dash | bash | mksh | zsh | osh | osh_ALT | |
pass | 8 | 10 | 11 | 10 | 12 | 12 | |
ok | 0 | 1 | 0 | 2 | 1 | 1 | |
N-I | 3 | 1 | 1 | 1 | 0 | 0 | |
BUG | 2 | 1 | 1 | 0 | 0 | 0 | |
total | 13 | 13 | 13 | 13 | 13 | 13 | |
case | dash | bash | mksh | zsh | osh | osh_ALT | description |
0 | pass | pass | pass | pass | pass | pass | ~ expansion in assignment |
1 | BUG | pass | pass | pass | pass | pass | ~ expansion in readonly assignment |
details | |||||||
2 | pass | pass | pass | pass | pass | pass | No ~ expansion in dynamic assignment |
3 | pass | BUG | BUG | pass | pass | pass | No tilde expansion in word that looks like assignment but isn't |
details | details | ||||||
4 | pass | pass | pass | pass | pass | pass | tilde expansion of word after redirect |
5 | pass | pass | pass | ok | pass | pass | other user |
details | |||||||
6 | pass | pass | pass | pass | pass | pass | ${undef:-~} |
7 | N-I | pass | pass | pass | pass | pass | ${x//~/~root} |
details | |||||||
8 | pass | pass | pass | pass | pass | pass | x=foo:~ has tilde expansion |
9 | N-I | pass | pass | N-I | pass | pass | a[x]=foo:~ has tilde expansion |
details | details | ||||||
10 | BUG | pass | pass | pass | pass | pass | tilde expansion an assignment keyword |
details | |||||||
11 | pass | ok | pass | pass | ok | ok | x=${undef-~:~} |
details | details | details | |||||
12 | N-I | N-I | N-I | ok | pass | pass | strict tilde |
details | details | details | details |
63 passed, 5 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: |
osh_ALT | 11 x=${undef-~:~} stdout: /home/bar:~:~stderr: |
dash | 12 strict tilde stdout: ~nonexistent ~nonexistent status=0stderr: dash: 3: shopt: not found |
bash | 12 strict tilde stdout: ~nonexistent ~nonexistent status=0stderr: bash: line 3: shopt: strict_tilde: invalid shell option name |
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 |