]> git.sur5r.net Git - bacula/bacula/commitdiff
ebl Tweak the test to use "wait mount" instead of sleep
authorEric Bollengier <eric@eb.homelinux.org>
Wed, 20 May 2009 15:31:05 +0000 (15:31 +0000)
committerEric Bollengier <eric@eb.homelinux.org>
Wed, 20 May 2009 15:31:05 +0000 (15:31 +0000)
git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@8850 91ce42f0-d328-0410-95d8-f526ca767f89

regress/tests/scratchpool-pool-test

index 6a299e43844e95ef4dfa89d0bb3b25ad465c899a..fe720a4c068cfde750cd5f13c616e38f5d5cca6a 100755 (executable)
@@ -58,9 +58,9 @@ messages
 @########################
 @# no more volume in SpecialScratch (but Scrach have one)
 run job=$JobName pool=Special level=Full yes
-@sleep 10
+wait mount
+@sleep 1
 cancel jobid=3
-wait
 messages
 @$out ${cwd}/tmp/log4.out
 list volume pool=Special