summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
author1848 <nomail>2019-07-08 17:09:46 +0200
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-10 16:02:19 +0200
commit98d20a17a9f673ede7de6bfc72340b024af5071c (patch)
tree523e7a30b16da3a31e1904298dcae441806de008 /test
parentfuzzbuzz: rename fuzz.yaml to fuzzbuzz.yaml (diff)
downloadsystemd-98d20a17a9f673ede7de6bfc72340b024af5071c.tar.xz
systemd-98d20a17a9f673ede7de6bfc72340b024af5071c.zip
Added support for xfrm interfaces
Diffstat (limited to 'test')
-rw-r--r--test/fuzz/fuzz-netdev-parser/27-xfrm.netdev7
-rw-r--r--test/fuzz/fuzz-netdev-parser/directives.netdev3
-rw-r--r--test/fuzz/fuzz-network-parser/27-xfrm.network5
-rw-r--r--test/fuzz/fuzz-network-parser/directives.network1
4 files changed, 16 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-netdev-parser/27-xfrm.netdev b/test/fuzz/fuzz-netdev-parser/27-xfrm.netdev
new file mode 100644
index 0000000000..cdcb2d22cd
--- /dev/null
+++ b/test/fuzz/fuzz-netdev-parser/27-xfrm.netdev
@@ -0,0 +1,7 @@
+[NetDev]
+Name=xfrm99
+Kind=xfrm
+
+[Xfrm]
+InterfaceId=7
+Independent=false
diff --git a/test/fuzz/fuzz-netdev-parser/directives.netdev b/test/fuzz/fuzz-netdev-parser/directives.netdev
index be1b197024..07e54d9e44 100644
--- a/test/fuzz/fuzz-netdev-parser/directives.netdev
+++ b/test/fuzz/fuzz-netdev-parser/directives.netdev
@@ -207,3 +207,6 @@ KeyId=
Key=
KeyFile=
Activate=
+[Xfrm]
+Independent=
+InterfaceId=
diff --git a/test/fuzz/fuzz-network-parser/27-xfrm.network b/test/fuzz/fuzz-network-parser/27-xfrm.network
new file mode 100644
index 0000000000..fa26c84e53
--- /dev/null
+++ b/test/fuzz/fuzz-network-parser/27-xfrm.network
@@ -0,0 +1,5 @@
+[Match]
+Name=eth0
+
+[Network]
+Xfrm=xfrm99
diff --git a/test/fuzz/fuzz-network-parser/directives.network b/test/fuzz/fuzz-network-parser/directives.network
index 26dd83d8da..ddafaa7840 100644
--- a/test/fuzz/fuzz-network-parser/directives.network
+++ b/test/fuzz/fuzz-network-parser/directives.network
@@ -121,6 +121,7 @@ DNSSEC=
IPv6HopLimit=
IPForward=
IPv6Token=
+Xfrm=
Description=
VXLAN=
L2TP=