summaryrefslogtreecommitdiffstats
path: root/t/npg03
diff options
context:
space:
mode:
authorTon Voon <tonvoon@users.sourceforge.net>2007-12-13 08:55:42 +0000
committerTon Voon <tonvoon@users.sourceforge.net>2007-12-13 08:55:42 +0000
commit058d6e02982f9b0ea0d3451284f19a378b9ef8a4 (patch)
treea939b5a19bba500741ed91cb58ba376a1b832ce9 /t/npg03
parent27c713707b6af759a6cfb83b0fe8272a1bf41f67 (diff)
downloadmonitoring-plugin-perl-058d6e02982f9b0ea0d3451284f19a378b9ef8a4.tar.gz
Added testcase for > 2 repeated parameters
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/Nagios-Plugin/trunk@1868 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 't/npg03')
-rw-r--r--t/npg03/expected/05_disk71
-rw-r--r--t/npg03/input/05_disk71
-rw-r--r--t/npg03/plugins.ini5
3 files changed, 7 insertions, 0 deletions
diff --git a/t/npg03/expected/05_disk7 b/t/npg03/expected/05_disk7
new file mode 100644
index 0000000..0690bb8
--- /dev/null
+++ b/t/npg03/expected/05_disk7
@@ -0,0 +1 @@
check_disk3 -p / -p /var -p /tmp --path=/home
diff --git a/t/npg03/input/05_disk7 b/t/npg03/input/05_disk7
new file mode 100644
index 0000000..714de3d
--- /dev/null
+++ b/t/npg03/input/05_disk7
@@ -0,0 +1 @@
check_disk3 --extra-opts --path=/home
diff --git a/t/npg03/plugins.ini b/t/npg03/plugins.ini
index 2d3c551..f312592 100644
--- a/t/npg03/plugins.ini
+++ b/t/npg03/plugins.ini
@@ -28,3 +28,8 @@ username="Ton Voon"
28p= 28p=
29expect=" space in front" 29expect=" space in front"
30 30
31# Test 3 parameters
32[check_disk3]
33p=/
34p=/var
35p=/tmp