svn commit: samba r21213 - in branches/SAMBA_4_0/source/torture/local: .

tridge at samba.org tridge at samba.org
Wed Feb 7 03:21:59 GMT 2007


Author: tridge
Date: 2007-02-07 03:21:56 +0000 (Wed, 07 Feb 2007)
New Revision: 21213

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21213

Log:

the build farm seems to show that FreeBSD 6.2 has two different error
codes for "Invalid argument". This change should help track that down

Modified:
   branches/SAMBA_4_0/source/torture/local/iconv.c


Changeset:
Modified: branches/SAMBA_4_0/source/torture/local/iconv.c
===================================================================
--- branches/SAMBA_4_0/source/torture/local/iconv.c	2007-02-07 03:16:10 UTC (rev 21212)
+++ branches/SAMBA_4_0/source/torture/local/iconv.c	2007-02-07 03:21:56 UTC (rev 21213)
@@ -184,7 +184,9 @@
 		show_buf(" rem1:", inbuf+(size-size_in1), size_in1);
 		show_buf(" rem2:", inbuf+(size-size_in2), size_in2);
 		torture_fail(test, talloc_asprintf(test, 
-					"e1=%s e2=%s", strerror(errno1), strerror(errno2)));
+						   "e1=%d/%s e2=%d/%s", 
+						   errno1, strerror(errno1), 
+						   errno2, strerror(errno2)));
 	}
 	
 	torture_assert_int_equal(test, outsize1, outsize2, "outsize mismatch");



More information about the samba-cvs mailing list