From: Kern Sibbald Date: Thu, 6 Sep 2007 17:14:00 +0000 (+0000) Subject: Update a few tests X-Git-Tag: Release-7.0.0~5729 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4268cc5c4332e5089fa29140ad15ae022f92d617;p=bacula%2Fbacula Update a few tests git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@5481 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/tests/incremental-2tape b/regress/tests/incremental-2tape index 5d94967d04..35b2621c7a 100755 --- a/regress/tests/incremental-2tape +++ b/regress/tests/incremental-2tape @@ -5,6 +5,7 @@ # # This script uses the autochanger and two tapes # +. scripts/functions if test x${AUTOCHANGER} = x/dev/null ; then echo "incremental-2tape test skipped. No autochanger." exit diff --git a/regress/tests/lib-tape-root b/regress/tests/lib-tape-root index 06289cd1d4..c0cec63d76 100755 --- a/regress/tests/lib-tape-root +++ b/regress/tests/lib-tape-root @@ -4,6 +4,7 @@ # then restore it. # cwd=`pwd` +. scripts/functions bin/bacula stop 2>&1 >/dev/null cd bin ./drop_bacula_tables >/dev/null 2>&1 diff --git a/regress/tests/usr-tape-root b/regress/tests/usr-tape-root index 0f5002d928..64d9040c35 100755 --- a/regress/tests/usr-tape-root +++ b/regress/tests/usr-tape-root @@ -4,6 +4,7 @@ # then restore it. # cwd=`pwd` +. scripts/functions scripts/copy-tape-confs scripts/cleanup-tape echo "/usr" >/tmp/file-list