summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/test/nattest
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/test/nattest')
-rwxr-xr-xcontrib/ipfilter/test/nattest37
1 files changed, 0 insertions, 37 deletions
diff --git a/contrib/ipfilter/test/nattest b/contrib/ipfilter/test/nattest
deleted file mode 100755
index c970877..0000000
--- a/contrib/ipfilter/test/nattest
+++ /dev/null
@@ -1,37 +0,0 @@
-#!/bin/sh
-name=$1
-
-. ./ipflib.sh
-
-test_init
-
-if [ $3 = hex ] ; then
- format="-xF $2"
-else
- format="-F $2"
-fi
-if [ "$4" != "" ] ; then
- case $4 in
- -*)
- format="$4 $format"
- ;;
- *)
- format="-T $4 $format"
- ;;
- esac
-fi
-
-echo "$name...";
-n=1
-/bin/cp /dev/null results/$name
-( while read rule; do
- set_core $name $n
- echo "$rule" | ../ipftest $format -DRbN - -i input/$name >>results/$name &
- back=$!
- wait $back
- test_end_leak $?
- n=`expr $n + 1`
- echo "-------------------------------" >> results/$name
-done ) < regress/$name
-check_results $name
-exit $status
OpenPOWER on IntegriCloud