[Devel] [PATCH 05/11] cr_tests: Fixup run.sh to use the same variable expansion convention.

Matt Helsley matthltc at us.ibm.com
Wed Aug 19 21:58:08 PDT 2009


Signed-off-by: Matt Helsley <matthltc at us.ibm.com>
Cc: containers at lists.linux-foundation.org
---
 futex/run.sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/futex/run.sh b/futex/run.sh
index 305f9d1..e54c228 100755
--- a/futex/run.sh
+++ b/futex/run.sh
@@ -51,7 +51,7 @@ while [ $CURTEST -lt $NUMTESTS ]; do
 		sleep 1
 	done
 	freeze
-	ckpt $TEST_PID > checkpoint-$T
+	ckpt ${TEST_PID} > checkpoint-${T}
 	thaw
 	touch "./checkpoint-done"
 	wait ${TEST_PID}
@@ -69,7 +69,7 @@ while [ $CURTEST -lt $NUMTESTS ]; do
 	fi
 
 	# now try restarting
-	$MKTREE -p --copy-status < checkpoint-$T
+	${MKTREE} -p --copy-status < checkpoint-${T}
 	retval=$?
 	echo "Restart of test ${T} done, returned $retval"
 	if [ $retval -ne 0 ]; then
-- 
1.5.6.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