~ubuntu-branches/ubuntu/wily/maradns/wily-proposed

« back to all changes in this revision

Viewing changes to deadwood-3.2.07/sqa/dwood2rc_n_handle_noreply/do.test

  • Committer: Package Import Robot
  • Author(s): Dariusz Dwornikowski, Tomasz Buchert, Dariusz Dwornikowski
  • Date: 2015-03-27 18:34:08 UTC
  • mfrom: (1.2.12)
  • Revision ID: package-import@ubuntu.com-20150327183408-wnfachdkdjt96yu6
Tags: 2.0.11-1
[ Tomasz Buchert ]
* Imported Upstream version 2.0.11

[ Dariusz Dwornikowski ]
* d/patches: 
  - refreshed all patches for new deadwood version
  - removed generating of random prime on build (Closes: #785536) 
* d/rules: date taken from changelog (Closes: #785535)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh
 
2
 
 
3
# Make sure Deadwood works
 
4
# NOTE: No startup of MaraDNS because 127.0.0.2 is *supposed* to be
 
5
#       non-responsive
 
6
 
 
7
for VALUE in 0 1 ; do
 
8
 
 
9
cat > dwood2rc << EOF
 
10
chroot_dir="$( pwd )"
 
11
ipv4_bind_addresses="127.0.0.1"
 
12
upstream_servers = {}
 
13
upstream_servers["."]="127.0.0.2"
 
14
recursive_acl="127.0.0.1/16"
 
15
maxprocs=8
 
16
timeout_seconds=1
 
17
handle_noreply=${VALUE}
 
18
filter_rfc1918 = 0
 
19
EOF
 
20
 
 
21
../../src/Deadwood -f dwood2rc > /dev/null &
 
22
sleep 1
 
23
echo handle_noreply=$VALUE
 
24
askmara -t 8 Awww.example.com. 
 
25
sleep 1
 
26
killall Deadwood > /dev/null 2>&1
 
27
sleep 1
 
28
 
 
29
done
 
30
 
 
31
rm dwood2rc