From df2945c7cd3f6f295ad39d378b63b1c30254097d Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 29 Sep 2006 16:18:24 +0000 Subject: [PATCH] Update git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@3518 91ce42f0-d328-0410-95d8-f526ca767f89 --- regress/tests/backup-bacula-test | 4 ++-- regress/tests/bscan-fast-tape | 28 +++++++++++++++++++------ regress/tests/bscan-tape | 2 +- regress/tests/four-concurrent-jobs-tape | 6 +++--- 4 files changed, 28 insertions(+), 12 deletions(-) diff --git a/regress/tests/backup-bacula-test b/regress/tests/backup-bacula-test index ee60c4b4b6..b6fe557891 100755 --- a/regress/tests/backup-bacula-test +++ b/regress/tests/backup-bacula-test @@ -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 diff --git a/regress/tests/bscan-fast-tape b/regress/tests/bscan-fast-tape index c6d2679bb1..fcb7e921ba 100755 --- a/regress/tests/bscan-fast-tape +++ b/regress/tests/bscan-fast-tape @@ -24,7 +24,7 @@ cat <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 <&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 <tmp/bconcmds @$out /dev/null messages diff --git a/regress/tests/bscan-tape b/regress/tests/bscan-tape index a678206394..7f7e708c1e 100755 --- a/regress/tests/bscan-tape +++ b/regress/tests/bscan-tape @@ -8,7 +8,7 @@ TestName="bscan-tape" JobName=bscantape . scripts/functions -set_debug 1 +set_debug 0 copy_tape_confs diff --git a/regress/tests/four-concurrent-jobs-tape b/regress/tests/four-concurrent-jobs-tape index 86a275ae9d..0d0918f62b 100755 --- a/regress/tests/four-concurrent-jobs-tape +++ b/regress/tests/four-concurrent-jobs-tape @@ -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 -- 2.39.5