From fa90ab06aa09224d5a1fbac69c9bc0f067099206 Mon Sep 17 00:00:00 2001 From: Micah Date: Mon, 30 Nov 2015 12:48:10 -0500 Subject: improve whitebox tests to match on more specific processes (#7655, #7676) Change-Id: I9f267ba38130ceb308d284c926b14d2cee9f87be --- tests/white-box/openvpn.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'tests/white-box/openvpn.rb') 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 -- cgit v1.2.3