Results for command-parsing.test.sh

statusoshosh_.pyosh_.cc
pass 221
ok 332
FAIL 002
total555
caseoshosh_.pyosh_.ccdescription
0pass pass pass Prefix env on assignment
1pass pass FAIL Redirect on assignment (enabled 7/2019)
details
2ok ok ok Prefix env on control flow
detailsdetailsdetails
3ok ok ok Redirect on control flow (ignored in OSH)
detailsdetailsdetails
4ok ok FAIL Redirect on control flow with oil:all (parse_ignored)
detailsdetailsdetails
5 passed, 8 OK, 0 not implemented, 0 BUG, 2 failed, 0 timeouts, 0 cases skipped

Details on runs that didn't PASS

osh_.cc1 Redirect on assignment (enabled 7/2019)

[osh_.cc stdout] Expected 'REDIRECTED\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.
osh2 Prefix env on control flow

stdout:
stderr: 
    E=env break
    ^~
[ stdin ]:3: Control flow shouldn't have environment bindings
osh_.py2 Prefix env on control flow

stdout:
stderr: 
    E=env break
    ^~
[ stdin ]:3: Control flow shouldn't have environment bindings
osh_.cc2 Prefix env on control flow

stdout:
stderr: 
    E=env break
    ^~
[ stdin ]:3: Control flow shouldn't have environment bindings

dumb_alloc:
	gNumNew = 1742
	gNumDelete = 118
	gMemPos = 61136

	gNumMalloc = 39
	gNumFree = 0
	gMemPos2 = 9216
osh3 Redirect on control flow (ignored in OSH)

stdout:
NO
stderr:
osh_.py3 Redirect on control flow (ignored in OSH)

stdout:
NO
stderr:
osh_.cc3 Redirect on control flow (ignored in OSH)

stdout:
NO
stderr:
dumb_alloc:
	gNumNew = 2331
	gNumDelete = 208
	gMemPos = 77424

	gNumMalloc = 230
	gNumFree = 0
	gMemPos2 = 12304
osh4 Redirect on control flow with oil:all (parse_ignored)

stdout:
stderr: 
    break > _tmp/r.txt
    ^~~~~
[ stdin ]:4: Control flow shouldn't have redirects
osh_.py4 Redirect on control flow with oil:all (parse_ignored)

stdout:
stderr: 
    break > _tmp/r.txt
    ^~~~~
[ stdin ]:4: Control flow shouldn't have redirects
osh_.cc4 Redirect on control flow with oil:all (parse_ignored)

[osh_.cc status] Expected 2, got 1

stdout:
stderr: 
  rm -f _tmp/r.txt
  ^~
[ stdin ]:2: fatal: Exiting with status -1 (command in PID 28518)

dumb_alloc:
	gNumNew = 1952
	gNumDelete = 166
	gMemPos = 67088

	gNumMalloc = 100
	gNumFree = 0
	gMemPos2 = 10208