Signed-off-by: Tang Chen <[email protected]>
---
testcases/kernel/syscalls/flock/flock04.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/testcases/kernel/syscalls/flock/flock04.c
b/testcases/kernel/syscalls/flock/flock04.c
index cd6b230..a3bc855 100644
--- a/testcases/kernel/syscalls/flock/flock04.c
+++ b/testcases/kernel/syscalls/flock/flock04.c
@@ -123,7 +123,7 @@ int main(int argc, char **argv)
exit(0);
} else
if (wait(&status) == -1)
- tst_brkm(TBROK|TERRNO, "wait failed");
+ tst_brkm(TBROK|TERRNO, cleanup, "wait failed");
pid = FORK_OR_VFORK();
if (pid == -1)
@@ -144,7 +144,7 @@ int main(int argc, char **argv)
exit(0);
} else
if (wait(&status) == -1)
- tst_brkm(TBROK|TERRNO, "wait failed");
+ tst_brkm(TBROK|TERRNO, cleanup, "wait failed");
TEST(flock(fd, LOCK_UN));
} else
tst_resm(TFAIL|TERRNO, "flock failed");
--
1.7.0.4
--
Best Regards,
Tang chen
--------------------------------------------------
Tang Chen
Development Dept.I
Nanjing Fujitsu Nanda Software Tech. Co., Ltd.(FNST)
No.6 Wenzhu Road, Nanjing, 210012, China
TEL: +86+25-86630566-8513
FUJITSU INTERNAL: 7998-8513
FAX: +86+25-83317685
EMail: [email protected]
--------------------------------------------------
This communication is for use by the intended recipient(s) only and may contain
information that is privileged, confidential and exempt from disclosure under
applicable law. If you are not an intended recipient of this communication, you
are hereby notified that any dissemination, distribution or copying hereof is
strictly prohibited. If you have received this communication in error, please
notify me by reply e-mail, permanently delete this communication from your
system, and destroy any hard copies you may have printed
------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and,
should the need arise, upgrade to a full multi-node Oracle RAC database
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list