diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-01-03 17:36:40 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2013-01-03 17:36:40 +0000 |
commit | c137cea97d4f127b156aa7cf127b1071bbb6a322 (patch) | |
tree | 1be562b6d67bcc9a5d2c75c1d9ea244292677c42 /regress | |
parent | 0bcbe222879820ba7f9c1d49d9b05706e2c9bd2e (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')
-rw-r--r-- | regress/sys/kern/sosplice/udp/direct.pl | 2 | ||||
-rw-r--r-- | regress/sys/kern/sosplice/udp/relay.pl | 2 | ||||
-rw-r--r-- | regress/sys/kern/sosplice/udp/remote.pl | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/regress/sys/kern/sosplice/udp/direct.pl b/regress/sys/kern/sosplice/udp/direct.pl index 12b029c4c86..b07bb64b9ad 100644 --- a/regress/sys/kern/sosplice/udp/direct.pl +++ b/regress/sys/kern/sosplice/udp/direct.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $OpenBSD: direct.pl,v 1.1.1.1 2013/01/03 17:36:39 bluhm Exp $ +# $OpenBSD: direct.pl,v 1.1 2013/01/03 17:36:39 bluhm Exp $ # Copyright (c) 2010-2013 Alexander Bluhm <bluhm@openbsd.org> # diff --git a/regress/sys/kern/sosplice/udp/relay.pl b/regress/sys/kern/sosplice/udp/relay.pl index a06fdc2ab14..583cffc3085 100644 --- a/regress/sys/kern/sosplice/udp/relay.pl +++ b/regress/sys/kern/sosplice/udp/relay.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $OpenBSD: relay.pl,v 1.1.1.1 2013/01/03 17:36:39 bluhm Exp $ +# $OpenBSD: relay.pl,v 1.1 2013/01/03 17:36:39 bluhm Exp $ # Copyright (c) 2010-2013 Alexander Bluhm <bluhm@openbsd.org> # diff --git a/regress/sys/kern/sosplice/udp/remote.pl b/regress/sys/kern/sosplice/udp/remote.pl index 8bcc773e86a..cf07bdcbca0 100644 --- a/regress/sys/kern/sosplice/udp/remote.pl +++ b/regress/sys/kern/sosplice/udp/remote.pl @@ -1,5 +1,5 @@ #!/usr/bin/perl -# $OpenBSD: remote.pl,v 1.1.1.1 2013/01/03 17:36:39 bluhm Exp $ +# $OpenBSD: remote.pl,v 1.1 2013/01/03 17:36:39 bluhm Exp $ # Copyright (c) 2010-2013 Alexander Bluhm <bluhm@openbsd.org> # |