From: Michal Nowak Date: Tue, 2 Aug 2022 13:36:26 +0000 (+0200) Subject: Join two rndc lines not to confuse checkbashisms X-Git-Tag: v9.19.8~57^2~6 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9eb2f6b0e85ffceb96d5c51dd56e430faf5ba849;p=thirdparty%2Fbind9.git Join two rndc lines not to confuse checkbashisms checkbashisms gets confused by the rndc command being on two lines: possible bashism in bin/tests/system/nzd2nzf/tests.sh line 37 (type): rndccmd 10.53.0.1 addzone "added.example { type primary; file \"added.db\"; --- diff --git a/bin/tests/system/nzd2nzf/tests.sh b/bin/tests/system/nzd2nzf/tests.sh index 4389fcc6f7d..9ed144c76df 100644 --- a/bin/tests/system/nzd2nzf/tests.sh +++ b/bin/tests/system/nzd2nzf/tests.sh @@ -34,8 +34,7 @@ status=$((status+ret)) n=$((n+1)) echo_i "adding a new zone into default NZD using rndc addzone ($n)" -rndccmd 10.53.0.1 addzone "added.example { type primary; file \"added.db\"; -};" 2>&1 | sed 's/^/I:ns1 /' | cat_i +rndccmd 10.53.0.1 addzone 'added.example { type primary; file "added.db"; };' 2>&1 | sed 's/^/I:ns1 /' | cat_i sleep 2 n=$((n+1))