]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Tweak store-mngr-leastused-test output
authorEric Bollengier <eric@baculasystems.com>
Wed, 21 Aug 2024 09:15:16 +0000 (11:15 +0200)
committerEric Bollengier <eric@baculasystems.com>
Wed, 4 Dec 2024 08:14:26 +0000 (09:14 +0100)
regress/tests/store-mngr-leastused-test

index 232645f57798bc1af5dfc83a25c85a7c61e5bf36..4133c563de5aaa52b365d5fc4185254b44b58032 100755 (executable)
@@ -158,7 +158,7 @@ stop_bacula
 
 nb=`grep 'was selected out of group of 2 available storages. StorageGroupPolicy "LeastUsed" used' $tmp/log4.out | wc -l`
 if [ $nb != 3 ]; then
-    print_debug "ERROR: Incorrect selection by Pool"
+    print_debug "ERROR: Incorrect selection by Pool in $tmp/log4.out"
     estat=1
 fi
 
@@ -168,7 +168,7 @@ awk '/Storage:/ { tab[$2]++ } END { for (t in tab) { if (tab[t] != 3) { print t
 grep ERROR $tmp/1
 
 if [ $? -eq 0 ]; then
-    print_debug "ERROR: Found incorrect drive sequence"
+    print_debug "ERROR: Found incorrect drive sequence in $tmp/log2.out"
     estat=1
 fi