Commit 465c5945 authored by Cyrill Gorcunov's avatar Cyrill Gorcunov Committed by Pavel Emelyanov

zdtm: Make pthread00 to use exit(0)

No need for error code here, we test results
by special bitmap.
Signed-off-by: 's avatarCyrill Gorcunov <gorcunov@openvz.org>
Acked-by: 's avatarAndrew Vagin <avagin@parallels.com>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 20e8eefb
......@@ -64,12 +64,12 @@ static void *ff1(void *map)
if (ret) {
if (IS_STARTED(map, 4)) {
SET_FAILED(map, 4);
exit(4);
exit(0);
}
} else {
if (IS_STARTED(map, 4)) {
SET_PASSED(map, 4);
exit(4);
exit(0);
}
}
sleep(1);
......@@ -127,12 +127,12 @@ static void *f1(void *map)
if (ret) {
if (IS_STARTED(map, 2)) {
SET_FAILED(map, 2);
exit(2);
exit(0);
}
} else {
if (IS_STARTED(map, 2)) {
SET_PASSED(map, 2);
exit(2);
exit(0);
}
}
sleep(1);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment