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

end