From: Eric Bollengier Date: Wed, 23 Mar 2022 14:52:02 +0000 (+0100) Subject: regress: Fix warning in tests/bscan-plugin-objects-test X-Git-Tag: Release-11.3.2~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a023ba1df1e3c75cac47ff4bcead22851be52983;p=thirdparty%2Fbacula.git regress: Fix warning in tests/bscan-plugin-objects-test --- diff --git a/regress/tests/bscan-plugin-objects-test b/regress/tests/bscan-plugin-objects-test index c16863f2f..c767c59d6 100755 --- a/regress/tests/bscan-plugin-objects-test +++ b/regress/tests/bscan-plugin-objects-test @@ -145,7 +145,7 @@ run_bconsole # Check if there are no duplicates objs_after_bscan=`cat tmp/objs_count_double_bscan | grep '|' | cut -d'|' -f2 | tail -1` -if [ ${objs_after_bscan} -ne ${objs_orig} ]; then +if [ "${objs_after_bscan}" -ne "${objs_orig}" ]; then print_debug "ERROR: Running bscan twice produced some duplicates of plugin objects. \ Original count: ${objs_orig}, after second bscan: ${objs_after_bscan}" bstat=1