test-network: mention that the captive portal option is supported since v2.20
authorYu Watanabe <watanabe.yu+github@gmail.com>
Mon, 17 Jun 2024 15:09:03 +0000 (00:09 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 18 Jun 2024 18:41:01 +0000 (20:41 +0200)
The current latest release is v2.19, hence the test is typically skipped now.

(cherry picked from commit 4f6d8ab0767e534553bfa130f39dbb07ebb804a4)

test/test-network/systemd-networkd-tests.py

index 92cb07f11c4b13cca36d253c4c171b416b62165a..0355c7aca1b3c8923d5aeded78129b64abfe7d4f 100755 (executable)
@@ -5824,6 +5824,8 @@ class NetworkdRATests(unittest.TestCase, Utilities):
         self.assertIn('pref high', output)
         self.assertNotIn('pref low', output)
 
+    # radvd supports captive portal since v2.20.
+    # https://github.com/radvd-project/radvd/commit/791179a7f730decbddb2290ef0e34aa85d71b1bc
     @unittest.skipUnless(radvd_check_config('captive-portal.conf'), "Installed radvd doesn't support captive portals")
     def test_captive_portal(self):
         copy_network_unit('25-veth-client.netdev',