[Devel] [PATCH 08/10] cr_tests: eventfd: rw: Fixup cgroup path sent to move_to_cgroup

Matt Helsley matthltc at us.ibm.com
Mon Mar 15 16:01:04 PDT 2010


move_to_cgroup is too smart for full paths.

Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
---
 eventfd/run.sh |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/eventfd/run.sh b/eventfd/run.sh
index 910305f..1f29bed 100755
--- a/eventfd/run.sh
+++ b/eventfd/run.sh
@@ -49,7 +49,6 @@ for (( CURTEST = 0; CURTEST < NUMTESTS; CURTEST = CURTEST + 1 )); do
 	T=${TESTS[$CURTEST]}
 	((IMAX = $(../${T} -N)))
 	echo "INFO: Test ${T} does:"
-	../${T} -D | sed -e 's/^/INFO:/'
 	../${T} -L | sed -e 's/^/INFO:/'
 
 	TEST_LABELS=( $(../${T} -L | tail -n '+2' | cut -f 3) )
@@ -57,7 +56,7 @@ for (( CURTEST = 0; CURTEST < NUMTESTS; CURTEST = CURTEST + 1 )); do
 	# First we run the test taking checkpoints at all the labelled points
 	rm -f "./checkpoint-"{ready,done,skip}
 	echo "Running test: \"${T}\""
-	../${T} &
+	../${T} -f `basename $freezerdir` &
 	TEST_PID=$!
 
 	trap 'do_err; break 2' ERR EXIT
-- 
1.6.3.3

_______________________________________________
Containers mailing list
Containers at lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers




More information about the Devel mailing list