diff options
-rw-r--r-- | lib/tests/test_cmd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/tests/test_cmd.c b/lib/tests/test_cmd.c index 7d0915b..0372c47 100644 --- a/lib/tests/test_cmd.c +++ b/lib/tests/test_cmd.c | |||
@@ -202,7 +202,7 @@ main (int argc, char **argv) | |||
202 | ok (chld_err.lines == 1, | 202 | ok (chld_err.lines == 1, |
203 | "...but does give an error line"); | 203 | "...but does give an error line"); |
204 | ok (strstr(chld_err.line[0],"non-existant-file") != NULL, "And missing filename is in error message"); | 204 | ok (strstr(chld_err.line[0],"non-existant-file") != NULL, "And missing filename is in error message"); |
205 | ok (result == 127, "Get return code 127 from /bin/sh"); | 205 | ok (result != 0, "Get non-zero return code from /bin/sh"); |
206 | 206 | ||
207 | 207 | ||
208 | /* ensure everything is empty again */ | 208 | /* ensure everything is empty again */ |