From: Alain Spineux Date: Fri, 3 Jun 2022 10:00:45 +0000 (+0200) Subject: regress:: fix custom option in simple-test X-Git-Tag: Beta-15.0.0~557 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5ec8782c9551ce98c6066e29213a95093035c1eb;p=thirdparty%2Fbacula.git regress:: fix custom option in simple-test --- diff --git a/regress/tests/simple-test b/regress/tests/simple-test index 02c0268eb..7b520bb88 100755 --- a/regress/tests/simple-test +++ b/regress/tests/simple-test @@ -17,7 +17,7 @@ scripts/cleanup scripts/copy-test-confs echo "${cwd}/build" >${cwd}/tmp/file-list -if [ -n $CUSTOM ] ; then +if [ -n "$CUSTOM" ] ; then dd if=/dev/urandom of=$tmp/random-data bs=1M count=10 echo "$tmp/random-data" >${cwd}/tmp/file-list fi @@ -50,5 +50,5 @@ run_bacula check_for_zombie_jobs storage=File stop_bacula check_two_logs -[ -n $CUSTOM ] || check_restore_diff +[ -n "$CUSTOM" ] || check_restore_diff end_test