summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2375fee)
raw | patch | inline | side by side (parent: 2375fee)
author | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Sun, 6 Jan 2008 07:04:10 +0000 (07:04 +0000) | ||
committer | Thomas Guyot-Sionnest <dermoth@users.sourceforge.net> | |
Sun, 6 Jan 2008 07:04:10 +0000 (07:04 +0000) |
git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1889 f882894a-f735-0410-b71e-b25c423dba1c
lib/tests/test_cmd.c | patch | blob | history |
diff --git a/lib/tests/test_cmd.c b/lib/tests/test_cmd.c
index 7d0915bd1915b322fb4d4522b5c9cde2ddec4c7e..0372c4775e5a1b2e3f950f03def102bd941224ae 100644 (file)
--- a/lib/tests/test_cmd.c
+++ b/lib/tests/test_cmd.c
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 */