diff options
Diffstat (limited to 'contrib/ipfilter/test/itest')
-rw-r--r-- | contrib/ipfilter/test/itest | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/contrib/ipfilter/test/itest b/contrib/ipfilter/test/itest index 333afde..8fefc63 100644 --- a/contrib/ipfilter/test/itest +++ b/contrib/ipfilter/test/itest @@ -13,7 +13,14 @@ else fi echo "$1..."; /bin/cp /dev/null results/$1 -../ipf -Rnvf regress/$1 2>/dev/null > results/$1 +case $3 in +ipf) + ../ipf -Rnvf regress/$1 2>/dev/null > results/$1 + ;; +ipftest) + ../ipftest -D -r regress/$1 -i /dev/null > results/$1 + ;; +esac cmp expected/$1 results/$1 status=$? if [ $status = 0 ] ; then |