Results for tilde.test.sh

statusoshosh_.pyosh_.cc
pass 12118
ok 111
FAIL 014
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 FAIL other user
details
6pass pass pass ${undef:-~}
7pass pass FAIL ${x//~/~root}
details
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 FAIL strict tilde
details
31 passed, 3 OK, 0 not implemented, 0 BUG, 5 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:
osh_.cc5 other user

[osh_.cc stdout] Expected '~nonexistent\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/core_pyos.h:20: Str *pyos::GetHomeDir(Str *): Assertion `0' failed.
osh_.cc7 ${x//~/~root}

[osh_.cc stdout] Expected '/root\n/root\n[/root]\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/core_pyos.h:20: Str *pyos::GetHomeDir(Str *): Assertion `0' failed.
osh11 x=${undef-~:~}

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

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

stdout:
/home/bar:~:~
stderr:
osh_.cc12 strict tilde

[osh_.cc stdout] Expected '~nonexistent\n', got ''
[osh_.cc status] Expected 1, got -6

stdout:
stderr: 
osh_eval.dbg: cpp/core_pyos.h:20: Str *pyos::GetHomeDir(Str *): Assertion `0' failed.