Skip to contentSkip to conversation

setns01.c: Change TINFO to TCONF since TINFO will not update test results

PATCH New Zhao Gongyi 2 participants 2 messages Mar 9, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 setns01.c: Change TINFO to TCONF since TINFO will not update test results

When ns_total < 2 in testcase[3], we need to use TCONF since TINFO will not update test results, and test will be broken.

---
 testcases/kernel/syscalls/setns/setns01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
testcases/kernel/syscalls/setns/setns01.c +1 -1
index b07044060..4578871f6 100644
@@ -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

#1 lore raw

PATCH 1/1 setns01.c: Change TINFO to TCONF since TINFO will not update test results

Hi,

Quoted 2 lines

When ns_total < 2 in testcase[3], we need to use TCONF since TINFO will not update test results, and test will be broken.

Good catch, thanks! Pushed.

Kind regards,
Petr