diff options
author | Micah <micah@leap.se> | 2015-11-30 12:48:10 -0500 |
---|---|---|
committer | Micah <micah@leap.se> | 2015-12-03 16:39:44 -0500 |
commit | fa90ab06aa09224d5a1fbac69c9bc0f067099206 (patch) | |
tree | bb52bdac7171a4188acacd5a7b8fee9d759f9e7a /tests/white-box/openvpn.rb | |
parent | 160be9bb3eb783be7e67f79560e0a7331f73e9cc (diff) |
improve whitebox tests to match on more specific processes (#7655, #7676)
Change-Id: I9f267ba38130ceb308d284c926b14d2cee9f87be
Diffstat (limited to 'tests/white-box/openvpn.rb')
-rw-r--r-- | tests/white-box/openvpn.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/white-box/openvpn.rb b/tests/white-box/openvpn.rb index 23a40426..170d4503 100644 --- a/tests/white-box/openvpn.rb +++ b/tests/white-box/openvpn.rb @@ -7,9 +7,9 @@ class OpenVPN < LeapTest end def test_01_Are_daemons_running? - assert_running '/usr/sbin/openvpn .* /etc/openvpn/tcp_config.conf' - assert_running '/usr/sbin/openvpn .* /etc/openvpn/udp_config.conf' - assert_running '/usr/sbin/unbound' + assert_running '^/usr/sbin/openvpn .* /etc/openvpn/tcp_config.conf$' + assert_running '^/usr/sbin/openvpn .* /etc/openvpn/udp_config.conf$' + assert_running '^/usr/sbin/unbound$' pass end |