chiark / gitweb /
361e5b17106d5a274dcfaf9ad3c3306d385eab37
[adns.git] / regress / m1test
1 #!/bin/sh
2 # usage: m1test <name> <initfile> <queryargs>
3
4 set -e
5 tcn="$1"
6 initfile="$2"
7 queryargs="$*"
8 test -d ../testcases || cd testcases
9
10 initstring="`cat $initfile.init`"
11
12 exec >$tcn.log
13 echo "$initfile"
14 echo "$queryargs"
15
16 H../hrecord "/$initstring" $queryargs