do_fork: Propagate error code returned by mcexec
Refs: #731 Change-Id: I7eb52c1c76103d65d108b18b7beaf8041b51cd03
This commit is contained in:
committed by
Dominique Martinet
parent
0758f6254e
commit
1cbe389879
11
test/issues/731/fork08.txt
Normal file
11
test/issues/731/fork08.txt
Normal file
@ -0,0 +1,11 @@
|
||||
fork08 0 TINFO : parent forksval: 1
|
||||
fork08 0 TINFO : parent forksval: 2
|
||||
fork08 0 TINFO : second child got char: b
|
||||
fork08 1 TPASS : Test passed in childnumber 2
|
||||
fork08 0 TINFO : exit status of wait expected 0 got 0
|
||||
fork08 1 TPASS : parent test PASSED
|
||||
fork08 0 TINFO : exit status of wait expected 0 got 0
|
||||
fork08 2 TPASS : parent test PASSED
|
||||
fork08 0 TINFO : exit status of wait expected 0 got 0
|
||||
fork08 3 TPASS : parent test PASSED
|
||||
fork08 0 TINFO : Number of processes forked is 2
|
||||
Reference in New Issue
Block a user