]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
test: add a test case for network-generator 14321/head
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 12 Dec 2019 10:02:25 +0000 (19:02 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 12 Dec 2019 10:02:25 +0000 (19:02 +0900)
test/TEST-35-NETWORK-GENERATOR/test-03-issue-14319.expected/90-enp3s0.network [new file with mode: 0644]
test/TEST-35-NETWORK-GENERATOR/test-03-issue-14319.input [new file with mode: 0644]

diff --git a/test/TEST-35-NETWORK-GENERATOR/test-03-issue-14319.expected/90-enp3s0.network b/test/TEST-35-NETWORK-GENERATOR/test-03-issue-14319.expected/90-enp3s0.network
new file mode 100644 (file)
index 0000000..28ccfdd
--- /dev/null
@@ -0,0 +1,17 @@
+# Automatically generated by systemd-network-generator
+
+[Match]
+Name=enp3s0
+
+[Link]
+
+[Network]
+DHCP=no
+
+[DHCP]
+
+[Address]
+Address=10.99.37.44/16
+
+[Route]
+Gateway=10.99.10.1
diff --git a/test/TEST-35-NETWORK-GENERATOR/test-03-issue-14319.input b/test/TEST-35-NETWORK-GENERATOR/test-03-issue-14319.input
new file mode 100644 (file)
index 0000000..3be7520
--- /dev/null
@@ -0,0 +1 @@
+root=/dev/nfs nfsroot=10.99.37.240:/srv/netroot,v3,tcp ip=10.99.37.44::10.99.10.1:255.255.0.0::enp3s0:off