From 37e63909c09359ddd5baf7a237387ee5f7219c2d Mon Sep 17 00:00:00 2001 From: Steven Young Date: Wed, 16 Feb 2000 17:32:49 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r2, which included commits to RCS files with non-trunk default branches. --- adns-0.6/regress/m1test | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100755 adns-0.6/regress/m1test (limited to 'adns-0.6/regress/m1test') diff --git a/adns-0.6/regress/m1test b/adns-0.6/regress/m1test new file mode 100755 index 0000000..dbd6bc5 --- /dev/null +++ b/adns-0.6/regress/m1test @@ -0,0 +1,38 @@ +#!/bin/sh + +set -e + +if [ $# -lt 3 ] +then + echo >&2 'usage: m1test [] ' + exit 1 +fi + +case="case-$1"; shift +initfile="$1"; shift + +case "$1" in +-*) initflags="$1"; shift +esac + +queryargs="$*" + +initstring="`cat init-$initfile.text`" + +echo $initfile $initflags >"$case.sys" +echo "$queryargs" >>"$case.sys" + +EF_DISABLE_BANNER=1 +export EF_DISABLE_BANNER + +echo running hrecord $initflags "/... $queryargs" +set +e +ADNS_TEST_OUT_FD=3 3>>"$case.sys" >"$case.out" 2>"$case.err" >$case.out + +egrep . -- "$case.err" "$case.out" +echo "exit status: $rc" -- cgit v1.2.3