[Ocfs2-test-devel] [PATCH 06/59] ocfs2-test: fix multiple_run.sh

Junxiao Bi junxiao.bi at oracle.com
Sun Sep 13 19:43:52 PDT 2015


From: Tiger Yang <tiger.yang at oracle.com>

1. interface eth0
2. output
3. makefile

Signed-off-by: Tiger Yang <tiger.yang at oracle.com>
Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
---
 programs/python_common/Makefile        |    1 +
 programs/python_common/multiple_run.sh |    5 ++---
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/programs/python_common/Makefile b/programs/python_common/Makefile
index 289b1fd..77c37e4 100644
--- a/programs/python_common/Makefile
+++ b/programs/python_common/Makefile
@@ -26,6 +26,7 @@ BIN_EXTRA = 	config_py.skel \
 		o2tf.py \
 		single_run.sh \
 		single_run-WIP.sh \
+		multiple_run.sh \
 		remote_mount.py \
 		remote_umount.py \
 		command.py	\
diff --git a/programs/python_common/multiple_run.sh b/programs/python_common/multiple_run.sh
index 26b66c2..656367d 100755
--- a/programs/python_common/multiple_run.sh
+++ b/programs/python_common/multiple_run.sh
@@ -45,7 +45,7 @@ KERNELSRC=
 
 ACCESS_METHOD="ssh"
 ACCESS_METHOD_ARG=
-INTERFACE=
+INTERFACE="eth0"
 INTERFACE_ARG=
 SLOTS=4
 
@@ -56,7 +56,6 @@ RUN_LOGFILE=
 
 CLUSTERSIZE=
 BLOCKSIZE=
-SLOTS=
 LABELNAME=
 FEATURES=
 JOURNALSIZE=0
@@ -406,7 +405,7 @@ ${DEVICE} ${FEATURES} ${JOURNALSIZE} ${BLOCKS}
 
 	#dd 2G file for testing.
 	LogMsg "dd 2G testfile under mount point."
-	${DD} if=/dev/zero of=${testfile} bs=1024 count=2097152 &>> ${LOGFILE}
+	${DD} if=/dev/zero of=${testfile} bs=1024 count=2097152 >> ${LOGFILE} 2>&1
 	local UUID="`${DEBUGFS_BIN} -R stats ${DEVICE} |grep UUID|cut -d: -f 2`"
 	local LOCK="`${DEBUGFS_BIN} -R 'encode lvb_torture_test_file' ${DEVICE}`"
 
-- 
1.7.9.5




More information about the Ocfs2-test-devel mailing list