From 0e41613e9f547ab97365329572555936e84f77b2 Mon Sep 17 00:00:00 2001 From: Gavin Carr Date: Thu, 8 Feb 2007 05:18:06 +0000 Subject: Add initial --default-opts implementation to Nagios::Plugin::Getopt (II). git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1617 f882894a-f735-0410-b71e-b25c423dba1c --- t/npg03/README | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 t/npg03/README (limited to 't/npg03/README') diff --git a/t/npg03/README b/t/npg03/README new file mode 100644 index 0000000..a19f263 --- /dev/null +++ b/t/npg03/README @@ -0,0 +1,13 @@ +Nagios-Plugin-Getopt-03.t automatically tests all cases defined in the 'input' directory +and expects the output to match the corresponding file in the 'expected' directory. To +define a new test case, just create a new file in the 'input' directory containing the +input command line, and a corresponding file in the 'expected' directory containing +what you think the expanded command line should be. Note that this expansion is normalised +as follows: + +- command line arguments are reported in alphabetical order +- extraneous white space is removed + +Also, if you use a completely new argument than those defined in Nagios-Plugin-Getopt-03.t +you will need to define it there as well. + -- cgit v1.2.3-74-g34f1