diff options
author | Ton Voon <tonvoon@users.sourceforge.net> | 2007-12-13 08:55:42 +0000 |
---|---|---|
committer | Ton Voon <tonvoon@users.sourceforge.net> | 2007-12-13 08:55:42 +0000 |
commit | 058d6e02982f9b0ea0d3451284f19a378b9ef8a4 (patch) | |
tree | a939b5a19bba500741ed91cb58ba376a1b832ce9 /t/npg03 | |
parent | 27c713707b6af759a6cfb83b0fe8272a1bf41f67 (diff) | |
download | monitoring-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_disk7 | 1 | ||||
-rw-r--r-- | t/npg03/input/05_disk7 | 1 | ||||
-rw-r--r-- | t/npg03/plugins.ini | 5 |
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" | |||
28 | p= | 28 | p= |
29 | expect=" space in front" | 29 | expect=" space in front" |
30 | 30 | ||
31 | # Test 3 parameters | ||
32 | [check_disk3] | ||
33 | p=/ | ||
34 | p=/var | ||
35 | p=/tmp | ||