spec test index / oilshell.org
status | osh | osh_.py | osh_.cc | |
pass | 12 | 12 | 11 | |
ok | 1 | 1 | 1 | |
FAIL | 0 | 0 | 1 | |
total | 13 | 13 | 13 | |
case | osh | osh_.py | osh_.cc | description |
0 | pass | pass | pass | ~ expansion in assignment |
1 | pass | pass | pass | ~ expansion in readonly assignment |
2 | pass | pass | pass | No ~ expansion in dynamic assignment |
3 | pass | pass | pass | No tilde expansion in word that looks like assignment but isn't |
4 | pass | pass | FAIL | tilde expansion of word after redirect |
details | ||||
5 | pass | pass | pass | other user |
6 | pass | pass | pass | ${undef:-~} |
7 | pass | pass | pass | ${x//~/~root} |
8 | pass | pass | pass | x=foo:~ has tilde expansion |
9 | pass | pass | pass | a[x]=foo:~ has tilde expansion |
10 | pass | pass | pass | tilde expansion an assignment keyword |
11 | ok | ok | ok | x=${undef-~:~} |
details | details | details | ||
12 | pass | pass | pass | strict tilde |
35 passed, 3 OK, 0 not implemented, 0 BUG, 1 failed, 0 timeouts, 0 cases skipped
osh_.cc | 4 tilde expansion of word after redirect [osh_.cc stdout] Expected '3\n', got '' [osh_.cc status] Expected 0, got -6 stdout: stderr: osh_eval.opt: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed. |
osh | 11 x=${undef-~:~} stdout: /home/bar:~:~stderr: |
osh_.py | 11 x=${undef-~:~} stdout: /home/bar:~:~stderr: |
osh_.cc | 11 x=${undef-~:~} stdout: /home/bar:~:~stderr: dumb_alloc: gNumNew = 1853 gNumDelete = 137 gMemPos = 64176 gNumMalloc = 107 gNumFree = 0 gMemPos2 = 10896 |