From 61b3bebf5a0326c8c8d997333ec7a36dae099664 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 21 Oct 2012 10:35:03 +0200 Subject: [PATCH] Add remote regress test script --- regress/rtest | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 regress/rtest 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} <