Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ISC Open Source Projects
BIND
Commits
3787f2ec
Commit
3787f2ec
authored
Jun 01, 2012
by
Evan Hunt
Browse files
fix solaris portability problem
parent
a2cd182a
Changes
1
Hide whitespace changes
Inline
Side-by-side
bin/tests/system/rpz/tests.sh
View file @
3787f2ec
...
...
@@ -48,12 +48,10 @@ RNDCCMD="$RNDC -c $SYSTEMTESTTOP/common/rndc.conf -p 9953 -s"
digcmd
()
{
digcmd_args
=
"+noadd +nosearch +time=1 +tries=1 -p 5300
$*
"
if
!
expr
"
$digcmd_args
"
:
'.*@'
>
/dev/null
;
then
expr
"
$digcmd_args
"
:
'.*@'
>
/dev/null
||
\
digcmd_args
=
"
$digcmd_args
@
$ns3
"
fi
if
!
expr
"
$digcmd_args
"
:
'.*+[no]*auth'
>
/dev/null
;
then
expr
"
$digcmd_args
"
:
'.*+[no]*auth'
>
/dev/null
||
\
digcmd_args
=
"+noauth
$digcmd_args
"
fi
#echo I:dig $digcmd_args 1>&2
$DIG
$digcmd_args
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment