containers: fixed libclone/libclone.c
PATCH 1/1 containers: fixed libclone/libclone.c
* fixed issue in do_plain_tests() function, where "return" was used in child instead of "exit(3)" which caused that child executed code from parent
Signed-off-by Matus Marhefka <[email protected]>
--- testcases/kernel/containers/libclone/libclone.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/containers/libclone/libclone.c +1 -1
@@ -97,7 +97,7 @@ int do_plain_tests(int (*fn1) (void *arg), void *arg1,return -1 ; }if (pid ==0 ) -return fn1 (arg1); +exit (fn1 (arg1));if (fn2) ret =fn2 (arg2);return ret;
Signature · 11 lines
1.8.3.1 ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list
Hi!
Quoted 3 lines
* fixed issue in
do_plain_tests()function, where "return" was used in child instead of "exit(3)" which caused that child executed code from parent
Pushed, thanks.
Signature · 11 lines
Cyril Hrubis [email protected] ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ Ltp-list mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/ltp-list