head	1.4;
access;
symbols
	perseant-exfatfs-base-20250801:1.4
	perseant-exfatfs-base-20240630:1.4
	perseant-exfatfs:1.4.0.24
	perseant-exfatfs-base:1.4
	cjep_sun2x:1.4.0.22
	cjep_sun2x-base:1.4
	cjep_staticlib_x-base1:1.4
	cjep_staticlib_x:1.4.0.20
	cjep_staticlib_x-base:1.4
	phil-wifi-20200421:1.4
	phil-wifi-20200411:1.4
	phil-wifi-20200406:1.4
	pgoyette-compat-merge-20190127:1.4
	pgoyette-compat-20190127:1.4
	pgoyette-compat-20190118:1.4
	pgoyette-compat-1226:1.4
	pgoyette-compat-1126:1.4
	pgoyette-compat-1020:1.4
	pgoyette-compat-0930:1.4
	pgoyette-compat-0906:1.4
	pgoyette-compat-0728:1.4
	pgoyette-compat-0625:1.4
	pgoyette-compat-0521:1.4
	pgoyette-compat-0502:1.4
	pgoyette-compat-0422:1.4
	pgoyette-compat-0415:1.4
	pgoyette-compat-0407:1.4
	pgoyette-compat-0330:1.4
	pgoyette-compat-0322:1.4
	pgoyette-compat-0315:1.4
	pgoyette-compat:1.4.0.18
	pgoyette-compat-base:1.4
	perseant-stdc-iso10646:1.4.0.16
	perseant-stdc-iso10646-base:1.4
	prg-localcount2-base3:1.4
	prg-localcount2-base2:1.4
	prg-localcount2-base1:1.4
	prg-localcount2:1.4.0.14
	prg-localcount2-base:1.4
	pgoyette-localcount-20170426:1.4
	bouyer-socketcan-base1:1.4
	pgoyette-localcount-20170320:1.4
	bouyer-socketcan:1.4.0.12
	bouyer-socketcan-base:1.4
	pgoyette-localcount-20170107:1.4
	pgoyette-localcount-20161104:1.4
	localcount-20160914:1.4
	pgoyette-localcount-20160806:1.4
	pgoyette-localcount-20160726:1.4
	pgoyette-localcount:1.4.0.10
	pgoyette-localcount-base:1.4
	netbsd-5-2-3-RELEASE:1.3
	netbsd-5-1-5-RELEASE:1.3
	yamt-pagecache-base9:1.4
	yamt-pagecache-tag8:1.4
	tls-earlyentropy:1.4.0.6
	tls-earlyentropy-base:1.4
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.4
	riastradh-drm2-base3:1.4
	netbsd-5-2-2-RELEASE:1.3
	netbsd-5-1-4-RELEASE:1.3
	netbsd-5-2-1-RELEASE:1.3
	netbsd-5-1-3-RELEASE:1.3
	agc-symver:1.4.0.8
	agc-symver-base:1.4
	tls-maxphys-base:1.4
	yamt-pagecache-base8:1.4
	netbsd-5-2:1.3.0.44
	yamt-pagecache-base7:1.4
	netbsd-5-2-RELEASE:1.3
	netbsd-5-2-RC1:1.3
	yamt-pagecache-base6:1.4
	yamt-pagecache-base5:1.4
	yamt-pagecache-base4:1.4
	netbsd-5-1-2-RELEASE:1.3
	v5-1-1:1.1.1.2
	netbsd-5-1-1-RELEASE:1.3
	yamt-pagecache-base3:1.4
	yamt-pagecache-base2:1.4
	yamt-pagecache:1.4.0.4
	yamt-pagecache-base:1.4
	bouyer-quota2-nbase:1.4
	bouyer-quota2:1.4.0.2
	bouyer-quota2-base:1.4
	matt-nb5-mips64-premerge-20101231:1.3
	matt-nb5-pq3:1.3.0.42
	matt-nb5-pq3-base:1.3
	netbsd-5-1:1.3.0.40
	netbsd-5-1-RELEASE:1.3
	netbsd-5-1-RC4:1.3
	matt-nb5-mips64-k15:1.3
	netbsd-5-1-RC3:1.3
	netbsd-5-1-RC2:1.3
	netbsd-5-1-RC1:1.3
	v4-1-34:1.1.1.2
	netbsd-5-0-2-RELEASE:1.3
	matt-nb5-mips64-premerge-20091211:1.3
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.3
	matt-nb4-mips64-k7-u2a-k9b:1.3
	matt-nb5-mips64-u1-k1-k5:1.3
	v4-1-33:1.1.1.2
	matt-nb5-mips64:1.3.0.38
	netbsd-5-0-1-RELEASE:1.3
	jym-xensuspend-nbase:1.4
	netbsd-5-0:1.3.0.36
	netbsd-5-0-RELEASE:1.3
	netbsd-5-0-RC4:1.3
	netbsd-5-0-RC3:1.3
	netbsd-5-0-RC2:1.3
	jym-xensuspend:1.3.0.34
	jym-xensuspend-base:1.4
	netbsd-5-0-RC1:1.3
	netbsd-5:1.3.0.32
	netbsd-5-base:1.3
	matt-mips64-base2:1.3
	matt-mips64:1.3.0.30
	mjf-devfs2:1.3.0.28
	mjf-devfs2-base:1.3
	netbsd-4-0-1-RELEASE:1.3
	wrstuden-revivesa-base-3:1.3
	wrstuden-revivesa-base-2:1.3
	wrstuden-fixsa-newbase:1.3
	wrstuden-revivesa-base-1:1.3
	yamt-pf42-base4:1.3
	yamt-pf42-base3:1.3
	hpcarm-cleanup-nbase:1.3
	v4-1-29:1.1.1.2
	yamt-pf42-baseX:1.3
	yamt-pf42-base2:1.3
	wrstuden-revivesa:1.3.0.26
	wrstuden-revivesa-base:1.3
	yamt-pf42:1.3.0.24
	yamt-pf42-base:1.3
	keiichi-mipv6:1.3.0.22
	keiichi-mipv6-base:1.3
	matt-armv6-nbase:1.3
	matt-armv6-prevmlocking:1.3
	wrstuden-fixsa-base-1:1.3
	netbsd-4-0:1.3.0.20
	netbsd-4-0-RELEASE:1.3
	cube-autoconf:1.3.0.18
	cube-autoconf-base:1.3
	netbsd-4-0-RC5:1.3
	netbsd-4-0-RC4:1.3
	netbsd-4-0-RC3:1.3
	netbsd-4-0-RC2:1.3
	netbsd-4-0-RC1:1.3
	matt-armv6:1.3.0.16
	matt-armv6-base:1.3
	matt-mips64-base:1.3
	hpcarm-cleanup:1.3.0.14
	hpcarm-cleanup-base:1.3
	netbsd-3-1-1-RELEASE:1.3
	netbsd-3-0-3-RELEASE:1.3
	ipfilter-4-1-23-pullup:1.3
	v4-1-23:1.1.1.2
	BEFORE-IPF-4_1_23:1.3
	ipfilter-4-1-22-pullup:1.3
	wrstuden-fixsa:1.3.0.12
	wrstuden-fixsa-base:1.3
	v4-1-22:1.1.1.2
	BEFORE-IPF-4_1_22:1.3
	ipfilter-4-1-20-pullup:1.3
	v4-1-20:1.1.1.2
	BEFORE-IPF-4_1_20:1.3
	v4-1-19:1.1.1.2
	BEFORE-IPF-4_1_19:1.3
	abandoned-netbsd-4-base:1.3
	abandoned-netbsd-4:1.3.0.6
	netbsd-3-1:1.3.0.8
	netbsd-3-1-RELEASE:1.3
	netbsd-3-0-2-RELEASE:1.3
	netbsd-3-1-RC4:1.3
	netbsd-3-1-RC3:1.3
	netbsd-3-1-RC2:1.3
	netbsd-3-1-RC1:1.3
	netbsd-4:1.3.0.10
	netbsd-4-base:1.3
	netbsd-3-0-1-RELEASE:1.3
	v4-1-13:1.1.1.2
	BEFORE-IPF-4_1_13:1.3
	netbsd-3-0:1.3.0.4
	netbsd-3-0-RELEASE:1.3
	netbsd-3-0-RC6:1.3
	netbsd-3-0-RC5:1.3
	netbsd-3-0-RC4:1.3
	netbsd-3-0-RC3:1.3
	netbsd-3-0-RC2:1.3
	netbsd-3-0-RC1:1.3
	netbsd-2-0-3-RELEASE:1.2.4.1
	netbsd-2-1:1.2.4.1.0.4
	netbsd-2-1-RELEASE:1.2.4.1
	netbsd-2-1-RC6:1.2.4.1
	netbsd-2-1-RC5:1.2.4.1
	netbsd-2-1-RC4:1.2.4.1
	netbsd-2-1-RC3:1.2.4.1
	netbsd-2-1-RC2:1.2.4.1
	netbsd-2-1-RC1:1.2.4.1
	v4-1-8:1.1.1.2
	netbsd-2-0-2-RELEASE:1.2.4.1
	netbsd-3:1.3.0.2
	netbsd-3-base:1.3
	v4-1-6:1.1.1.2
	v4-1-5:1.1.1.2
	netbsd-2-0-1-RELEASE:1.2.4.1
	netbsd-2:1.2.4.1.0.2
	netbsd-2-base:1.2.4.1
	netbsd-2-0-RELEASE:1.2.4.1
	netbsd-2-0-RC5:1.2.4.1
	netbsd-2-0-RC4:1.2.4.1
	netbsd-2-0-RC3:1.2.4.1
	netbsd-2-0-RC2:1.2.4.1
	netbsd-2-0-RC1:1.2.4.1
	v4-1-3:1.1.1.2
	netbsd-2-0:1.2.0.4
	netbsd-2-0-base:1.2
	v4-1-1:1.1.1.2
	netbsd-1-6-PATCH002-RELEASE:1.2.2.2
	netbsd-1-6-PATCH002:1.2.2.2
	netbsd-1-6-PATCH002-RC4:1.2.2.2
	netbsd-1-6-PATCH002-RC3:1.2.2.2
	netbsd-1-6-PATCH002-RC2:1.2.2.2
	netbsd-1-6-PATCH002-RC1:1.2.2.2
	netbsd-1-6-PATCH001:1.2.2.2
	netbsd-1-6-PATCH001-RELEASE:1.2.2.2
	netbsd-1-6-PATCH001-RC3:1.2.2.2
	netbsd-1-6-PATCH001-RC2:1.2.2.2
	netbsd-1-6-PATCH001-RC1:1.2.2.2
	fvdl_fs64_base:1.2
	netbsd-1-6:1.2.0.2
	v3-4-29:1.1.1.1
	DARRENR:1.1.1;
locks; strict;
comment	@# @;


1.4
date	2009.02.20.21.45.48;	author jmmv;	state dead;
branches;
next	1.3;

1.3
date	2004.07.23.05.39.04;	author martti;	state Exp;
branches
	1.3.34.1;
next	1.2;

1.2
date	2002.09.19.08.13.20;	author martti;	state Exp;
branches
	1.2.2.1
	1.2.4.1;
next	1.1;

1.1
date	2002.09.19.07.57.03;	author martti;	state Exp;
branches
	1.1.1.1;
next	;

1.3.34.1
date	2009.05.13.19.18.49;	author jym;	state dead;
branches;
next	;

1.2.2.1
date	2002.09.19.08.13.20;	author lukem;	state dead;
branches;
next	1.2.2.2;

1.2.2.2
date	2002.10.24.09.34.08;	author lukem;	state Exp;
branches;
next	;

1.2.4.1
date	2004.08.15.14.51.48;	author tron;	state Exp;
branches;
next	;

1.1.1.1
date	2002.09.19.07.57.03;	author martti;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2004.03.28.08.56.52;	author martti;	state Exp;
branches;
next	;


desc
@@


1.4
log
@Remove the kernel and ipf tests that have been converted to atf and now
live in the tests subtree.
@
text
@#!/bin/sh
#
# $NetBSD: dotest6,v 1.3 2004/07/23 05:39:04 martti Exp $
#
TESTDIR=$1
shift

format=$2
mkdir -p results
if [ -f /usr/ucb/touch ] ; then
	TOUCH=/usr/ucb/touch
else
	if [ -f /usr/bin/touch ] ; then
		TOUCH=/usr/bin/touch
	else
		if [ -f /bin/touch ] ; then
			TOUCH=/bin/touch
		fi
	fi
fi
echo "$1...";
/bin/cp /dev/null results/$1
ipftest -6 -r /dev/null -i /dev/null >/dev/null 2>&1
if [ $? -ne 0 ] ; then
	echo "skipping IPv6 tests"
	$TOUCH $1
	exit 0
fi
( while read rule; do
	echo "$rule" | ipftest -F $format -6br - -i ${TESTDIR}/input/$1 >> results/$1;
	if [ $? -ne 0 ] ; then
		exit 1;
	fi
	echo "--------" >> results/$1
done ) < ${TESTDIR}/regress/$1
cmp ${TESTDIR}/expected/$1 results/$1
status=$?
if [ $status = 0 ] ; then
	$TOUCH $1
fi
exit $status
@


1.3
log
@Upgraded IPFilter to 4.1.3
@
text
@d3 1
a3 1
# $NetBSD: dotest6,v 1.3 2004/06/06 00:51:31 martti Exp $
@


1.3.34.1
log
@Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
@
text
@d3 1
a3 1
# $NetBSD: dotest6,v 1.3 2004/07/23 05:39:04 martti Exp $
@


1.2
log
@Fix test invokation
@
text
@d3 1
a3 1
# $NetBSD$
d5 5
a21 2
TESTDIR=$2
[ -z "$2" ] && TESTDIR=${PWD}
d30 1
a30 1
	echo "$rule" | ipftest -6Hbr - -i ${TESTDIR}/input/$1 >> results/$1;
@


1.2.2.1
log
@file dotest6 was added on branch netbsd-1-6 on 2002-10-24 09:34:08 +0000
@
text
@d1 38
@


1.2.2.2
log
@Pull up upgrade to IPfilter 3.4.29 (requested by martti in ticket #905).
Affected files & revisions:

dist/ipf/HISTORY				1.14
dist/ipf/fils.c					1.17-1.21
dist/ipf/ipf.c					1.11-1.13
dist/ipf/ipfs.c					1.8-1.10
dist/ipf/ipft_ef.c				1.6-1.7
dist/ipf/ipft_td.c				1.6-1.7
dist/ipf/ipft_tx.c				1.7-1.8
dist/ipf/ipmon.c				1.12-1.17
dist/ipf/ipnat.c				1.11-1.12
dist/ipf/ipsend/ip_var.h			1.2
dist/ipf/ipsend/ipsend.c			1.8
dist/ipf/ipsend/iptests.c			1.5
dist/ipf/ipt.c					1.8-1.10
dist/ipf/kmem.c					1.8-1.10
dist/ipf/man/ipf.4				1.10
dist/ipf/man/ipf.5				1.8
dist/ipf/man/ipftest.1				1.3
dist/ipf/man/ipmon.8				1.10
dist/ipf/man/ipnat.5				1.9-1.10
dist/ipf/man/ipnat.8				1.4
dist/ipf/misc.c					1.7
dist/ipf/natparse.c				1.10
dist/ipf/parse.c				1.13
dist/ipf/printnat.c				1.8-1.10
dist/ipf/relay.c				1.5-1.6
dist/ipf/rules/example.9			1.2
etc/rc.d/ipnat					1.8
regress/sys/kern/ipf/Makefile			1.3-1.4
regress/sys/kern/ipf/dotest6			1.2
regress/sys/kern/ipf/expected/f13		1.1.1.2
regress/sys/kern/ipf/expected/i12		1.1.1.1
regress/sys/kern/ipf/expected/ni3		1.1.1.1
regress/sys/kern/ipf/expected/ni5		1.2
regress/sys/kern/ipf/input/f13			1.1.1.2
regress/sys/kern/ipf/input/ipv6.1		1.1.1.1
regress/sys/kern/ipf/input/ni3			1.1.1.1
regress/sys/kern/ipf/regress/i12		1.1.1.1
regress/sys/kern/ipf/regress/ipv6.1		1.1.1.1
regress/sys/kern/ipf/regress/ni3.ipf		1.1.1.1
regress/sys/kern/ipf/regress/ni3.nat		1.1.1.1
sys/arch/alpha/conf/ALPHA			1.169,1.171
sys/arch/amiga/conf/GENERIC			1.185-1.186
sys/arch/arc/conf/GENERIC			1.71-1.72
sys/arch/atari/conf/GENERIC.in			1.24-1.25
sys/arch/cats/conf/GENERIC			1.31-1.32
sys/arch/cobalt/conf/GENERIC			1.34-1.35
sys/arch/hp300/conf/GENERIC			1.83-1.84
sys/arch/i386/conf/CARDBUS			1.66-1.67
sys/arch/i386/conf/GENERIC			1.510,1.512
sys/arch/i386/conf/GENERIC_LAPTOP		1.58-1.59
sys/arch/i386/conf/GENERIC_PS2TINY		1.19-1.20
sys/arch/i386/conf/GENERIC_TINY			1.47-1.48
sys/arch/luna68k/conf/GENERIC			1.33-1.33
sys/arch/mac68k/conf/GENERIC			1.130-1.131
sys/arch/mac68k/conf/GENERICSBC			1.21-1.22
sys/arch/mac68k/conf/SMALLRAM			1.4-1.5
sys/arch/macppc/conf/GENERIC			1.142-1.143
sys/arch/mipsco/conf/GENERIC			1.21-1.22
sys/arch/mmeye/conf/GENERIC			1.44-1.45
sys/arch/news68k/conf/GENERIC			1.36-1.37
sys/arch/news68k/conf/GENERIC_TINY		1.18-1.19
sys/arch/newsmips/conf/GENERIC			1.50-1.51
sys/arch/ofppc/conf/GENERIC			1.56-1.57
sys/arch/pmax/conf/GENERIC			1.103-1.104
sys/arch/prep/conf/GENERIC			1.55-1.56
sys/arch/sbmips/conf/GENERIC			1.11-1.12
sys/arch/sgimips/conf/GENERIC			1.7-1.8
sys/arch/sparc/conf/GENERIC			1.138-1.139
sys/arch/sparc64/conf/GENERIC32			1.46-1.47
sys/arch/vax/conf/GENERIC			1.102-1.103
sys/arch/x68k/conf/ALL				1.55-1.56
sys/arch/x68k/conf/GENERIC			1.80-1.81
sys/lkm/netinet/if_ipl/mln_ipl.c		1.29
sys/netinet/fil.c				1.57-1.58
sys/netinet/ip_auth.c				1.29-1.30
sys/netinet/ip_compat.h				1.30-1.31
sys/netinet/ip_fil.c				1.81-1.86
sys/netinet/ip_fil.h				1.46-1.49
sys/netinet/ip_frag.c				1.33-1.34
sys/netinet/ip_frag.h				1.18
sys/netinet/ip_ftp_pxy.c			1.25-1.26
sys/netinet/ip_h323_pxy.c			1.5-1.6
sys/netinet/ip_log.c				1.22-1.23
sys/netinet/ip_nat.c				1.51-1.53
sys/netinet/ip_nat.h				1.27
sys/netinet/ip_netbios_pxy.c			1.4
sys/netinet/ip_proxy.c				1.35-1.36
sys/netinet/ip_proxy.h				1.18
sys/netinet/ip_state.c				1.41-1.42
sys/netinet/ip_state.h				1.23
sys/netinet/ipl.h				1.14
@
text
@a0 38
#!/bin/sh
#
# $NetBSD: dotest6,v 1.2.2.1 2002/10/24 09:34:08 lukem Exp $
#
if [ -f /usr/ucb/touch ] ; then
	TOUCH=/usr/ucb/touch
else
	if [ -f /usr/bin/touch ] ; then
		TOUCH=/usr/bin/touch
	else
		if [ -f /bin/touch ] ; then
			TOUCH=/bin/touch
		fi
	fi
fi
echo "$1...";
TESTDIR=$2
[ -z "$2" ] && TESTDIR=${PWD}
/bin/cp /dev/null results/$1
ipftest -6 -r /dev/null -i /dev/null >/dev/null 2>&1
if [ $? -ne 0 ] ; then
	echo "skipping IPv6 tests"
	$TOUCH $1
	exit 0
fi
( while read rule; do
	echo "$rule" | ipftest -6Hbr - -i ${TESTDIR}/input/$1 >> results/$1;
	if [ $? -ne 0 ] ; then
		exit 1;
	fi
	echo "--------" >> results/$1
done ) < ${TESTDIR}/regress/$1
cmp ${TESTDIR}/expected/$1 results/$1
status=$?
if [ $status = 0 ] ; then
	$TOUCH $1
fi
exit $status
@


1.2.4.1
log
@Pull up revision 1.3 (requested by martti in ticket #763):
Upgraded IPFilter to 4.1.3
@
text
@a4 5
TESTDIR=$1
shift

format=$2
mkdir -p results
d17 2
d27 1
a27 1
	echo "$rule" | ipftest -F $format -6br - -i ${TESTDIR}/input/$1 >> results/$1;
@


1.1
log
@Initial revision
@
text
@d2 3
d17 2
d20 1
a20 1
../ipftest -6 -r /dev/null -i /dev/null >/dev/null 2>&1
d27 1
a27 1
	echo "$rule" | ../ipftest -6Hbr - -i input/$1 >> results/$1;
d32 2
a33 2
done ) < regress/$1
cmp expected/$1 results/$1
@


1.1.1.1
log
@Import IPFilter 3.4.29
@
text
@@


1.1.1.2
log
@Import IPFilter 4.1.1
@
text
@a1 2
format=$2
mkdir -p results
d22 1
a22 1
	echo "$rule" | ../ipftest -F $format -6br - -i input/$1 >> results/$1;
@
