Author: miguel
Date: 2006-12-31 23:40:01 -0500 (Sun, 31 Dec 2006)
New Revision: 70301

Added:
   trunk/mono/mono/tests/exists.cs
Modified:
   trunk/mono/mono/tests/ChangeLog
   trunk/mono/mono/tests/Makefile.am
Log:
2006-12-31  Miguel de Icaza  <[EMAIL PROTECTED]>

        * exists.cs: Add new test case for MONO_IOMAP bug. 

Modified: trunk/mono/mono/tests/ChangeLog
===================================================================
--- trunk/mono/mono/tests/ChangeLog     2007-01-01 04:26:28 UTC (rev 70300)
+++ trunk/mono/mono/tests/ChangeLog     2007-01-01 04:40:01 UTC (rev 70301)
@@ -1,3 +1,7 @@
+2006-12-31  Miguel de Icaza  <[EMAIL PROTECTED]>
+
+       * exists.cs: Add new test case for MONO_IOMAP bug. 
+
 2006-11-02  Wade Berrier  <[EMAIL PROTECTED]>
 
        * Makefile.am: Fix path to mkbundle so test passes

Modified: trunk/mono/mono/tests/Makefile.am
===================================================================
--- trunk/mono/mono/tests/Makefile.am   2007-01-01 04:26:28 UTC (rev 70300)
+++ trunk/mono/mono/tests/Makefile.am   2007-01-01 04:40:01 UTC (rev 70301)
@@ -310,7 +310,7 @@
 if PLATFORM_WIN32
 test:   testjit test-type-load test-inline-call-stack
 else
-test:  testjit testbundle test-type-load test-inline-call-stack
+test:  testjit testbundle test-type-load test-inline-call-stack 
test-iomap-regression
 endif
 endif
 
@@ -441,6 +441,10 @@
                time $(JITTEST_PROG) $$i;       \
        done
 
+test-iomap-regression: exists.cs
+       $(MCS) $(srcdir)/exists.cs -out:exists.exe
+       MONO_IOMAP=all $(JITTEST_PROG) exists.exe
+
 stresstest: $(STRESS_TESTS)
        @failed=0; \
        passed=0; \

Added: trunk/mono/mono/tests/exists.cs
===================================================================
--- trunk/mono/mono/tests/exists.cs     2007-01-01 04:26:28 UTC (rev 70300)
+++ trunk/mono/mono/tests/exists.cs     2007-01-01 04:40:01 UTC (rev 70301)
@@ -0,0 +1,9 @@
+using System;
+using System.IO;
+
+class X {
+       static int Main ()
+       {
+               return Directory.Exists ("") == false ? 0 : 1;
+       }
+}


Property changes on: trunk/mono/mono/tests/exists.cs
___________________________________________________________________
Name: svn:eol-style
   + native

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to