test-network: add tests for invalid Address sections

This commit is contained in:
Yu Watanabe
2019-03-13 11:59:18 +09:00
parent 96db641250
commit bbb5aebe3e
2 changed files with 20 additions and 0 deletions
@@ -1,6 +1,11 @@
[Match]
Name=dummy98
[Network]
# these lines are ignored
Address=hogehoge
Address=foofoo
[Address]
Address=10.2.3.4/16
PreferredLifetime=0
@@ -8,3 +13,15 @@ Scope=link
[Address]
Address=2001:0db8:0:f101::1/64
[Address]
# this section must be ignored
Peer=hoge
Address=10.10.0.1/16
Label=30
[Address]
# this section must be ignored
Label=30
Peer=hoge
Address=10.10.0.2/16