summaryrefslogtreecommitdiff
path: root/regress/sys/kern/sosplice/error/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sys/kern/sosplice/error/Makefile')
-rw-r--r--regress/sys/kern/sosplice/error/Makefile15
1 files changed, 15 insertions, 0 deletions
diff --git a/regress/sys/kern/sosplice/error/Makefile b/regress/sys/kern/sosplice/error/Makefile
new file mode 100644
index 00000000000..6c2dadb7889
--- /dev/null
+++ b/regress/sys/kern/sosplice/error/Makefile
@@ -0,0 +1,15 @@
+# $OpenBSD: Makefile,v 1.1.1.1 2013/01/03 17:36:39 bluhm Exp $
+
+.include <bsd.regress.mk>
+
+# The error tests try to splice unsuitable sockets and check the
+# kernel error code.
+
+.for a in ${ARGS}
+run-regress-$a: $a
+.if empty (REMOTE_SSH)
+ time perl ${PERLINC} ${PERLPATH}error.pl ${PERLPATH}$a
+.else
+ time perl ${PERLINC} ${PERLPATH}remote.pl ${REMOTE_SSH} ${PERLPATH}$a
+.endif
+.endfor