]> git.ipfire.org Git - thirdparty/bacula.git/commitdiff
regress: Add check with bextract/ZSTD
authorEric Bollengier <eric@baculasystems.com>
Tue, 22 Oct 2024 09:48:35 +0000 (11:48 +0200)
committerEric Bollengier <eric@baculasystems.com>
Mon, 24 Mar 2025 06:59:07 +0000 (07:59 +0100)
regress/tests/zstd-test

index e23d338a6652b974ceb2e45156e2ae9f2dd59b78..32b04e991b40183109c42a9b68ff1d1e65f69722 100755 (executable)
@@ -13,8 +13,8 @@ JobName=zstd
 
 scripts/cleanup
 scripts/copy-test-confs
-echo "${cwd}/build/po/fr.po" >${cwd}/tmp/file-list
-#echo "${cwd}/build" >${cwd}/tmp/file-list
+#echo "${cwd}/build/po/fr.po" >${cwd}/tmp/file-list
+echo "${cwd}/build" >${cwd}/tmp/file-list
 
 if ! grep ZSTD $cwd/build/config.out | grep yes > /dev/null ; then
     print_debug "ERROR: ZSTD not available here"
@@ -61,8 +61,17 @@ run_bacula
 check_for_zombie_jobs storage=File
 stop_bacula
 
+
+mkdir -p $tmp/bextract
+$bin/bextract -V TestVolume001 FileStorage $tmp/bextract
+$rscripts/diff.pl -s $cwd/build -d $tmp/bextract/$cwd/build
+if [ $? != 0 ] ; then
+   print_debug "ERROR: bextract issue"
+   bstat=1
+fi
+
 check_two_logs
-#check_restore_diff
+check_restore_diff
 grep " Software Compression" ${cwd}/tmp/log1.out | grep "%" 2>&1 1>/dev/null
 if [ $? != 0 ] ; then
    echo "  !!!!! No compression !!!!!"