diff options
| author | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-20 23:55:34 -0500 |
|---|---|---|
| committer | Thomas Guyot-Sionnest <dermoth@aei.ca> | 2009-01-20 23:58:02 -0500 |
| commit | 3b69f134671e60eb5de0ca895177064294b6eb78 (patch) | |
| tree | e4a006bf794efb29f539b3002f979f179a655b5e /lib/tests/test_opts1.t | |
| parent | 26bf63a5bba0fae77033693030c75eace202f988 (diff) | |
| download | monitoring-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-x | lib/tests/test_opts1.t | 6 |
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 | ||
| 2 | use Test::More; | ||
| 3 | if (! -e "./test_opts1") { | ||
| 4 | plan skip_all => "./test_opts1 not compiled - please install tap library and/or enable parse-ini to test"; | ||
| 5 | } | ||
| 6 | exec "./test_opts1"; | ||
