diff options
author | Christian Poessinger <christian@poessinger.com> | 2022-03-25 19:38:48 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2022-03-25 19:38:59 +0100 |
commit | 6ad04c53e296cbc445474f1dcb0ceaba64af47f9 (patch) | |
tree | 2dc4e12ff9e8fbff672378ccfa63fac59dcfa108 | |
parent | 3cda556184e4716cfd615001d537bef9f9a52d66 (diff) | |
download | vyos-1x-6ad04c53e296cbc445474f1dcb0ceaba64af47f9.tar.gz vyos-1x-6ad04c53e296cbc445474f1dcb0ceaba64af47f9.zip |
smoketest: ipv6: fix testcase after using new sysctl interface
(cherry picked from commit 6249c2abe7e40a6671549d318ee9b0fbd622b991)
-rwxr-xr-x | smoketest/scripts/cli/test_system_ipv6.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/smoketest/scripts/cli/test_system_ipv6.py b/smoketest/scripts/cli/test_system_ipv6.py index 1325d4b39..3112d2e46 100755 --- a/smoketest/scripts/cli/test_system_ipv6.py +++ b/smoketest/scripts/cli/test_system_ipv6.py @@ -1,6 +1,6 @@ #!/usr/bin/env python3 # -# Copyright (C) 2021 VyOS maintainers and contributors +# Copyright (C) 2021-2022 VyOS maintainers and contributors # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License version 2 or later as @@ -22,7 +22,7 @@ from vyos.util import read_file base_path = ['system', 'ipv6'] file_forwarding = '/proc/sys/net/ipv6/conf/all/forwarding' -file_disable = '/etc/modprobe.d/vyos_disable_ipv6.conf' +file_disable = '/proc/sys/net/ipv6/conf/all/disable_ipv6' file_dad = '/proc/sys/net/ipv6/conf/all/accept_dad' file_multipath = '/proc/sys/net/ipv6/fib_multipath_hash_policy' @@ -48,7 +48,7 @@ class TestSystemIPv6(VyOSUnitTestSHIM.TestCase): self.cli_commit() # Verify configuration file - self.assertEqual(read_file(file_disable), 'options ipv6 disable_ipv6=1') + self.assertEqual(read_file(file_disable), '1') def test_system_ipv6_strict_dad(self): # This defaults to 1 |