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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user