diff options
author | ian <ian> | 1998-11-29 18:09:23 +0000 |
---|---|---|
committer | ian <ian> | 1998-11-29 18:09:23 +0000 |
commit | 12c5b204145993a34b92ac2b7de5ebcebb6d2d15 (patch) | |
tree | 94374605982f4da68f36d5d5d9b22211da1912d5 /regress/m1test | |
parent | 70a778e57fbc29a2d2bc8976745a18f4edd1a03a (diff) |
Initial testing stuff; want to rearrange.
Diffstat (limited to 'regress/m1test')
-rwxr-xr-x | regress/m1test | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/regress/m1test b/regress/m1test new file mode 100755 index 0000000..361e5b1 --- /dev/null +++ b/regress/m1test @@ -0,0 +1,16 @@ +#!/bin/sh +# usage: m1test <name> <initfile> <queryargs> + +set -e +tcn="$1" +initfile="$2" +queryargs="$*" +test -d ../testcases || cd testcases + +initstring="`cat $initfile.init`" + +exec >$tcn.log +echo "$initfile" +echo "$queryargs" + +H../hrecord "/$initstring" $queryargs |