Explorar o código

Fix tinderbox breakage

git-svn-id: https://nagiosplug.svn.sourceforge.net/svnroot/nagiosplug/nagiosplug/trunk@1889 f882894a-f735-0410-b71e-b25c423dba1c
Thomas Guyot-Sionnest %!s(int64=18) %!d(string=hai) anos
pai
achega
541c4ef856
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      lib/tests/test_cmd.c

+ 1 - 1
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 */