From: Kern Sibbald Date: Thu, 22 May 2003 17:06:01 +0000 (+0000) Subject: Add two volume test X-Git-Tag: Release-1.31~123 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=18719fef8bb3ba6c760593f74e63d58ebda77d02;p=bacula%2Fbacula Add two volume test git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@533 91ce42f0-d328-0410-95d8-f526ca767f89 --- diff --git a/regress/all-non-root-tests b/regress/all-non-root-tests index 29e226aab5..21b32098c4 100755 --- a/regress/all-non-root-tests +++ b/regress/all-non-root-tests @@ -10,6 +10,7 @@ tests/compressed-test tests/sparse-compressed-test tests/wierd-files-test tests/two-jobs-test +tests/two-vol-test echo " " echo " " echo "Test results" diff --git a/regress/tests/two-vol-test b/regress/tests/two-vol-test new file mode 100755 index 0000000000..2192c86dae --- /dev/null +++ b/regress/tests/two-vol-test @@ -0,0 +1,59 @@ +#!/bin/sh +# +# Run a simple backup of the Bacula build directory but +# split the archive into two volumes +# +cwd=`pwd` +scripts/copy-test-confs +rm -rf tmp/TestVolume001 tmp/TestVolume002 tmp/bacula-restores +echo "${cwd}/build" >/tmp/file-list +bin/bacula stop 2>&1 >/dev/null +bin/drop_sqlite_tables +bin/make_sqlite_tables + +echo " " +echo " " +echo " === Starting two-vol-test ===" +echo " " + +bin/bacula start +bin/console -c bin/console.conf <>test.out + echo " " +else + echo " ===== two-vol-test Bacula source OK ===== " + echo " ===== two-vol-test OK ===== " >>test.out + rm -rf tmp/bacula-restores tmp/TestVolume001 tmp/TestVolume002 +fi