aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-01-06 07:04:10 +0000
committerGravatar Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> 2008-01-06 07:04:10 +0000
commit541c4ef8562ca62b850e45f3231da915f3b02889 (patch)
tree957679d704a98241fa059520337ce932fda1fe7b /lib
parent2375feee3d81b692116f078b41df8b19aecd6e68 (diff)
downloadmonitoring-plugins-541c4ef8562ca62b850e45f3231da915f3b02889.tar.gz
Fix tinderbox breakage
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1889 f882894a-f735-0410-b71e-b25c423dba1c
Diffstat (limited to 'lib')
-rw-r--r--lib/tests/test_cmd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/test_cmd.c b/lib/tests/test_cmd.c
index 7d0915bd..0372c477 100644
--- a/lib/tests/test_cmd.c
+++ b/lib/tests/test_cmd.c
@@ -202,7 +202,7 @@ main (int argc, char **argv)
ok (chld_err.lines == 1,
"...but does give an error line");
ok (strstr(chld_err.line[0],"non-existant-file") != NULL, "And missing filename is in error message");
- ok (result == 127, "Get return code 127 from /bin/sh");
+ ok (result != 0, "Get non-zero return code from /bin/sh");
/* ensure everything is empty again */