summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorMicah Anderson <micah@leap.se>2014-09-15 16:37:08 -0400
committerMicah Anderson <micah@leap.se>2014-09-15 16:37:08 -0400
commita91da714d50b63f4f0b28047000633302cd9a8ea (patch)
treef2b8bf7bda3b6e5890d32f35e7a8265ed18bc602 /tests
parent027b26f0a1eda93b203d095c9ea2a83e51f90c12 (diff)
tests: make shorewall optional
Change-Id: I1703ff7b3dafe5d0562a7c34c1851ebfedc569a8
Diffstat (limited to 'tests')
-rw-r--r--tests/white-box/network.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/white-box/network.rb b/tests/white-box/network.rb
index 0d98c314..f2041710 100644
--- a/tests/white-box/network.rb
+++ b/tests/white-box/network.rb
@@ -54,6 +54,7 @@ class Network < LeapTest
end
def test_03_Is_shorewall_running?
+ ignore unless File.exists?('/sbin/shorewall')
assert_run('/sbin/shorewall status')
pass
end