From 2fe2c0b02ccadba6a3916e335fd5403c32683bab Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 7 Dec 2003 14:40:54 +0000 Subject: [PATCH] New file + typo correction git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@828 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/scripts/linux_osst_tape_options | 7 +++++++ regress/tests/four-concurrent-jobs-tape | 13 ++++++------- regress/tests/restore-by-file-tape | 6 +++++- 3 files changed, 18 insertions(+), 8 deletions(-) create mode 100644 regress/scripts/linux_osst_tape_options diff --git a/regress/scripts/linux_osst_tape_options b/regress/scripts/linux_osst_tape_options new file mode 100644 index 0000000000..5def0c08cb --- /dev/null +++ b/regress/scripts/linux_osst_tape_options @@ -0,0 +1,7 @@ + Minimum Block Size = 32768 + Maximum Block Size = 32768 + Hardware End of Medium = yes + BSF at EOM = yes + Fast Forward Space File = yes + Two EOF = no + diff --git a/regress/tests/four-concurrent-jobs-tape b/regress/tests/four-concurrent-jobs-tape index d3ede9a780..d082bbfd3c 100755 --- a/regress/tests/four-concurrent-jobs-tape +++ b/regress/tests/four-concurrent-jobs-tape @@ -12,8 +12,8 @@ echo "${cwd}/build" >/tmp/file-list echo " " echo " " -echo " === Starting four-concurent-jobs-tape ===" -echo " === Starting four-concurent-jobs-tape ===" >>working/log +echo " === Starting four-concurrent-jobs-tape ===" +echo " === Starting four-concurrent-jobs-tape ===" >>working/log echo " " #bin/bacula start 2>&1 >/dev/null @@ -44,7 +44,6 @@ messages @output quit END_OF_DATA - bin/bacula stop 2>&1 >/dev/null grep "^Termination: *Backup OK" tmp/log1.out 2>&1 >/dev/null bstat=$? @@ -54,13 +53,13 @@ diff -r build tmp/bacula-restores${cwd}/build 2>&1 >/dev/null if [ $? != 0 -o $bstat != 0 -o $rstat != 0 ] ; then echo " " echo " " - echo " !!!!! four-concurent-jobs-tape Bacula source failed!!! !!!!! " - echo " !!!!! four-concurent-jobs-tape failed!!! !!!!! " >>test.out + echo " !!!!! four-concurrent-jobs-tape Bacula source failed!!! !!!!! " + echo " !!!!! four-concurrent-jobs-tape failed!!! !!!!! " >>test.out echo " " exit 1 else - echo " ===== four-concurent-jobs-tape Bacula source OK ===== " - echo " ===== four-concurent-jobs-tape OK ===== " >>test.out + echo " ===== four-concurrent-jobs-tape Bacula source OK ===== " + echo " ===== four-concurrent-jobs-tape OK ===== " >>test.out scripts/cleanup exit 0 fi diff --git a/regress/tests/restore-by-file-tape b/regress/tests/restore-by-file-tape index 35e0b2e363..b7c9e79ecd 100755 --- a/regress/tests/restore-by-file-tape +++ b/regress/tests/restore-by-file-tape @@ -2,7 +2,9 @@ # # Run a simple backup of the Bacula build directory # to a tape where the maximum tape file size is set to 1M -# then restore a few files from it. +# then restore a few files from it. Note, by setting the maximum +# file size to 1M, it runs very slow. There are about 64 files that +# are created during each of the two backups. # cwd=`pwd` bin/bacula stop 2>&1 >/dev/null @@ -69,6 +71,8 @@ if [ $dstat != 0 -o $bstat != 0 -o $rstat != 0 ] ; then echo " " bin/bacula stop 2>&1 >/dev/null exit 1 +else + echo " First of two restores OK " fi rm -rf ${cwd}/tmp/bacula-restores # -- 2.39.5