Results for subshell.test.sh

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

Details on runs that didn't PASS

osh_.py1 Subshell with redirects

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

stdout:
status=0
1
4
5
stderr:
  ( env echo 2 ) > b.txt
    ^~~
[ stdin ]:2: 'env' not found
  ( env echo 3; ) > c.txt  # Sentence in LST
    ^~~
[ stdin ]:3: 'env' not found
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.dbg: cpp/posix.h:143: void posix::dup2(int, int): Assertion `0' failed.