summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbluhm <bluhm@openbsd.org>2018-04-24 21:12:13 +0000
committerbluhm <bluhm@openbsd.org>2018-04-24 21:12:13 +0000
commit28a76ab0ebc1dda54d2bb2981a6b8932181866f0 (patch)
treee41eb87cf6a790597366cb3463d387fc99002ddc
parentMove code into inline functions to hide #ifdefs and improve readability. (diff)
downloadwireguard-openbsd-28a76ab0ebc1dda54d2bb2981a6b8932181866f0.tar.xz
wireguard-openbsd-28a76ab0ebc1dda54d2bb2981a6b8932181866f0.zip
Test corner cases of few IO and a bunch of UDP network system calls
and check result. The test suite https://sortix.org/os-test/ is used as a package and run as regress. A html file with results is generated. tests suite suggested by mpi@
-rw-r--r--regress/misc/os-test/Makefile26
1 files changed, 26 insertions, 0 deletions
diff --git a/regress/misc/os-test/Makefile b/regress/misc/os-test/Makefile
new file mode 100644
index 00000000000..d80998a4d6b
--- /dev/null
+++ b/regress/misc/os-test/Makefile
@@ -0,0 +1,26 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2018/04/24 21:12:13 bluhm Exp $
+
+# The following port must be installed:
+#
+# os-test test suites for POSIX operating systems
+
+# Test corner cases of few IO and a bunch of UDP network system calls
+# and check result. The test suite https://sortix.org/os-test/ is
+# used as a package and run as regress. A html file with results is
+# generated.
+
+.if ! (make(clean) || make(cleandir) || make(obj))
+.if ! exists(/usr/local/bin/os-test)
+regress:
+ @echo Install misc/os-test port for additional tests.
+ @echo SKIPPED
+.endif
+.endif
+
+regress:
+ /usr/local/bin/os-test
+
+clean:
+ rm -rf io io.expect os-test.html udp udp.expect uname.out
+
+.include <bsd.regress.mk>