diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-06-26 08:53:15 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-06-26 08:53:15 +0200 |
commit | 03e1d273acf3c182da69013288eda3a8f274153b (patch) | |
tree | e46e0008eac23c2c8b21d818995e735f2c91e50e /smoketest/scripts/cli | |
parent | 037aa93f493648f6e99b796fce920ec63dbc994e (diff) | |
download | vyos-1x-03e1d273acf3c182da69013288eda3a8f274153b.tar.gz vyos-1x-03e1d273acf3c182da69013288eda3a8f274153b.zip |
Revert "ipsec: T3643: move swanctl.conf to /run"
This reverts commit 95bbbb8bed92a60a320ff255c8b8656145f3c540.
Diffstat (limited to 'smoketest/scripts/cli')
-rwxr-xr-x | smoketest/scripts/cli/test_vpn_ipsec.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/smoketest/scripts/cli/test_vpn_ipsec.py b/smoketest/scripts/cli/test_vpn_ipsec.py index b7e9d8dcf..b27ed3ca5 100755 --- a/smoketest/scripts/cli/test_vpn_ipsec.py +++ b/smoketest/scripts/cli/test_vpn_ipsec.py @@ -28,7 +28,7 @@ nhrp_path = ['protocols', 'nhrp'] base_path = ['vpn', 'ipsec'] dhcp_waiting_file = '/tmp/ipsec_dhcp_waiting' -swanctl_file = '/run/swanctl/swanctl.conf' +swanctl_file = '/etc/swanctl/swanctl.conf' class TestVPNIPsec(VyOSUnitTestSHIM.TestCase): def tearDown(self): @@ -250,7 +250,7 @@ class TestVPNIPsec(VyOSUnitTestSHIM.TestCase): 'secret = secret' ] - tmp_swanctl_conf = read_file(swanctl_file) + tmp_swanctl_conf = read_file('/etc/swanctl/swanctl.conf') for line in swanctl_lines: self.assertIn(line, tmp_swanctl_conf) |