summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_opts1.t
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-20 23:55:34 -0500
committerThomas Guyot-Sionnest <dermoth@aei.ca>2009-01-20 23:58:02 -0500
commit3b69f134671e60eb5de0ca895177064294b6eb78 (patch)
treee4a006bf794efb29f539b3002f979f179a655b5e /lib/tests/test_opts1.t
parent26bf63a5bba0fae77033693030c75eace202f988 (diff)
downloadmonitoring-plugins-3b69f134671e60eb5de0ca895177064294b6eb78.tar.gz
Some platform are missing setenv
Instead of adding the gnulib module for solving tests only I split the test in two, setting environment from Perl for the later.
Diffstat (limited to 'lib/tests/test_opts1.t')
-rwxr-xr-xlib/tests/test_opts1.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tests/test_opts1.t b/lib/tests/test_opts1.t
new file mode 100755
index 00000000..52eed942
--- /dev/null
+++ b/lib/tests/test_opts1.t
@@ -0,0 +1,6 @@
1#!/usr/bin/perl
2use Test::More;
3if (! -e "./test_opts1") {
4 plan skip_all => "./test_opts1 not compiled - please install tap library and/or enable parse-ini to test";
5}
6exec "./test_opts1";