From: Kern Sibbald Date: Sun, 21 Oct 2012 08:35:03 +0000 (+0200) Subject: Add remote regress test script X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b76f336abd1852814af129d905519aa7db966b0b;p=bacula%2Fbacula Add remote regress test script --- diff --git a/regress/rtest b/regress/rtest new file mode 100755 index 0000000000..b613b2ff4f --- /dev/null +++ b/regress/rtest @@ -0,0 +1,34 @@ +#!/bin/sh +# +# Run a regression test script on a remote machine +# +# called: rtest +# +# Note: expects remote source to be in the same place +# as defined in regress/config on your calling machine +# Otherwise, you must define BACULA_SOURCE after the +# . ./config + +. ./config + +if test $# != 3 ; then + echo "Called: rtest " + exit 1 +fi + +host=$1 +branch=$2 +run=$3 + +ssh ${host} <