* [LTP] [PATCH] syscalls/clone09.c: Fix typo
@ 2017-07-20 7:17 Guangwen Feng
2017-07-20 12:15 ` Cyril Hrubis
0 siblings, 1 reply; 2+ messages in thread
From: Guangwen Feng @ 2017-07-20 7:17 UTC (permalink / raw)
To: ltp
Signed-off-by: Guangwen Feng <fenggw-fnst@cn.fujitsu.com>
---
testcases/kernel/syscalls/clone/clone09.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/clone/clone09.c b/testcases/kernel/syscalls/clone/clone09.c
index 870c225..629e6c4 100644
--- a/testcases/kernel/syscalls/clone/clone09.c
+++ b/testcases/kernel/syscalls/clone/clone09.c
@@ -56,7 +56,7 @@ static long clone_child(void)
{
TEST(ltp_clone(flags, newnet, NULL, CHILD_STACK_SIZE, child_stack));
- if (TEST_RETURN == -1 && TTERRNO == EINVAL)
+ if (TEST_RETURN == -1 && TEST_ERRNO == EINVAL)
tst_brk(TCONF, "CLONE_NEWNET not supported, CONFIG_NET_NS?");
if (TEST_RETURN == -1)
--
2.9.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [LTP] [PATCH] syscalls/clone09.c: Fix typo
2017-07-20 7:17 [LTP] [PATCH] syscalls/clone09.c: Fix typo Guangwen Feng
@ 2017-07-20 12:15 ` Cyril Hrubis
0 siblings, 0 replies; 2+ messages in thread
From: Cyril Hrubis @ 2017-07-20 12:15 UTC (permalink / raw)
To: ltp
Hi!
Good catch, pushed, thanks.
--
Cyril Hrubis
chrubis@suse.cz
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2017-07-20 12:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-20 7:17 [LTP] [PATCH] syscalls/clone09.c: Fix typo Guangwen Feng
2017-07-20 12:15 ` Cyril Hrubis
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox