summaryrefslogtreecommitdiff
path: root/regress/sbin/ipsecctl
diff options
context:
space:
mode:
Diffstat (limited to 'regress/sbin/ipsecctl')
-rw-r--r--regress/sbin/ipsecctl/Makefile4
-rw-r--r--regress/sbin/ipsecctl/ipsec15.in1
-rw-r--r--regress/sbin/ipsecctl/ipsec15.ok4
3 files changed, 7 insertions, 2 deletions
diff --git a/regress/sbin/ipsecctl/Makefile b/regress/sbin/ipsecctl/Makefile
index 4eee8b21537..25ccfa50ad2 100644
--- a/regress/sbin/ipsecctl/Makefile
+++ b/regress/sbin/ipsecctl/Makefile
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.12 2006/02/03 10:33:27 hshoexer Exp $
+# $OpenBSD: Makefile,v 1.13 2006/03/30 12:44:20 markus Exp $
# TARGETS
# ipsec: feed ipsecNN.in through ipsecctl and check wether the output matches
@@ -7,7 +7,7 @@
# sa: same as above, but for SA rules.
# ike: same as above, but for ike rules.
-IPSECTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14
+IPSECTESTS=1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
TCPMD5TESTS=1 2 3
SATESTS=1 2 3 4 5 6 7 8 9 10
SAFAIL=1
diff --git a/regress/sbin/ipsecctl/ipsec15.in b/regress/sbin/ipsecctl/ipsec15.in
new file mode 100644
index 00000000000..5bb58417ebf
--- /dev/null
+++ b/regress/sbin/ipsecctl/ipsec15.in
@@ -0,0 +1 @@
+flow esp from 1.1.1.0/24 to 2.2.2.0/24 local 192.168.0.1 peer 192.168.100.1
diff --git a/regress/sbin/ipsecctl/ipsec15.ok b/regress/sbin/ipsecctl/ipsec15.ok
new file mode 100644
index 00000000000..ff21ae89486
--- /dev/null
+++ b/regress/sbin/ipsecctl/ipsec15.ok
@@ -0,0 +1,4 @@
+flow esp out from 1.1.1.0/24 to 2.2.2.0/24 local 192.168.0.1 peer 192.168.100.1
+ type require
+flow esp in from 2.2.2.0/24 to 1.1.1.0/24 local 192.168.0.1 peer 192.168.100.1
+ type use