summaryrefslogtreecommitdiff
path: root/adns-0.6/regress/r1test
diff options
context:
space:
mode:
authorRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-12 00:38:47 +0000
committerRobert James Kaes <rjkaes@users.sourceforge.net>2000-09-12 00:38:47 +0000
commit15ea792c424fc1daa2e36e63c5c7474a45b73161 (patch)
tree51c7599757a01151bca28fc2987ea9aed020dba8 /adns-0.6/regress/r1test
parent7a949c9470c6bd12132f228af14d5ea23f0be37c (diff)
downloadtinyproxy-15ea792c424fc1daa2e36e63c5c7474a45b73161.tar.gz
tinyproxy-15ea792c424fc1daa2e36e63c5c7474a45b73161.zip
We don't use ADNS anymore so get rid of the tree.
Diffstat (limited to 'adns-0.6/regress/r1test')
-rwxr-xr-xadns-0.6/regress/r1test57
1 files changed, 0 insertions, 57 deletions
diff --git a/adns-0.6/regress/r1test b/adns-0.6/regress/r1test
deleted file mode 100755
index de8db69..0000000
--- a/adns-0.6/regress/r1test
+++ /dev/null
@@ -1,57 +0,0 @@
-#!/bin/sh
-# usage: r1test <testcasename>
-
-set -e
-mrc=1
-trap 'exit $mrc' 0
-
-casename="$1"
-case="case-$casename"
-ocase="output-$casename"
-
-exec <"$case.sys"
-read initfile initflags
-read queryargs
-
-initstring="`cat init-$initfile.text`"
-
-rm -f $ocase.*
-
-EF_DISABLE_BANNER=1
-export EF_DISABLE_BANNER
-
-set +e
-ADNS_TEST_REPORT_FD=3 3>>"$ocase.report" >"$ocase.out" 2>"$ocase.err" \
- ./hplayback $initflags "/$initstring" $queryargs
-rc=$?
-set -e
-
-if [ "$rc" = 5 ]
-then
- echo -n "SKIPPED-$casename "
- mrc=5
- exit
-fi
-
-echo "rc=$rc" >>$ocase.out
-
-failed=false
-for part in err out
-do
- if diff -u -- "$case.$part" "$ocase.$part"
- then
- :
- else
- failed=true
- fi
-done
-
-if $failed
-then
- echo >&2 "FAILED $case - WRONG OUTPUT - lines of syscall remaining `wc -l`"
- mrc=2
- exit
-fi
-
-echo -n "$casename "
-mrc=0