public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
* [LTP] [PATCH 3/6 v3] cgroups/cgroup_regression_test: fix test_6 cleanup
@ 2011-07-22  8:10 Jan Stancek
  0 siblings, 0 replies; only message in thread
From: Jan Stancek @ 2011-07-22  8:10 UTC (permalink / raw)
  To: ltp-list

[-- Attachment #1: Type: text/plain, Size: 235 bytes --]


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

Signed-off-by: Jan Stancek <jstancek@redhat.com>
---
   .../controllers/cgroup/cgroup_regression_test.sh   |    2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)




[-- Attachment #2: 0003-cgroups-cgroup_regression_test-fix-test_6-cleanup.patch --]
[-- Type: text/x-patch, Size: 503 bytes --]

diff --git a/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh b/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
index db903d5..1fd3c08 100755
--- a/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
+++ b/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
@@ -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/
 }
 



[-- Attachment #3: Type: text/plain, Size: 380 bytes --]

------------------------------------------------------------------------------
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/

[-- Attachment #4: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2011-07-22  8:10 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-22  8:10 [LTP] [PATCH 3/6 v3] cgroups/cgroup_regression_test: fix test_6 cleanup Jan Stancek

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox