3 # Run a regression test script on a remote machine
5 # called: rtest <machine> <branch> <test-script>
7 # Note: expects remote source to be in the same place
8 # as defined in regress/config on your calling machine
9 # Otherwise, you must define BACULA_SOURCE after the
14 if test $# != 3 ; then
15 echo "Called: rtest <machine> <branch> <test-script>"
25 # remove any modified version.h
26 git checkout src/version.h
27 git checkout ${branch}
33 scp ${host}:${BACULA_SOURCE}/../regress/test.out rtest.out