Skip to contentSkip to conversation

KSM test case fixes - oom01 and oom03

PATCH Superseded Nageswara R Sastry 1 participant 1 message Sep 6, 2011

v3 of 6 Superseded Latest is v6 →

lore
Share & tools
lore
#0 lore raw

PATCH v3 4/4 KSM test case fixes - oom01 and oom03

Fixed format issues.

Signature · 2 lines
Regards
R.Nageswara Sastry
testcases/kernel/mem/lib/mem.c +3 -0
@@ -139,6 +139,9 @@ void testoom(int mempolicy, int lite, in
 	tst_resm(TINFO, "start OOM testing for mlocked pages.");
 	oom(MLOCK, mempolicy, lite);
 
+	if(access( PATH_KSM, F_OK ) == -1)
+		tst_brkm(TCONF, NULL, "KSM configuration is not enabled");
+
 	tst_resm(TINFO, "start OOM testing for KSM pages.");
 	oom(KSM, mempolicy, lite);
 }

------------------------------------------------------------------------------
Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free "Love Thy Logs" t-shirt when you download Logger. Secure your free ArcSight Logger TODAY!
http://p.sf.net/sfu/arcsisghtdev2dev

_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list