chiark / gitweb /
0c727a07e553757ec71052e8c022af2e62126285
[adns.git] / regress / r1test
1 #!/bin/sh
2 # usage: r1test <testcasename>
3
4 set -e
5 tcn="$1"
6 test -d ../testcases || cd testcases
7
8 exec <$tcn.log
9 read initfile
10 read queryargs
11 initstring="`cat $initfile.init`"
12 ../hplayback "/$initstring" $queryargs