diff --git a/test.sh b/test.sh index ca71c69..1694065 100755 --- a/test.sh +++ b/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