[monitoring-plugins] check_procs -- update test data too

Wolfgang Karall-Ahlborn git at monitoring-plugins.org
Wed Nov 17 18:10:12 CET 2021


 Module: monitoring-plugins
 Branch: master
 Commit: 9076ea36f70dbd643de4102a88dbd2f18847af16
 Author: Wolfgang Karall-Ahlborn <office at karall-edv.at>
   Date: Sun Jan  3 12:18:31 2021 +0100
    URL: https://www.monitoring-plugins.org/repositories/monitoring-plugins/commit/?id=9076ea3

check_procs -- update test data too

---

 plugins/tests/check_procs.t | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/tests/check_procs.t b/plugins/tests/check_procs.t
index 54d43d9..6d71015 100755
--- a/plugins/tests/check_procs.t
+++ b/plugins/tests/check_procs.t
@@ -83,7 +83,7 @@ is( $result->output, 'PROCS OK: 3 processes with RSS >= 100000 | procs=3;;;0;',
 
 $result = NPTest->testCmd( "$command -s S" );
 is( $result->return_code, 0, "Checking filter for sleeping processes" );
-like( $result->output, '/^PROCS OK: 44 processes with STATE = S/', "Output correct" );
+like( $result->output, '/^PROCS OK: 88 processes with STATE = S/', "Output correct" );
 
 $result = NPTest->testCmd( "$command -s Z" );
 is( $result->return_code, 0, "Checking filter for zombies" );



More information about the Commits mailing list