From: Kern Sibbald Date: Sun, 21 Oct 2012 08:35:03 +0000 (+0200) Subject: Add remote regress test script X-Git-Tag: Release-7.0.0~89 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=61b3bebf5a0326c8c8d997333ec7a36dae099664;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} <