Closed phsm closed 5 years ago
can you add new testcase based on your setup?
Hello, added a test case prototype, but it fails due to status code. Seems that the options aren't passed to the test. Can you help me with figuring out how to properly pass them? (sorry, I've never made tests in Perl)
I do not understand. On my machine tests are passing:
~/git/nagios-plugin-check_raid $ make test
perl -MTest::Harness -e 'runtests @ARGV' t/*.t
t/check_aaccli.t .... ok
t/check_afacli.t .... ok
t/check_arcconf.t ... ok
t/check_areca.t ..... ok
t/check_cciss.t ..... ok
t/check_cmdtool2.t .. ok
t/check_dmraid.t .... ok
t/check_dm.t ........ ok
t/check_dpt_i2o.t ... ok
t/check_gdth.t ...... ok
t/check_hpacucli.t .. ok
t/check_hp_msa.t .... ok
t/check_ips.t ....... ok
t/check_lsraid.t .... ok
t/check_lsscsi.t .... ok
t/check_lsvg.t ...... ok
t/check_mdstat.t .... ok
t/check_megacli.t ... ok
t/check_megarc.t .... ok
t/check_metastat.t .. ok
t/check_mpt.t ....... ok
t/check_mvcli.t ..... ok
t/check_sas2ircu.t .. ok
t/check_smartctl.t .. ok
t/check_tw_cli.t .... ok
t/enabled.t ......... ok
t/status.t .......... ok
t/sudo.t ............ ok
All tests successful.
Files=28, Tests=999, 2 wallclock secs ( 0.12 usr 0.03 sys + 2.08 cusr 0.26 csys = 2.49 CPU)
Result: PASS
But travis says they aren't
Fixed tests (didn't know that the dump should be also committed), now the build passes
good work. thanks!
Hello, A small fix to make the program respect the --cache-fail and --bbulearn settings.
Debug output: