summaryrefslogtreecommitdiff
path: root/tests/white-box/openvpn.rb
blob: 170d450382fbd2ba47850ed5d3f6e262a250db98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
raise SkipTest unless service?(:openvpn)

class OpenVPN < LeapTest
  depends_on "Network"

  def setup
  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$'
    pass
  end

end