3 # Copyright (C) 2005, 2007 Internet Systems Consortium, Inc. ("ISC")
5 # Permission to use, copy, modify, and/or distribute this software for any
6 # purpose with or without fee is hereby granted, provided that the above
7 # copyright notice and this permission notice appear in all copies.
9 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
10 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
11 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
12 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
13 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
14 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
15 # PERFORMANCE OF THIS SOFTWARE.
17 # Id: tests.sh,v 1.4 2007/06/19 23:47:04 tbox Exp
20 .
$SYSTEMTESTTOP/conf.sh
22 DIGOPTS
="+tcp +noauth +noadd +nosea +nostat +noquest +nocomm +nocmd"
26 echo "I:checking that master file in the raw format worked"
30 for name
in ns mx a aaaa cname dname txt rrsig nsec dnskey ds
32 $DIG $DIGOPTS $name.example.
$name @
10.53.0.
$server -p 5300
34 done > dig.out.
$server
37 diff dig.out
.1 dig.out
.2 || status
=1
39 echo "I:exit status: $status"
43 # Copyright (C) 2005 Internet Systems Consortium, Inc. ("ISC")
45 # Permission to use, copy, modify, and distribute this software for any
46 # purpose with or without fee is hereby granted, provided that the above
47 # copyright notice and this permission notice appear in all copies.
49 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
50 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
51 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
52 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
53 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
54 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
55 # PERFORMANCE OF THIS SOFTWARE.
57 # Id: tests.sh,v 1.4 2007/06/19 23:47:04 tbox Exp
60 .
$SYSTEMTESTTOP/conf.sh
62 DIGOPTS
="+tcp +noauth +noadd +nosea +nostat +noquest +nocomm +nocmd"
66 echo "I:checking that master file in the raw format worked"
70 for name
in ns mx a aaaa cname dname txt rrsig nsec dnskey ds
72 $DIG $DIGOPTS $name.example.
$name @
10.53.0.
$server -p 5300
74 done > dig.out.
$server
77 diff dig.out
.1 dig.out
.2 || status
=1
79 echo "I:exit status: $status"