From 058d6e02982f9b0ea0d3451284f19a378b9ef8a4 Mon Sep 17 00:00:00 2001 From: Ton Voon Date: Thu, 13 Dec 2007 08:55:42 +0000 Subject: 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 --- t/npg03/expected/05_disk7 | 1 + t/npg03/input/05_disk7 | 1 + t/npg03/plugins.ini | 5 +++++ 3 files changed, 7 insertions(+) create mode 100644 t/npg03/expected/05_disk7 create mode 100644 t/npg03/input/05_disk7 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" p= expect=" space in front" +# Test 3 parameters +[check_disk3] +p=/ +p=/var +p=/tmp -- cgit v1.2.3-74-g34f1