diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-01-03 17:36:39 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-01-03 17:36:39 +0000 |
commit | e09ff0b3437257950e2f3dcbaa2777dd17cedeb4 (patch) | |
tree | 3d3fbfe9132c0bfe39092b78340088f5b10262cb /regress/sys | |
parent | 8f425c030d140f40c1298a1462427e68cde91efb (diff) |
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.
Diffstat (limited to 'regress/sys')
-rw-r--r-- | regress/sys/kern/sosplice/Makefile | 2 | ||||
-rw-r--r-- | regress/sys/kern/sosplice/Makefile.inc | 2 | ||||
-rw-r--r-- | regress/sys/kern/sosplice/Proc.pm | 2 |
3 files changed, 3 insertions, 3 deletions
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 <bluhm@openbsd.org> # |