summaryrefslogtreecommitdiffstats
path: root/lib/tests/test_opts.t
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-03-24 07:02:28 (GMT)
committerThomas Guyot-Sionnest <dermoth@users.sourceforge.net>2008-03-24 07:02:28 (GMT)
commita34cf37404104ff5bb13fb5fecdf5e492401c6a3 (patch)
treee41a60d8a551b4ec7ef65be4ce084b7ae02be79e /lib/tests/test_opts.t
parentdce143e354da414bdd5fa5fb0b9b488ac4221200 (diff)
downloadmonitoring-plugins-a34cf37404104ff5bb13fb5fecdf5e492401c6a3.tar.gz
Add extra-opts argument parsing with tests
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1961 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib/tests/test_opts.t')
-rwxr-xr-xlib/tests/test_opts.t6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/tests/test_opts.t b/lib/tests/test_opts.t
new file mode 100755
index 0000000..86a5b21
--- /dev/null
+++ b/lib/tests/test_opts.t
@@ -0,0 +1,6 @@
1#!/usr/bin/perl
2use Test::More;
3if (! -e "./test_opts") {
4 plan skip_all => "./test_opts not compiled - please install tap library to test";
5}
6exec "./test_opts";