Skip to contentSkip to conversation

cgroups/cgroup_regression_test: fix test_5 mount typo

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

lore
Share & tools
lore
#0 lore raw

PATCH v3 2/6 cgroups/cgroup_regression_test: fix test_5 mount typo

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

---
  .../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 5615053..db903d5 100755
@@ -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

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