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

[email protected]
Newsgroups gmane.network.nagios.plugins.cvs
Message-ID <[email protected]>
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.

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.