Author: gert
Date: 2008-01-16 13:02:34 -0500 (Wed, 16 Jan 2008)
New Revision: 93071
Added:
trunk/gert/standalone/bug354051/
trunk/gert/standalone/bug354051/default.build
trunk/gert/standalone/bug354051/test.cs
Modified:
trunk/gert/standalone/known-issues
Log:
Added test for bug #354051.
Added: trunk/gert/standalone/bug354051/default.build
===================================================================
--- trunk/gert/standalone/bug354051/default.build 2008-01-16 17:59:14 UTC
(rev 93070)
+++ trunk/gert/standalone/bug354051/default.build 2008-01-16 18:02:34 UTC
(rev 93071)
@@ -0,0 +1,25 @@
+<project name="bug354051" default="rebuild">
+ <include buildfile="../../build/common.build" />
+
+ <property name="frameworks" value="mono-1.0,mono-2.0,net-1.1,net-2.0" />
+
+ <target name="clean">
+ <delete>
+ <fileset>
+ <include name="test.exe" />
+ </fileset>
+ </delete>
+ </target>
+
+ <target name="compile" depends="init">
+ <csc target="exe" define="${csc.defines}" output="test.exe"
warnaserror="true" warninglevel="4">
+ <sources>
+ <include name="test.cs" />
+ </sources>
+ </csc>
+ </target>
+
+ <target name="run-test" depends="compile">
+ <exec program="test.exe" managed="true" />
+ </target>
+</project>
Property changes on: trunk/gert/standalone/bug354051/default.build
___________________________________________________________________
Name: svn:eol-style
+ native
Added: trunk/gert/standalone/bug354051/test.cs
===================================================================
--- trunk/gert/standalone/bug354051/test.cs 2008-01-16 17:59:14 UTC (rev
93070)
+++ trunk/gert/standalone/bug354051/test.cs 2008-01-16 18:02:34 UTC (rev
93071)
@@ -0,0 +1,15 @@
+using System.Diagnostics;
+
+class Program
+{
+ static int Main ()
+ {
+ ProcessStartInfo info = new ProcessStartInfo ("echo", null);
+ info.UseShellExecute = false;
+ Process p = Process.Start (info);
+ p.WaitForExit ();
+ if (p.ExitCode != 0)
+ return 1;
+ return 0;
+ }
+}
Property changes on: trunk/gert/standalone/bug354051/test.cs
___________________________________________________________________
Name: svn:eol-style
+ native
Modified: trunk/gert/standalone/known-issues
===================================================================
--- trunk/gert/standalone/known-issues 2008-01-16 17:59:14 UTC (rev 93070)
+++ trunk/gert/standalone/known-issues 2008-01-16 18:02:34 UTC (rev 93071)
@@ -142,4 +142,3 @@
bug351740/**
bug353495/**
bug353537/**
-bug354241/**
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches