Commit | Line | Data |
---|---|---|
12c5b204 | 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 |