3191. [bug] Print NULL records using unknown format. [RT #26392]
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||||
# PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
# $Id: tests.sh,v 1.10 2007/06/19 23:47:06 tbox Exp $
|
||||
# $Id: tests.sh,v 1.11 2011/11/02 01:01:52 marka Exp $
|
||||
|
||||
SYSTEMTESTTOP=..
|
||||
. $SYSTEMTESTTOP/conf.sh
|
||||
@@ -63,6 +63,20 @@ do
|
||||
status=`expr $status + $ret`
|
||||
done
|
||||
|
||||
echo "I:querying for NULL record"
|
||||
ret=0
|
||||
$DIG +short $DIGOPTS null.example null in > dig.out || ret=1
|
||||
echo '\# 1 00' | diff - dig.out || ret=1
|
||||
[ $ret = 0 ] || echo "I: failed"
|
||||
status=`expr $status + $ret`
|
||||
|
||||
echo "I:querying for empty NULL record"
|
||||
ret=0
|
||||
$DIG +short $DIGOPTS empty.example null in > dig.out || ret=1
|
||||
echo '\# 0' | diff - dig.out || ret=1
|
||||
[ $ret = 0 ] || echo "I: failed"
|
||||
status=`expr $status + $ret`
|
||||
|
||||
echo "I:querying for various representations of a CLASS10 TYPE1 record"
|
||||
for i in 1 2
|
||||
do
|
||||
|
||||
Reference in New Issue
Block a user