Commit 68923c97 authored by Andrey Vagin's avatar Andrey Vagin Committed by Pavel Emelyanov

test: a static test should do nothing after test_daemon()

Reported-by: Mr Jenkins
Signed-off-by: 's avatarAndrey Vagin <avagin@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 644c7659
......@@ -36,14 +36,14 @@ int main(int argc, char **argv)
if (fd3 == -1)
return 1;
test_daemon();
pid = test_fork();
if (pid == -1)
return 1;
else if (pid) {
fcntl(fd2, F_SETFD, 1);
test_daemon();
test_waitsig();
off = lseek(fd, OFFSET, SEEK_SET);
if (off == (off_t) -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