git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@7161
91ce42f0-d328-0410-95d8-
f526ca767f89
{
if test x${USE_VTAPE} = x ; then
echo "$TestName test needs the vtape driver."
- exit 1
+ exit 0
+fi
+}
+
+require_linux()
+{
+os=`uname`
+if [ $os != 'Linux']; then
+ echo "This test $TestName runs only on Linux"
+ exit 0
fi
}
# This script will test next vol algo with
# vtape
#
-
. scripts/functions
-require_vtape
+TestName="next-vol-test"
+JobName=backup
+require_linux
scripts/cleanup
scripts/copy-tape-confs
cp scripts/bacula-dir-vtape.conf bin/bacula-dir.conf
cp scripts/bacula-sd-vtape.conf bin/bacula-sd.conf
-
scripts/prepare-fake-autochanger
-TestName="next-vol-test"
-JobName=backup
start_test
wait
message
list volume
-@# Must choose vol52 <--------- BUG vol50
+@# Must choose vol52
run level=full pool=Test NightlySave yes
wait
message