[Mono-bugs] [Bug 72559][Nor] New - False positive in mono/tests/pinvoke13.cs

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Sun, 13 Feb 2005 14:27:22 -0500 (EST)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by robertj@gmx.net.

http://bugzilla.ximian.com/show_bug.cgi?id=72559

--- shadow/72559	2005-02-13 14:27:22.000000000 -0500
+++ shadow/72559.tmp.31739	2005-02-13 14:27:22.000000000 -0500
@@ -0,0 +1,33 @@
+Bug#: 72559
+Product: Mono: Runtime
+Version: 1.1
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: misc
+AssignedTo: mono-bugs@ximian.com                            
+ReportedBy: robertj@gmx.net               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: False positive in mono/tests/pinvoke13.cs
+
+The last test of pinvoke13.cs (NameManglingAuto) fails on Linux
+due to a bug in libtest.cs:
+
+STDCALL int
+NameManglingAuto (char *data)
+{
+#ifndef WIN32
+        return (data [0] + data [1] + data [2]) == 131 ? 0 : 1;
+#else
+        g_assert_not_reached ();
+#endif
+}
+
+Assuming CharSet.Auto == CharSet.Ansi, NameManglingAuto
+should test the sum against 198.