From e09ff0b3437257950e2f3dcbaa2777dd17cedeb4 Mon Sep 17 00:00:00 2001 From: Alexander Bluhm Date: Thu, 3 Jan 2013 17:36:39 +0000 Subject: Reengineer the socket splicing regression tests: - Move the tests from splice to new sosplice directory for consistent naming. - Split the API tests and the TCP splicing tests into separate directories. - Create some tests for the upcoming UDP splicing. - Tests can be run in obj directories now. - The API tests can run both on a local and on a remote machine now. - Fix the forking TCP tests which splice and read or write simultaneously. - Bunch of little fixes for races in the tests. - Deduplicate code, move checks into common functions. --- regress/sys/kern/sosplice/Makefile | 2 +- regress/sys/kern/sosplice/Makefile.inc | 2 +- regress/sys/kern/sosplice/Proc.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'regress/sys') diff --git a/regress/sys/kern/sosplice/Makefile b/regress/sys/kern/sosplice/Makefile index ece974717cc..18625c92d38 100644 --- a/regress/sys/kern/sosplice/Makefile +++ b/regress/sys/kern/sosplice/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.1.1.1 2013/01/03 17:36:38 bluhm Exp $ +# $OpenBSD: Makefile,v 1.1 2013/01/03 17:36:38 bluhm Exp $ SUBDIR = SUBDIR += error diff --git a/regress/sys/kern/sosplice/Makefile.inc b/regress/sys/kern/sosplice/Makefile.inc index 25d8250e6e8..7139fc42417 100644 --- a/regress/sys/kern/sosplice/Makefile.inc +++ b/regress/sys/kern/sosplice/Makefile.inc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.inc,v 1.1.1.1 2013/01/03 17:36:38 bluhm Exp $ +# $OpenBSD: Makefile.inc,v 1.1 2013/01/03 17:36:38 bluhm Exp $ # The following ports must be installed for the regression tests: # p5-BSD-Socket-Splice perl interface to OpenBSD socket splicing diff --git a/regress/sys/kern/sosplice/Proc.pm b/regress/sys/kern/sosplice/Proc.pm index 08d3301c6eb..f65fa7c592c 100644 --- a/regress/sys/kern/sosplice/Proc.pm +++ b/regress/sys/kern/sosplice/Proc.pm @@ -1,4 +1,4 @@ -# $OpenBSD: Proc.pm,v 1.1.1.1 2013/01/03 17:36:37 bluhm Exp $ +# $OpenBSD: Proc.pm,v 1.1 2013/01/03 17:36:37 bluhm Exp $ # Copyright (c) 2010-2012 Alexander Bluhm # -- cgit v1.2.3