For this regression test to pass, you must run ipmon in the Australia/Victoria
(EST-10) timezone to generate the correct timestamps in output.
This commit is contained in:
parent
a98f399f99
commit
c4ba564b6d
@ -1,4 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
# $FreeBSD$
|
||||||
if [ -f /usr/ucb/touch ] ; then
|
if [ -f /usr/ucb/touch ] ; then
|
||||||
TOUCH=/usr/ucb/touch
|
TOUCH=/usr/ucb/touch
|
||||||
else
|
else
|
||||||
@ -22,15 +23,15 @@ echo "$1...";
|
|||||||
/bin/rm -f logout
|
/bin/rm -f logout
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
../ipmon -P /dev/null -f logout >> results/$1
|
TZ=Australia/Victoria ../ipmon -P /dev/null -f logout >> results/$1
|
||||||
echo "--------" >> 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
|
echo "--------" >> results/$1.b
|
||||||
done ) < regress/$1
|
done ) < regress/$1
|
||||||
../ipftest -br regress/$1 -Hi input/$1 -l logout > /dev/null
|
../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
|
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
|
echo "--------" >> results/$1.b
|
||||||
|
|
||||||
cmp expected/$1 results/$1
|
cmp expected/$1 results/$1
|
||||||
|
Loading…
Reference in New Issue
Block a user