Results for tilde.test.sh

statusoshosh_.pyosh_.cc
pass 121210
ok 111
FAIL 002
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 pass FAIL tilde expansion of word after redirect
details
5pass pass pass other user
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 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_.cc4 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_.cc7 ${x//~/~root}

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

stdout:
stderr: 
  echo ${x//~/~root}
  ^~~~
[ stdin ]:3: fatal: Error matching regex '(/home/bar)': Invalid locale for LC_CTYPE

dumb_alloc:
	gNumNew = 1796
	gNumDelete = 124
	gMemPos = 62272

	gNumMalloc = 77
	gNumFree = 0
	gMemPos2 = 9664
osh11 x=${undef-~:~}

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

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

stdout:
/home/bar:~:~
stderr:
dumb_alloc:
	gNumNew = 1846
	gNumDelete = 134
	gMemPos = 63888

	gNumMalloc = 107
	gNumFree = 0
	gMemPos2 = 10112