summaryrefslogtreecommitdiffstats
path: root/plugins/tests/check_procs.t
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/tests/check_procs.t')
-rwxr-xr-xplugins/tests/check_procs.t1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/tests/check_procs.t b/plugins/tests/check_procs.t
index b153d5d2..54d43d9b 100755
--- a/plugins/tests/check_procs.t
+++ b/plugins/tests/check_procs.t
@@ -50,6 +50,7 @@ SKIP: {
50 50
51SKIP: { 51SKIP: {
52 skip 'user with uid -2 required', 8 unless getpwuid(-2); 52 skip 'user with uid -2 required', 8 unless getpwuid(-2);
53 skip 'uid -2 must have name "nobody"', 8 unless getpwuid(-2) eq 'nobody';
53 54
54 $result = NPTest->testCmd( "$command -u -2 -w 2:2" ); 55 $result = NPTest->testCmd( "$command -u -2 -w 2:2" );
55 is( $result->return_code, 1, "Checking processes with userid=-2" ); 56 is( $result->return_code, 1, "Checking processes with userid=-2" );