]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
fixed a test error that caused autosign to fail on freebsd
authorEvan Hunt <each@isc.org>
Tue, 7 Feb 2012 00:33:40 +0000 (00:33 +0000)
committerEvan Hunt <each@isc.org>
Tue, 7 Feb 2012 00:33:40 +0000 (00:33 +0000)
bin/tests/system/autosign/tests.sh

index 9767723108e7388a7024b9213985097b5d694bd3..47495874b13a90707c6ad0fe06813ab4cb16cf25 100644 (file)
@@ -14,7 +14,7 @@
 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
 # PERFORMANCE OF THIS SOFTWARE.
 
-# $Id: tests.sh,v 1.42.20.3 2012/02/06 21:33:08 each Exp $
+# $Id: tests.sh,v 1.42.20.4 2012/02/07 00:33:40 each Exp $
 
 SYSTEMTESTTOP=..
 . $SYSTEMTESTTOP/conf.sh
@@ -1122,7 +1122,7 @@ ret=0
 rm -f ns3/*.nzf
 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 addzone reconf.example '{ type master; file "reconf.example.db"; };' 2>&1 | sed 's/^/I:ns3 /'
 rekey_calls=`grep "zone reconf.example.*next key event" ns3/named.run | wc -l`
-[ "$rekey_calls" = 0 ] || ret=1
+[ "$rekey_calls" -eq 0 ] || ret=1
 # ...then we add auto-dnssec and reconfigure
 nzf=`ls ns3/*.nzf`
 echo 'zone reconf.example { type master; file "reconf.example.db"; allow-update { any; }; auto-dnssec maintain; };' > $nzf