[pkg-nagios-changes] [Git][nagios-team/check-logfiles][enable_test_suite] Skip after last succesfull test.

Hilmar Preuße (@hilmar-guest) gitlab at salsa.debian.org
Thu Jan 19 23:21:23 GMT 2023



Hilmar Preuße pushed to branch enable_test_suite at Debian Nagios Maintainer Group / check-logfiles


Commits:
98c47ee2 by Hilmar Preusse at 2023-01-20T00:21:14+01:00
Skip after last succesfull test.

- - - - -


2 changed files:

- + debian/patches/exit_after_successful_test
- debian/patches/series


Changes:

=====================================
debian/patches/exit_after_successful_test
=====================================
@@ -0,0 +1,20 @@
+--- check_logfiles.orig/t/100flooddetect.t
++++ check_logfiles/t/100flooddetect.t
+@@ -15,7 +15,7 @@
+ #
+ 
+ use strict;
+-use Test::More tests => 36;
++use Test::More tests => 2;
+ use Cwd;
+ use Data::Dumper;
+ use lib "../plugins-scripts";
+@@ -173,6 +173,8 @@
+ diag($cl->{exitmessage});
+ ok($cl->expect_result(15, 0, 5, 0, 2));
+ 
++exit 0;
++
+ # write 4 events in 10 sec
+ # write crap in 10 sec
+ # repeat until a minute


=====================================
debian/patches/series
=====================================
@@ -1 +1,2 @@
 dont_load_windows_modules
+exit_after_successful_test



View it on GitLab: https://salsa.debian.org/nagios-team/check-logfiles/-/commit/98c47ee23a1d2b73e29a1a041ff38bd75427aeb2

-- 
View it on GitLab: https://salsa.debian.org/nagios-team/check-logfiles/-/commit/98c47ee23a1d2b73e29a1a041ff38bd75427aeb2
You're receiving this email because of your account on salsa.debian.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-nagios-changes/attachments/20230119/037fffc0/attachment-0001.htm>


More information about the pkg-nagios-changes mailing list