Results for subshell.test.sh

statusoshosh_.pyosh_.cc
pass 220
FAIL 002
total222
caseoshosh_.pyosh_.ccdescription
0pass pass FAIL Subshell exit code
details
1pass pass FAIL Subshell with redirects
details
4 passed, 0 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc0 Subshell exit code

[osh_.cc stdout] Expected '1\n', got '-1\n'

stdout:
-1
stderr:
dumb_alloc:
	gNumNew = 1793
	gNumDelete = 118
	gMemPos = 62176

	gNumMalloc = 60
	gNumFree = 0
	gMemPos2 = 9536
osh_.cc1 Subshell with redirects

[osh_.cc stdout] Expected 'status=0\n1\n2\n3\n4\n5\n', got ''
[osh_.cc status] Expected 0, got -6

stdout:
stderr: 
osh_eval.opt: cpp/posix.h:111: void posix::dup2(int, int): Assertion `0' failed.