diff options
| author | Gavin Carr <gonzai@users.sourceforge.net> | 2007-02-08 05:18:06 +0000 |
|---|---|---|
| committer | Gavin Carr <gonzai@users.sourceforge.net> | 2007-02-08 05:18:06 +0000 |
| commit | 0e41613e9f547ab97365329572555936e84f77b2 (patch) | |
| tree | 4d657ad1a7bb96ba4f4ff40037198edc58449aed /t/npg03/README | |
| parent | d56d5a0d2d4b29ac2a296bc39a7b80862a7f7e8f (diff) | |
| download | monitoring-plugin-perl-0e41613e9f547ab97365329572555936e84f77b2.tar.gz | |
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
Diffstat (limited to 't/npg03/README')
| -rw-r--r-- | t/npg03/README | 13 |
1 files changed, 13 insertions, 0 deletions
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 @@ | |||
| 1 | Nagios-Plugin-Getopt-03.t automatically tests all cases defined in the 'input' directory | ||
| 2 | and expects the output to match the corresponding file in the 'expected' directory. To | ||
| 3 | define a new test case, just create a new file in the 'input' directory containing the | ||
| 4 | input command line, and a corresponding file in the 'expected' directory containing | ||
| 5 | what you think the expanded command line should be. Note that this expansion is normalised | ||
| 6 | as follows: | ||
| 7 | |||
| 8 | - command line arguments are reported in alphabetical order | ||
| 9 | - extraneous white space is removed | ||
| 10 | |||
| 11 | Also, if you use a completely new argument than those defined in Nagios-Plugin-Getopt-03.t | ||
| 12 | you will need to define it there as well. | ||
| 13 | |||
