summaryrefslogtreecommitdiffstats
path: root/t/npg03/expected/15_badsection_catch
diff options
context:
space:
mode:
authorThomas Guyot-Sionnest <dermoth@aei.ca>2012-06-28 22:49:41 -0400
committerThomas Guyot-Sionnest <dermoth@aei.ca>2012-06-28 22:49:41 -0400
commitbacb16365718f55bbb09f9d990011e3829691f16 (patch)
tree03a58f5042e559e680a49be47ef513b9dd7f7d2c /t/npg03/expected/15_badsection_catch
parent9ce4c4c221ff9c5fe451aa9b927dc478e6feb9d9 (diff)
downloadmonitoring-plugin-perl-bacb16365718f55bbb09f9d990011e3829691f16.tar.gz
Add new test - match on "die" error message
1. Add new test "class" where expected data is the error string caught 2. Add new test exposing a bug where default file used is not shown, ex: Invalid section 'bad_section' in config file ''
Diffstat (limited to 't/npg03/expected/15_badsection_catch')
-rw-r--r--t/npg03/expected/15_badsection_catch1
1 files changed, 1 insertions, 0 deletions
diff --git a/t/npg03/expected/15_badsection_catch b/t/npg03/expected/15_badsection_catch
new file mode 100644
index 0000000..7505c2b
--- /dev/null
+++ b/t/npg03/expected/15_badsection_catch
@@ -0,0 +1 @@
Invalid section 'bad_section' in config file 't/npg03/plugins.ini'