start on cross-os tests

This commit is contained in:
Thomas Levine 2016-04-04 20:54:22 +00:00
parent fdb0b1b3ea
commit 2ee965d2ae
2 changed files with 9 additions and 0 deletions

7
cross-os-tests/.run Executable file
View File

@ -0,0 +1,7 @@
host="${0}"
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"

View File

@ -0,0 +1,2 @@
#!/bin/sh
. ./.run