]> git.sur5r.net Git - bacula/bacula/commitdiff
Update
authorKern Sibbald <kern@sibbald.com>
Fri, 29 Sep 2006 16:18:24 +0000 (16:18 +0000)
committerKern Sibbald <kern@sibbald.com>
Fri, 29 Sep 2006 16:18:24 +0000 (16:18 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3518 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/backup-bacula-test
regress/tests/bscan-fast-tape
regress/tests/bscan-tape
regress/tests/four-concurrent-jobs-tape

index ee60c4b4b69b69501f7238f655372319939ffcc0..b6fe5578910f4dae9b127f5fe05e73736bbcad05 100755 (executable)
@@ -6,7 +6,7 @@
 TestName="backup-bacula-test"
 JobName=backup
 . scripts/functions
-set_debug 0
+set_debug 1
 
 scripts/cleanup
 scripts/copy-confs
@@ -54,7 +54,7 @@ quit
 END_OF_DATA
 
 run_bacula
-check_for_zombie_jobs storate=File
+check_for_zombie_jobs storage=File
 stop_bacula
 
 check_two_logs
index c6d2679bb199d5d5302cd37cec3a967f543fb429..fcb7e921bacb608aae6f2bb294844b28c69923d9 100755 (executable)
@@ -24,7 +24,7 @@ cat <<END_OF_DATA >tmp/bconcmds
 @output /dev/null
 messages
 @$out tmp/log1.out
-setdebug level=100 storage=DDS-4
+setdebug level=2 storage=DDS-4
 label storage=DDS-4 volume=TestVolume001 slot=0 pool=Default
 run job=$JobName yes
 wait
@@ -32,9 +32,24 @@ messages
 quit
 END_OF_DATA
 
-run_bacula
-check_for_zombie_jobs storage=DDS-4
-stop_bacula
+echo "Starting Bacula tape writing"
+#bin/btape -c bin/bacula-sd.conf /dev/nst0 <<END_OF_DATA
+#rewind
+#label
+#Test001
+#wr
+#wr
+#wr
+#wr
+#wr
+#wr
+#weof
+#quit
+#END_OF_DATA
+#run_bacula
+#check_for_zombie_jobs storage=DDS-4
+#stop_bacula
+echo "End writing tape"
 
 #
 # now drop and recreate the database
@@ -45,9 +60,10 @@ cd bin
 ./grant_bacula_privileges 2>&1 >/dev/null
 cd ..
 
+echo "Begin attempt to read tape that crashes the system"
 echo "volume=TestVolume001" >tmp/bscan.bsr
-bin/bscan -d200 -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4
-
+strace -o strace.new bin/bscan -d200 -w working -m -s -v -b tmp/bscan.bsr -c bin/bacula-sd.conf DDS-4
+exit
 cat <<END_OF_DATA >tmp/bconcmds
 @$out /dev/null
 messages
index a678206394d05d850de8b9d3b0d58da1d7947bab..7f7e708c1e6d45bf64a9862fbba91f936a8d1fd6 100755 (executable)
@@ -8,7 +8,7 @@
 TestName="bscan-tape"
 JobName=bscantape
 . scripts/functions
-set_debug 1
+set_debug 0
 
 copy_tape_confs
 
index 86a275ae9d740956855cfbe2c639f6cbee67d4cf..0d0918f62b8fd8a74636ddfc80a10abcb0891c7f 100755 (executable)
@@ -1,9 +1,9 @@
 #!/bin/sh
 #
-# Run two jobs at the same time
+# Run four jobs at the same time
 #
-TestName="auto-label-test"
-JobName=AutoLabel
+TestName="four-concurrent-jobs-tape"
+JobName=FourConcurrentJobs
 . scripts/functions
 set_debug 0