From: Cyril H. <su...@li...> - 2013-05-21 03:21:08
|
The branch, master, has been updated via 4140aa4db2866fc0a1cc9451f1284338fe971dba (commit) from 775572079317a1349daa4f044b93d6459e19df8d (commit) - Log ----------------------------------------------------------------- commit 4140aa4db2866fc0a1cc9451f1284338fe971dba Author: DAN LI <li...@cn...> Date: Thu May 16 14:08:37 2013 +0800 prot_hsymlinks.c: remove the unnecessary calling of cleanup Should not call cleanup here since nothing was setted by setup. Signed-off-by: DAN LI <li...@cn...> Signed-off-by: Wanlong Gao <gao...@cn...> ----------------------------------------------------------------------- Summary of changes: .../security/prot_hsymlinks/prot_hsymlinks.c | 5 ++--- 1 files 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"); hooks/post-receive -- ltp |