simpler cross-os tests

This commit is contained in:
Thomas Levine 2016-04-04 20:59:21 +00:00
parent 2ee965d2ae
commit 7899657971
1 changed files with 4 additions and 6 deletions

View File

@ -1,7 +1,5 @@
host="${0}"
host="$(basename "${0}")"
urchin_dir=~/urchin
echo "$host"
tmp=$(ssh "${host}" 'mktemp -d')
rsync --archive ../urchin ../tests "${host}:${tmp}"
ssh "${host}" \
"cd ${tmp} && ./urchin -v tests; c=$? && rm -Rf ${tmp} && exit $c"
echo rsync --archive ../urchin ../tests "${host}":"${urchin_dir}"
ssh "${host}" "cd ${urchin_dir} && ./urchin -v tests"