]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
support truncated hashes longer that 7
authorMark Andrews <marka@isc.org>
Sat, 30 Apr 2016 21:47:22 +0000 (07:47 +1000)
committerMark Andrews <marka@isc.org>
Sat, 30 Apr 2016 21:48:40 +0000 (07:48 +1000)
(cherry picked from commit 5b291f619e312689e25de8fd5662b0b9d4a62679)

bin/tests/system/builtin/tests.sh

index 98452068fd10dc93023430b422849e29090ec6f6..a133e40399e8f5043b8fcfb934768de4f42df6c4 100644 (file)
@@ -56,7 +56,7 @@ n=`expr $n + 1`
 ret=0
 echo "I:Checking that custom version works for rndc ($n)"
 $RNDC -c ../common/rndc.conf -s 10.53.0.3 -p 9953 status > rndc.status.ns3.$n 2>&1
-grep "^version: BIND $VERSION ${DESCRIPTION}${DESCRIPTION:+ }<id:.......> (this is a test of version)" rndc.status.ns3.$n > /dev/null || ret=1
+grep "^version: BIND $VERSION ${DESCRIPTION}${DESCRIPTION:+ }<id:........*> (this is a test of version)" rndc.status.ns3.$n > /dev/null || ret=1
 if [ $ret != 0 ] ; then echo I:failed; status=`expr $status + $ret`; fi
 
 n=`expr $n + 1`