[LTP] [PATCH] fcntl33: weakup child before exit if fail in parent
Murphy Zhou
xzhou@redhat.com
Tue Apr 30 06:57:46 CEST 2019
Now it failis on overlayfs this way:
fcntl33.c:120: INFO: .... failed on overlapfs as expected: EAGAIN/EWOULDBLOCK
tst_checkpoint.c:149: BROK: fcntl33.c:178: tst_checkpoint_wait(0, 10000): ETIMEDOUT
tst_test.c:357: BROK: Reported by child (12066)
Signed-off-by: Murphy Zhou <xzhou@redhat.com>
---
testcases/kernel/syscalls/fcntl/fcntl33.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/testcases/kernel/syscalls/fcntl/fcntl33.c b/testcases/kernel/syscalls/fcntl/fcntl33.c
index 43dc5a2af..ce27e1006 100644
--- a/testcases/kernel/syscalls/fcntl/fcntl33.c
+++ b/testcases/kernel/syscalls/fcntl/fcntl33.c
@@ -121,6 +121,7 @@ static void do_test(unsigned int i)
} else {
tst_res(TFAIL | TTERRNO, "fcntl() failed to set lease");
}
+ TST_CHECKPOINT_WAKE(0);
goto exit;
}
--
2.21.0
More information about the ltp
mailing list