Results for tilde.test.sh

statusoshosh_.pyosh_.cc
pass 121111
ok 111
FAIL 011
total131313
caseoshosh_.pyosh_.ccdescription
0pass pass pass ~ expansion in assignment
1pass pass pass ~ expansion in readonly assignment
2pass pass pass No ~ expansion in dynamic assignment
3pass pass pass No tilde expansion in word that looks like assignment but isn't
4pass FAIL FAIL tilde expansion of word after redirect
detailsdetails
5pass pass pass other user
6pass pass pass ${undef:-~}
7pass pass pass ${x//~/~root}
8pass pass pass x=foo:~ has tilde expansion
9pass pass pass a[x]=foo:~ has tilde expansion
10pass pass pass tilde expansion an assignment keyword
11ok ok ok x=${undef-~:~}
detailsdetailsdetails
12pass pass pass strict tilde
34 passed, 3 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.py4 tilde expansion of word after redirect

[osh_.py stdout] Expected '3\n', got 'hi\n'

stdout:
hi
stderr:
osh_.cc4 tilde expansion of word after redirect

[osh_.cc stdout] Expected '3\n', got 'hi\n'

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

stdout:
/home/bar:~:~
stderr:
osh_.py11 x=${undef-~:~}

stdout:
/home/bar:~:~
stderr:
osh_.cc11 x=${undef-~:~}

stdout:
/home/bar:~:~
stderr: