summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorYu Watanabe <watanabe.yu+github@gmail.com>2019-07-11 02:25:21 +0900
committerYu Watanabe <watanabe.yu+github@gmail.com>2019-07-11 22:22:29 +0900
commitd86f5c194c5c6c57c32969bccfa32b09a1b75b46 (patch)
tree379df1ae1981c5d34f768ee4e673c97c988503ff /test
parentf5bab0d9c0632890e69f907c168174a4904ca764 (diff)
downloadsystemd-d86f5c194c5c6c57c32969bccfa32b09a1b75b46.tar.gz
systemd-d86f5c194c5c6c57c32969bccfa32b09a1b75b46.tar.bz2
systemd-d86f5c194c5c6c57c32969bccfa32b09a1b75b46.zip
test-network: use Neighbor.LinkLayerAddress= instead of deprecated Neighbor.MACAddress=
Diffstat (limited to 'test')
-rw-r--r--test/test-network/conf/25-neighbor-section.network4
-rwxr-xr-xtest/test-network/systemd-networkd-tests.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/test/test-network/conf/25-neighbor-section.network b/test/test-network/conf/25-neighbor-section.network
index 02dbd3843b..94c04943b7 100644
--- a/test/test-network/conf/25-neighbor-section.network
+++ b/test/test-network/conf/25-neighbor-section.network
@@ -6,8 +6,8 @@ IPv6AcceptRA=no
[Neighbor]
Address=192.168.10.1
-MACAddress=00:00:5e:00:02:65
+LinkLayerAddress=00:00:5e:00:02:65
[Neighbor]
Address=2004:da8:1:0::1
-MACAddress=00:00:5e:00:02:66
+LinkLayerAddress=00:00:5e:00:02:66
diff --git a/test/test-network/systemd-networkd-tests.py b/test/test-network/systemd-networkd-tests.py
index 6344b3d87e..f8bae1d2fc 100755
--- a/test/test-network/systemd-networkd-tests.py
+++ b/test/test-network/systemd-networkd-tests.py
@@ -1620,7 +1620,7 @@ class NetworkdNetworkTests(unittest.TestCase, Utilities):
print(output)
self.assertRegex(output, '2004:da8:1::/64')
- def test_ipv6_neighbor(self):
+ def test_neighbor_section(self):
copy_unit_to_networkd_unit_path('25-neighbor-section.network', '12-dummy.netdev')
start_networkd()
wait_online(['dummy98:degraded'], timeout='40s')