diff options
author | elijah <elijah@riseup.net> | 2017-02-09 16:34:56 -0800 |
---|---|---|
committer | elijah <elijah@riseup.net> | 2017-02-09 16:34:56 -0800 |
commit | 9e68982b4ef8af087e8792e502d37632d1a9a0e8 (patch) | |
tree | c5a9d8e24ac3c498972fa25ecded9b0eb5e0dd90 /tests/server-tests/white-box/openvpn.rb | |
parent | 36e47f7ae592e753149928a2a754d5e6f5abf74f (diff) |
tests: check process by either process scan or service name. closes #8753
Diffstat (limited to 'tests/server-tests/white-box/openvpn.rb')
-rw-r--r-- | tests/server-tests/white-box/openvpn.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/server-tests/white-box/openvpn.rb b/tests/server-tests/white-box/openvpn.rb index d5cc2265..4eed7eb9 100644 --- a/tests/server-tests/white-box/openvpn.rb +++ b/tests/server-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 match: '^/usr/sbin/openvpn .* /etc/openvpn/tcp_config.conf$' + assert_running match: '^/usr/sbin/openvpn .* /etc/openvpn/udp_config.conf$' + assert_running match: '^/usr/sbin/unbound' pass end |