summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWolfgang Karall-Ahlborn <office@karall-edv.at>2021-01-03 12:18:31 +0100
committerWolfgang Karall-Ahlborn <office@karall-edv.at>2021-01-03 12:18:31 +0100
commit9076ea36f70dbd643de4102a88dbd2f18847af16 (patch)
tree80ed1ec718366a685024751e20d4587fe3efe402
parent8eaccee190734a12763a51aaa8a46f324f6742ec (diff)
downloadmonitoring-plugins-9076ea3.tar.gz
check_procs -- update test data too
-rwxr-xr-xplugins/tests/check_procs.t2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/tests/check_procs.t b/plugins/tests/check_procs.t
index 54d43d9b..6d710159 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;',
83 83
84$result = NPTest->testCmd( "$command -s S" ); 84$result = NPTest->testCmd( "$command -s S" );
85is( $result->return_code, 0, "Checking filter for sleeping processes" ); 85is( $result->return_code, 0, "Checking filter for sleeping processes" );
86like( $result->output, '/^PROCS OK: 44 processes with STATE = S/', "Output correct" ); 86like( $result->output, '/^PROCS OK: 88 processes with STATE = S/', "Output correct" );
87 87
88$result = NPTest->testCmd( "$command -s Z" ); 88$result = NPTest->testCmd( "$command -s Z" );
89is( $result->return_code, 0, "Checking filter for zombies" ); 89is( $result->return_code, 0, "Checking filter for zombies" );