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/expected | |
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/expected')
-rw-r--r-- | t/npg03/expected/00_basic | 1 | ||||
-rw-r--r-- | t/npg03/expected/01_override1 | 1 | ||||
-rw-r--r-- | t/npg03/expected/02_override2 | 1 | ||||
-rw-r--r-- | t/npg03/expected/05_singlechar1 | 1 | ||||
-rw-r--r-- | t/npg03/expected/06_singlechar2 | 1 | ||||
-rw-r--r-- | t/npg03/expected/07_singlechar3 | 1 | ||||
-rw-r--r-- | t/npg03/expected/09_funnystuff | 1 | ||||
-rw-r--r-- | t/npg03/expected/12_nosection_implicit | 1 |
8 files changed, 8 insertions, 0 deletions
diff --git a/t/npg03/expected/00_basic b/t/npg03/expected/00_basic new file mode 100644 index 0000000..9707dbd --- /dev/null +++ b/t/npg03/expected/00_basic | |||
@@ -0,0 +1 @@ | |||
check_mysql -H localhost -S --critical=15 --password=secret --username=altinity --warning=10 | |||
diff --git a/t/npg03/expected/01_override1 b/t/npg03/expected/01_override1 new file mode 100644 index 0000000..8288914 --- /dev/null +++ b/t/npg03/expected/01_override1 | |||
@@ -0,0 +1 @@ | |||
check_mysql --critical=15 --username=admin --warning=5 | |||
diff --git a/t/npg03/expected/02_override2 b/t/npg03/expected/02_override2 new file mode 100644 index 0000000..7946308 --- /dev/null +++ b/t/npg03/expected/02_override2 | |||
@@ -0,0 +1 @@ | |||
check_mysql --password=secret --username=admin | |||
diff --git a/t/npg03/expected/05_singlechar1 b/t/npg03/expected/05_singlechar1 new file mode 100644 index 0000000..13a3f9b --- /dev/null +++ b/t/npg03/expected/05_singlechar1 | |||
@@ -0,0 +1 @@ | |||
check_disk -p /home | |||
diff --git a/t/npg03/expected/06_singlechar2 b/t/npg03/expected/06_singlechar2 new file mode 100644 index 0000000..8f9df5e --- /dev/null +++ b/t/npg03/expected/06_singlechar2 | |||
@@ -0,0 +1 @@ | |||
check_disk -p /var | |||
diff --git a/t/npg03/expected/07_singlechar3 b/t/npg03/expected/07_singlechar3 new file mode 100644 index 0000000..f4e6ed7 --- /dev/null +++ b/t/npg03/expected/07_singlechar3 | |||
@@ -0,0 +1 @@ | |||
check_disk -p /home -p /users | |||
diff --git a/t/npg03/expected/09_funnystuff b/t/npg03/expected/09_funnystuff new file mode 100644 index 0000000..6d510b8 --- /dev/null +++ b/t/npg03/expected/09_funnystuff | |||
@@ -0,0 +1 @@ | |||
check_disk --expect=" space in front" -p "" --username="Ton Voon" | |||
diff --git a/t/npg03/expected/12_nosection_implicit b/t/npg03/expected/12_nosection_implicit new file mode 100644 index 0000000..7bb6136 --- /dev/null +++ b/t/npg03/expected/12_nosection_implicit | |||
@@ -0,0 +1 @@ | |||
check_no_section -H localhost | |||