From 45d301044e2870000a3d03ce13b6f3fa35aa1406 Mon Sep 17 00:00:00 2001 From: David Schroeder Date: Thu, 7 Feb 2019 11:45:11 -0600 Subject: [PATCH] Update test.sh --- test.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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