From: Kern Sibbald Date: Sun, 2 Jul 2017 07:48:17 +0000 (+0200) Subject: Skip verify-data-test if not running Linux X-Git-Tag: Release-9.0.0~3 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a5cd7522ba2538f6be80eb193be11a0df756f844;p=bacula%2Fbacula Skip verify-data-test if not running Linux --- diff --git a/regress/tests/verify-data-test b/regress/tests/verify-data-test index cfcfc3342d..a040d71d9d 100755 --- a/regress/tests/verify-data-test +++ b/regress/tests/verify-data-test @@ -11,6 +11,8 @@ TestName="verify-data-test" JobName=VerifyVol . scripts/functions +require_linux + cwd=`pwd` scripts/cleanup scripts/copy-test-confs @@ -61,6 +63,12 @@ stop_bacula $bperl -e 'add_attribute("$conf/bacula-sd.conf", "BlockChecksum", "no", "Device")' +# +# NOTE!!! sed is an ASCII file editor not a binary file editor +# Thus in general, the following sed will not work and is +# not portable. It is known to fail on FreeBSD, but *seems* to work +# on Linux. +# # Introduce a volume error by modifying the some Volume data nbok=2 if [ x$FORCE_DEDUP = xyes ]; then