Remove building with NOCRYPTO option
[minix.git] / external / bsd / bind / dist / bin / tests / system / dnssec / setup.sh
blobe46626f4cafea11552be7b83068a8baa2658b5ea
1 #!/bin/sh -e
3 # Copyright (C) 2004, 2007, 2009, 2011-2015 Internet Systems Consortium, Inc. ("ISC")
4 # Copyright (C) 2000, 2001 Internet Software Consortium.
6 # Permission to use, copy, modify, and/or distribute this software for any
7 # purpose with or without fee is hereby granted, provided that the above
8 # copyright notice and this permission notice appear in all copies.
10 # THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
11 # REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
12 # AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
13 # INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
14 # LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
15 # OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
16 # PERFORMANCE OF THIS SOFTWARE.
18 SYSTEMTESTTOP=..
19 . $SYSTEMTESTTOP/conf.sh
21 $SHELL clean.sh
23 test -r $RANDFILE || $GENRANDOM 400 $RANDFILE
25 cd ns1 && $SHELL sign.sh
27 echo "a.bogus.example. A 10.0.0.22" >>../ns3/bogus.example.db.signed
29 cd ../ns3 && cp -f siginterval1.conf siginterval.conf
30 cd ../ns4 && cp -f named1.conf named.conf
31 cd ../ns5 && {
32 cp -f trusted.conf.bad trusted.conf
33 cp -f named1.conf named.conf
34 $SHELL sign.sh