a typo fix, forgot NULL in tst_brkm. And seems tst_resm+tst_exit could
be replaced by tst_brkm().
Signed-off-by: Caspar Zhang <[email protected]>
---
testcases/kernel/mem/mbind/mbind01.c | 6 ++----
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/testcases/kernel/mem/mbind/mbind01.c b/testcases/kernel/mem/mbind/mbind01.c
index 9d99873..fc97174 100644
--- a/testcases/kernel/mem/mbind/mbind01.c
+++ b/testcases/kernel/mem/mbind/mbind01.c
@@ -142,13 +142,11 @@ void usage(void)
}
#else /* libnuma v1 */
int main(void) {
- tst_brkm(TCONF, "XXX: test is only supported on libnuma v2.");
- tst_exit();
+ tst_brkm(TCONF, NULL, "XXX: test is only supported on libnuma v2.");
}
#endif
#else /* no NUMA */
int main(void) {
- tst_resm(TCONF, "no NUMA development packages installed.");
- tst_exit();
+ tst_brkm(TCONF, NULL, "no NUMA development packages installed.");
}
#endif
------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network
management toolset available today. Delivers lowest initial
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list