From a5cd7522ba2538f6be80eb193be11a0df756f844 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sun, 2 Jul 2017 09:48:17 +0200 Subject: [PATCH] Skip verify-data-test if not running Linux --- regress/tests/verify-data-test | 8 ++++++++ 1 file changed, 8 insertions(+) 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 -- 2.39.5