summaryrefslogtreecommitdiff
path: root/tests/server-tests/white-box/openvpn.rb
blob: d5cc2265b8fc2a4e9bd3b2d61f9ff66348b20e7e (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