Add new test - match on "die" error message
commitbacb16365718f55bbb09f9d990011e3829691f16
authorThomas Guyot-Sionnest <dermoth@aei.ca>
Fri, 29 Jun 2012 02:49:41 +0000 (28 22:49 -0400)
committerThomas Guyot-Sionnest <dermoth@aei.ca>
Fri, 29 Jun 2012 02:49:41 +0000 (28 22:49 -0400)
tree03a58f5042e559e680a49be47ef513b9dd7f7d2c
parent9ce4c4c221ff9c5fe451aa9b927dc478e6feb9d9
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 ''
t/Nagios-Plugin-Getopt-03.t
t/npg03/expected/15_badsection_catch [new file with mode: 0644]
t/npg03/input/15_badsection_catch [new file with mode: 0644]