[Ocfs2-test-devel] [PATCH 29/59] multiple_runner: fix xattr_test on multiple nodes.
Junxiao Bi
junxiao.bi at oracle.com
Sun Sep 13 19:44:15 PDT 2015
From: Jie Liu <jeff.liu at oracle.com>
Replace access method to SSH, remove ${SUDO} for ${MPIRUN}.
Signed-off-by: Jie Liu <jeff.liu at oracle.com>
Signed-off-by: Junxiao Bi <junxiao.bi at oracle.com>
---
programs/python_common/multiple_run.sh | 2 +-
programs/xattr_tests/xattr-multi-run.sh | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/programs/python_common/multiple_run.sh b/programs/python_common/multiple_run.sh
index 437d336..323d7dc 100755
--- a/programs/python_common/multiple_run.sh
+++ b/programs/python_common/multiple_run.sh
@@ -339,7 +339,7 @@ run_xattr_test()
local logdir=${LOG_DIR}/multi-xattr-test
LogRunMsg "xattr-test"
- ${BINDIR}/xattr-multi-run.sh -r 4 -f ${NODE_LIST} -a rsh -o ${logdir} \
+ ${BINDIR}/xattr-multi-run.sh -r 4 -f ${NODE_LIST} -a ssh -o ${logdir} \
-d ${DEVICE} ${MOUNT_POINT} >> ${LOGFILE} 2>&1
LogRC $?
}
diff --git a/programs/xattr_tests/xattr-multi-run.sh b/programs/xattr_tests/xattr-multi-run.sh
index 98ef0ff..8a113f5 100755
--- a/programs/xattr_tests/xattr-multi-run.sh
+++ b/programs/xattr_tests/xattr-multi-run.sh
@@ -297,7 +297,7 @@ f_runtest()
echo -e "Testing Binary:\t\t${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 20 -n ${namespace} -t ${filetype} -l 50 -s 200 ${WORKPLACE}">>${LOG_FILE}
echo "********${namespace} mode on ${filetype}********">>${LOG_FILE}
- ${SUDO} ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 20 -n ${namespace} -t ${filetype} -l 50 -s 200 ${WORKPLACE}>>${LOG_FILE} 2>&1
+ ${MPIRUN} ${MPI_PLS_AGENT_ARG} ${MPI_MCA_BTL} ${MPI_MCA_BTL_IF} -np ${MPI_RANKS} --host ${MPI_HOSTS} ${XATTR_TEST_BIN} -i 1 -x 20 -n ${namespace} -t ${filetype} -l 50 -s 200 ${WORKPLACE}>>${LOG_FILE} 2>&1
rc=$?
if [ "$rc" != "0" ];then
if [ "$namespace" == "user" -a "$filetype" == "symlink" ]; then
--
1.7.9.5
More information about the Ocfs2-test-devel
mailing list