Should not call cleanup here since nothing was setted by setup.
Signed-off-by: DAN LI <[email protected]>
---
testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c
b/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c
index 1eec0f9..82bc770 100644
--- a/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c
+++ b/testcases/kernel/security/prot_hsymlinks/prot_hsymlinks.c
@@ -196,10 +196,9 @@ static void setup(int argc, char *argv[])
tst_require_root(NULL);
- if (tst_kvercmp(3, 7, 0) < 0) {
- tst_brkm(TCONF, cleanup,
+ if (tst_kvercmp(3, 7, 0) < 0)
+ tst_brkm(TCONF, NULL,
"Test must be run with kernel 3.7 or newer");
- }
/* initialize user names */
strcpy(users[ROOT].name, "root");
--
1.7.11.rc0
------------------------------------------------------------------------------
AlienVault Unified Security Management (USM) platform delivers complete
security visibility with the essential security capabilities. Easily and
efficiently configure, manage, and operate all of your security controls
from a single console and one unified framework. Download a free trial.
http://p.sf.net/sfu/alienvault_d2d
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list