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 9eb2f6b0e8)
This commit is contained in:
Michal Nowak
2022-08-02 15:36:26 +02:00
parent e7e0d1dd0a
commit 64311314dc

View File

@@ -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))