diff options
author | kali <kali@leap.se> | 2012-09-06 04:18:27 +0900 |
---|---|---|
committer | kali <kali@leap.se> | 2012-09-06 04:18:27 +0900 |
commit | fc8a54a40645412e9c738723e54159bfda40cfde (patch) | |
tree | f8edf58ebdef82a0229739f62fb0d9fbcb633a2a /src/leap/eip/tests/test_config.py | |
parent | 275c7c20ec08283b50dce0aa753f48ada2ffe2c7 (diff) |
openvpn management socket is a temp path on each run
Diffstat (limited to 'src/leap/eip/tests/test_config.py')
-rw-r--r-- | src/leap/eip/tests/test_config.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/leap/eip/tests/test_config.py b/src/leap/eip/tests/test_config.py index c73281cc..60300770 100644 --- a/src/leap/eip/tests/test_config.py +++ b/src/leap/eip/tests/test_config.py @@ -71,7 +71,7 @@ class EIPConfigTest(BaseLeapTest): args.append('--management') #XXX hey! #get platform switches here! - args.append('/tmp/.eip.sock') + args.append('/tmp/test.socket') args.append('unix') # certs @@ -114,7 +114,8 @@ class EIPConfigTest(BaseLeapTest): print 'path =', path print 'vpnbin = ', vpnbin command, args = eipconfig.build_ovpn_command( - do_pkexec_check=False, vpnbin=vpnbin) + do_pkexec_check=False, vpnbin=vpnbin, + socket_path="/tmp/test.socket") self.assertEqual(command, self.home + '/bin/openvpn') self.assertEqual(args, self.get_expected_openvpn_args()) |