Skip to contentSkip to conversation

cgroups/cgroup_regression_test: fix test_6 cleanup

PATCH In review Jan Stancek 1 participant 1 message Jul 22, 2011

lore
Share & tools
lore
#0 lore raw

PATCH v3 3/6 cgroups/cgroup_regression_test: fix test_6 cleanup

test may leave groups behind, fix rmdir to match test_6_1.sh

---
  .../controllers/cgroup/cgroup_regression_test.sh   |    2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)
testcases/kernel/controllers/cgroup/cgroup_regression_test.sh +1 -1
index db903d5..1fd3c08 100755
@@ -328,7 +328,7 @@ test_6()
 
 	# clean up
 	mount -t cgroup -o ns xxx cgroup/ > /dev/null 2>&1
-	rmdir cgroup/[1-9] > /dev/null 2>&1
+	rmdir cgroup/[1-9]* > /dev/null 2>&1
 	umount cgroup/
 }
 

------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys, security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/

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