Update test.sh
This commit is contained in:
5
test.sh
5
test.sh
@@ -30,10 +30,11 @@ for rcheck in "${REPL_CHECK[@]}"; do
|
||||
daterun=`date +%Y-%m-%d-%H-%M-%S`
|
||||
if [ "${NCMD}" = "" ]; then
|
||||
echo -e "iDS-Node${nid} (${nip})\n${daterun}" > ${FOLDER}/test.repl
|
||||
yes | cp -rfH ${FOLDER}/test.repl ${REPL_CHECKS[${rcheck}]}/test.repl
|
||||
else
|
||||
${NCMD} 'echo -e "iDS-Node${nid} (${nip})\n${daterun}" > ${FOLDER}/test.repl'
|
||||
yes | ${NCMD} 'cp -rfH ${FOLDER}/test.repl ${REPL_CHECKS[${rcheck}]}/test.repl'
|
||||
fi
|
||||
yes | ${NCMD} cp -rfH ${FOLDER}/test.repl ${REPL_CHECKS[${rcheck}]}/test.repl
|
||||
echo "${FOLDER}/test.repl"
|
||||
${NCMD} cat ${FOLDER}/test.repl
|
||||
${NCMD} 'cat ${FOLDER}/test.repl'
|
||||
done
|
||||
|
||||
Reference in New Issue
Block a user