simpler cross-os tests
This commit is contained in:
parent
2ee965d2ae
commit
7899657971
@ -1,7 +1,5 @@
|
|||||||
host="${0}"
|
host="$(basename "${0}")"
|
||||||
|
urchin_dir=~/urchin
|
||||||
|
|
||||||
echo "$host"
|
echo rsync --archive ../urchin ../tests "${host}":"${urchin_dir}"
|
||||||
tmp=$(ssh "${host}" 'mktemp -d')
|
ssh "${host}" "cd ${urchin_dir} && ./urchin -v tests"
|
||||||
rsync --archive ../urchin ../tests "${host}:${tmp}"
|
|
||||||
ssh "${host}" \
|
|
||||||
"cd ${tmp} && ./urchin -v tests; c=$? && rm -Rf ${tmp} && exit $c"
|
|
||||||
|
Loading…
Reference in New Issue
Block a user