[kaffe] CVS kaffe (guilhem): Added missing test case.

Kaffe CVS cvs-commits at kaffe.org
Sun Aug 31 22:54:01 PDT 2003


PatchSet 4006 
Date: 2003/09/01 05:51:23
Author: guilhem
Branch: HEAD
Tag: (none) 
Log:
Added missing test case.

Members: 
	ChangeLog:1.1602->1.1603 
	test/regression/DeleteFile.java:INITIAL->1.1 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.1602 kaffe/ChangeLog:1.1603
--- kaffe/ChangeLog:1.1602	Mon Sep  1 03:06:57 2003
+++ kaffe/ChangeLog	Mon Sep  1 05:51:23 2003
@@ -1,3 +1,7 @@
+2003-09-01  Guilhem Lavaux <guilhem at kaffe.org>
+
+	* test/regression/DeleteFile.java: added missing test case.
+
 2003-08-31  Timothy S. Stack <stack at cs.utah.edu>
 
 	* kaffe/kaffevm/access.c:
===================================================================
Checking out kaffe/test/regression/DeleteFile.java
RCS:  /home/cvs/kaffe/kaffe/test/regression/DeleteFile.java,v
VERS: 1.1
***************
--- /dev/null	Sun Aug  4 19:57:58 2002
+++ kaffe/test/regression/DeleteFile.java	Mon Sep  1 05:53:09 2003
@@ -0,0 +1,21 @@
+import java.io.File;
+import java.io.FileOutputStream;
+
+public class DeleteFile
+{
+	public static void main(String args[]) throws Exception
+	{
+		FileOutputStream of = new FileOutputStream("deleteOnExit.test");
+		of.close();
+
+		File f = new File((File)null, "deleteOnExit.test");
+		f.deleteOnExit();
+
+		System.out.println("done.");
+		System.exit(0);
+	}
+}
+// java args: || test -f deleteOnExit.test
+/* Expected Output:
+done.
+*/




More information about the kaffe mailing list