]> git.sur5r.net Git - bacula/bacula/commitdiff
New file + typo correction
authorKern Sibbald <kern@sibbald.com>
Sun, 7 Dec 2003 14:40:54 +0000 (14:40 +0000)
committerKern Sibbald <kern@sibbald.com>
Sun, 7 Dec 2003 14:40:54 +0000 (14:40 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@828 91ce42f0-d328-0410-95d8-f526ca767f89

regress/scripts/linux_osst_tape_options [new file with mode: 0644]
regress/tests/four-concurrent-jobs-tape
regress/tests/restore-by-file-tape

diff --git a/regress/scripts/linux_osst_tape_options b/regress/scripts/linux_osst_tape_options
new file mode 100644 (file)
index 0000000..5def0c0
--- /dev/null
@@ -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
+
index d3ede9a78063b1e73f4435aaa381273a8b6f73aa..d082bbfd3cb895ef3e7ea7e3830f6f39a3526d14 100755 (executable)
@@ -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
index 35e0b2e3634aa8734ee8240ef40825aaf97e6337..b7c9e79ecdd587003a1806a8a26ad8b867eda0b4 100755 (executable)
@@ -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
 #