All of lore.kernel.org
 help / color / mirror / Atom feed
* [LTP] [PATCH 2/6 v3] cgroups/cgroup_regression_test: fix test_5 mount typo
@ 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: 276 bytes --]


test_5 should mount 2 subsystems, but mount command has typo,
it says "$subsys" instead of "$subsys2"

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




[-- Attachment #2: 0002-cgroups-cgroup_regression_test-fix-test_5-mount-typo.patch --]
[-- Type: text/x-patch, Size: 654 bytes --]

diff --git a/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh b/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
index 5615053..db903d5 100755
--- a/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
+++ b/testcases/kernel/controllers/cgroup/cgroup_regression_test.sh
@@ -257,7 +257,7 @@ test_5()
 	subsys1=`tail -n 1 /proc/cgroups | awk '{ print $1 }'`
 	subsys2=`tail -n 2 /proc/cgroups | head -1 | awk '{ print $1 }'`
 
-	mount -t cgroup -o $subsys1,$subsys xxx cgroup/
+	mount -t cgroup -o $subsys1,$subsys2 xxx cgroup/
 	if [ $? -ne 0 ]; then
 		tst_resm TFAIL "mount $subsys1 and $subsys2 failed"
 		failed=1



[-- 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 2/6 v3] cgroups/cgroup_regression_test: fix test_5 mount typo Jan Stancek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.