diff options
author | darrenr <darrenr@FreeBSD.org> | 2002-03-19 15:17:06 +0000 |
---|---|---|
committer | darrenr <darrenr@FreeBSD.org> | 2002-03-19 15:17:06 +0000 |
commit | c4ba564b6d318e2751b6695f15acaf147f752157 (patch) | |
tree | dfc16369c92a376c64679e0dec31606bcd22509c | |
parent | a98f399f99f7116ceb1ee01ee72d860c9ba61282 (diff) | |
download | FreeBSD-src-c4ba564b6d318e2751b6695f15acaf147f752157.zip FreeBSD-src-c4ba564b6d318e2751b6695f15acaf147f752157.tar.gz |
For this regression test to pass, you must run ipmon in the Australia/Victoria
(EST-10) timezone to generate the correct timestamps in output.
-rwxr-xr-x | contrib/ipfilter/test/logtest | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/ipfilter/test/logtest b/contrib/ipfilter/test/logtest index 0600056..4e7615d 100755 --- a/contrib/ipfilter/test/logtest +++ b/contrib/ipfilter/test/logtest @@ -1,4 +1,5 @@ #!/bin/sh +# $FreeBSD$ if [ -f /usr/ucb/touch ] ; then TOUCH=/usr/ucb/touch else @@ -22,15 +23,15 @@ echo "$1..."; /bin/rm -f logout exit 1 fi - ../ipmon -P /dev/null -f logout >> results/$1 + TZ=Australia/Victoria ../ipmon -P /dev/null -f logout >> results/$1 echo "--------" >> results/$1 - ../ipmon -P /dev/null -bf logout >> results/$1.b + TZ=Australia/Victoria ../ipmon -P /dev/null -bf logout >> results/$1.b echo "--------" >> results/$1.b done ) < regress/$1 ../ipftest -br regress/$1 -Hi input/$1 -l logout > /dev/null -../ipmon -P /dev/null -f logout >> results/$1 +TZ=Australia/Victoria ../ipmon -P /dev/null -f logout >> results/$1 echo "--------" >> results/$1 -../ipmon -P /dev/null -bf logout >> results/$1.b +TZ=Australia/Victoria ../ipmon -P /dev/null -bf logout >> results/$1.b echo "--------" >> results/$1.b cmp expected/$1 results/$1 |