From 64311314dc14dc958d33410046547090fb6a09dd Mon Sep 17 00:00:00 2001 From: Michal Nowak Date: Tue, 2 Aug 2022 15:36:26 +0200 Subject: [PATCH] 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\"; (cherry picked from commit 9eb2f6b0e85ffceb96d5c51dd56e430faf5ba849) --- bin/tests/system/nzd2nzf/tests.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bin/tests/system/nzd2nzf/tests.sh b/bin/tests/system/nzd2nzf/tests.sh index 4389fcc6f7..9ed144c76d 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))