Sync usage with man page.
[netbsd-mini2440.git] / dist / ipf / test / iptest
blobbb3ab5ea86fcc4e8854968df550f11bb63cf9d1d
1 #!/bin/sh
2 mkdir -p results
3 if [ -f /usr/ucb/touch ] ; then
4 TOUCH=/usr/ucb/touch
5 else
6 if [ -f /usr/bin/touch ] ; then
7 TOUCH=/usr/bin/touch
8 else
9 if [ -f /bin/touch ] ; then
10 TOUCH=/bin/touch
14 echo "$1...";
15 /bin/cp /dev/null results/$1
16 ../ippool -f regress/$1 -nRv 2>/dev/null > results/$1
17 cmp expected/$1 results/$1
18 status=$?
19 if [ $status = 0 ] ; then
20 $TOUCH $1
22 exit $status