supporting no rsync

This commit is contained in:
Thomas Levine 2016-04-07 03:41:33 +00:00
parent 367ae3f2b1
commit e58ae17704
2 changed files with 7 additions and 1 deletions

5
TODO
View File

@ -144,3 +144,8 @@ Update tests to support
* epoch
* Report cycling by default
* New format for reporting cycling
Support systems without rsync

View File

@ -8,6 +8,7 @@ fi
urchin_dir=.urchin-cross-shell-test
rsync --archive -e "ssh ${flags}" $RSYNC_FLAGS \
../urchin ../tests "${hostname}":"${urchin_dir}"
../urchin ../tests "${hostname}":"${urchin_dir}" ||
scp -r ${flags} ../urchin ../tests "${hostname}":"${urchin_dir}"
ssh "${hostname}" ${flags} \
"cd ${urchin_dir} && ./urchin --run-in-series tests"