This is the mail archive of the mauve-discuss@sourceware.org mailing list for the Mauve project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Fix for test gnu/testlet/java/io/File/security.java


Greetings,

I'd like to fix the Mauve test "gnu/testlet/java/io/File/security.java" to
properly close & delete all its work files and directories in the right order.

The fix is very simple:


--- mauve/gnu/testlet/java/io/File/security.java        2010-11-15
21:56:26.000000000 +0100
+++ mauve/gnu/testlet/java/io/File/security.java        2011-08-12
17:15:54.000000000 +0200
@@ -526,8 +526,9 @@
       if (tmpfile2 != null) tmpfile2.delete();
       if (tf1 != null) tf1.delete();
       if (tf2 != null) tf2.delete();
-      if (tmpdir != null) tmpdir.delete();
+      if (tmpdir3 != null) tmpdir3.delete();
       if (tmpdir2 != null) tmpdir2.delete();
+      if (tmpdir != null) tmpdir.delete();
     }
   }
 }


Is it possible to push this fix to CVS please?

Thank you in advance,
Pavel Tisnovsky


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]