From a34cf37404104ff5bb13fb5fecdf5e492401c6a3 Mon Sep 17 00:00:00 2001 From: Thomas Guyot-Sionnest Date: Mon, 24 Mar 2008 07:02:28 +0000 Subject: 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 --- lib/tests/test_opts.t | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 lib/tests/test_opts.t (limited to 'lib/tests/test_opts.t') diff --git a/lib/tests/test_opts.t b/lib/tests/test_opts.t new file mode 100755 index 00000000..86a5b21a --- /dev/null +++ b/lib/tests/test_opts.t @@ -0,0 +1,6 @@ +#!/usr/bin/perl +use Test::More; +if (! -e "./test_opts") { + plan skip_all => "./test_opts not compiled - please install tap library to test"; +} +exec "./test_opts"; -- cgit v1.2.3-74-g34f1