urchin/cross-os-tests/.run

14 lines
385 B
Plaintext
Raw Normal View History

2016-04-06 19:14:25 -04:00
params="$(basename "${0}")"
2016-04-06 19:18:38 -04:00
hostname="$(echo "${params}" | cut -d\ -f1)"
2016-04-06 19:14:25 -04:00
if echo "${params}" | grep -q \ ; then
2016-04-06 19:21:04 -04:00
flags="$(echo "${params}" | cut -d\ -f2-)"
2016-04-06 19:14:25 -04:00
fi
urchin_dir=.urchin-cross-shell-test
2016-04-04 16:54:22 -04:00
2016-04-06 20:24:06 -04:00
rsync --archive -e "ssh ${flags}" $RSYNC_FLAGS \
2016-04-06 19:18:38 -04:00
../urchin ../tests "${hostname}":"${urchin_dir}"
ssh "${hostname}" ${flags} \
2016-04-06 19:14:25 -04:00
"cd ${urchin_dir} && ./urchin --run-in-series tests"