[Mono-bugs] [Bug 72293][Nor] New - Mono.Posix unit tests might fail on some machines

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Mon, 7 Feb 2005 12:38:48 -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 vargaz@gmail.com.

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

--- shadow/72293	2005-02-07 12:38:48.000000000 -0500
+++ shadow/72293.tmp.18189	2005-02-07 12:38:48.000000000 -0500
@@ -0,0 +1,28 @@
+Bug#: 72293
+Product: Mono: Class Libraries
+Version: unspecified
+OS: 
+OS Details: 
+Status: NEW   
+Resolution: 
+Severity: 
+Priority: Normal
+Component: Mono.POSIX
+AssignedTo: jonpryor@vt.edu                            
+ReportedBy: vargaz@gmail.com               
+QAContact: mono-bugs@ximian.com
+TargetMilestone: ---
+URL: 
+Cc: 
+Summary: Mono.Posix unit tests might fail on some machines
+
+On my solaris machine, the
+MonoTests.Mono.Unix.UnixUserTest.NonReentrantSyscalls and
+MonoTests.Mono.Unix.UnixGroupTest.ReentrantConstructors unit tests fail,
+because of this test:
+
+   UnixUserInfo n = new UnixUserInfo (byName);
+   Assert.AreEqual (user, n, "#TNRS: construct by name");
+
+On systems with NIS, it is possible to have multiple users in the passwd
+file with the same name, so the assertion above no longer holds.