]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: fix exclude-dir-test
authorMichal Rakowski <michal.rakowski@baculasystems.com>
Tue, 23 Nov 2021 14:44:35 +0000 (15:44 +0100)
committerEric Bollengier <eric@baculasystems.com>
Thu, 14 Sep 2023 11:56:56 +0000 (13:56 +0200)
regress/tests/exclude-dir-test

index d8432d3cb23c7e859c59278dd42f4bd02533d346..f4e0fdd04497b5e2a5bb1fc208a7f58c7171b7a7 100755 (executable)
@@ -77,7 +77,7 @@ check_two_logs
 rm -rf ${cwd}/build/src/xxtestdir
 check_restore_diff
 
-grep '/xxtestdir' $tmp/log3.out > /dev/null
+grep 'Skipping ignored directory /xxtestdir' $tmp/log3.out > /dev/null
 if [ $? = 0 ]; then
     print_debug "ERROR: Should not see xxtestdir in estimate output"
     bstat=2
@@ -91,13 +91,13 @@ if [ $nb != 2 ]; then
     bstat=2
 fi
 
-grep $rscripts $tmp/log3.out > /dev/null
+grep 'Skipping ignored directory $rscripts' $tmp/log3.out > /dev/null
 if [ $? = 0 ]; then
     print_debug "ERROR: Should not $rscripts in estimate output"
     bstat=2
 fi
 
-grep $conf $tmp/log3.out > /dev/null
+grep 'Skipping ignored directory $conf' $tmp/log3.out > /dev/null
 if [ $? = 0 ]; then
     print_debug "ERROR: Should not $conf in estimate output"
     bstat=2