summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_opts2.t
diff options
context:
space:
mode:
Diffstat (limited to 'lib/tests/test_opts2.t')
-rwxr-xr-xlib/tests/test_opts2.t7
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/tests/test_opts2.t b/lib/tests/test_opts2.t
new file mode 100755
index 0000000..59b9fdb
--- /dev/null
+++ b/lib/tests/test_opts2.t
@@ -0,0 +1,7 @@
+#!/usr/bin/perl
+use Test::More;
+if (! -e "./test_opts2") {
+ plan skip_all => "./test_opts2 not compiled - please enable libtap library and/or extra-opts to test";
+}
+$ENV{"NAGIOS_CONFIG_PATH"} = ".";
+exec "./test_opts2";