From: Eric Bollengier Date: Tue, 22 Oct 2024 09:48:35 +0000 (+0200) Subject: regress: Add check with bextract/ZSTD X-Git-Tag: Release-15.0.3~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=833c7a74093d1f8b11cf02401a563a29d247cf4f;p=thirdparty%2Fbacula.git regress: Add check with bextract/ZSTD --- diff --git a/regress/tests/zstd-test b/regress/tests/zstd-test index e23d338a6..32b04e991 100755 --- a/regress/tests/zstd-test +++ b/regress/tests/zstd-test @@ -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 !!!!!"