* [LTP] [PATCH] setns01.c: Change TINFO to TCONF since TINFO will not update test results
@ 2021-03-09 4:00 Zhao Gongyi
2021-03-09 11:15 ` Petr Vorel
0 siblings, 1 reply; 2+ messages in thread
From: Zhao Gongyi @ 2021-03-09 4:00 UTC (permalink / raw)
To: ltp
When ns_total < 2 in testcase[3], we need to use TCONF since TINFO will not
update test results, and test will be broken.
Signed-off-by: Zhao Gongyi <zhaogongyi@huawei.com>
---
testcases/kernel/syscalls/setns/setns01.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/setns/setns01.c b/testcases/kernel/syscalls/setns/setns01.c
index b07044060..4578871f6 100644
--- a/testcases/kernel/syscalls/setns/setns01.c
+++ b/testcases/kernel/syscalls/setns/setns01.c
@@ -117,7 +117,7 @@ static void test_setns(unsigned int testno)
t->setup(t, i);
if (t->skip) {
- tst_res(TINFO, "skip %s", t->msg);
+ tst_res(TCONF, "skip %s", t->msg);
continue;
}
--
2.17.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2021-03-09 11:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-03-09 4:00 [LTP] [PATCH] setns01.c: Change TINFO to TCONF since TINFO will not update test results Zhao Gongyi
2021-03-09 11:15 ` Petr Vorel
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox