[Nagiosplug-checkins] SF.net SVN: nagiosplug: [1889] nagiosplug/trunk/lib/tests/test_cmd.c

dermoth at users.sourceforge.net dermoth at users.sourceforge.net
Sun Jan 6 08:04:10 CET 2008


Revision: 1889
          http://nagiosplug.svn.sourceforge.net/nagiosplug/?rev=1889&view=rev
Author:   dermoth
Date:     2008-01-05 23:04:10 -0800 (Sat, 05 Jan 2008)

Log Message:
-----------
Fix tinderbox breakage

Modified Paths:
--------------
    nagiosplug/trunk/lib/tests/test_cmd.c

Modified: nagiosplug/trunk/lib/tests/test_cmd.c
===================================================================
--- nagiosplug/trunk/lib/tests/test_cmd.c	2008-01-06 00:10:49 UTC (rev 1888)
+++ nagiosplug/trunk/lib/tests/test_cmd.c	2008-01-06 07:04:10 UTC (rev 1889)
@@ -202,7 +202,7 @@
 	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 */


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list