FileSystemProviderTest rücksichtslos empties java.io.tmpdir
-----------------------------------------------------------
Key: JSPWIKI-466
URL: https://issues.apache.org/jira/browse/JSPWIKI-466
Project: JSPWiki
Issue Type: Bug
Affects Versions: 2.8.1, 2.8.2, 3.0
Environment: JSPWIKI 3.0
Ubuntu Linux
Reporter: Harry Metske
Assignee: Harry Metske
Fix For: 3.0
I was wondering for many months why I got completely unexpectedl strange
behavior for my Gnome environment.
Console sessions did not start anymore, Nautilus did not start anymore,
configuration settings for several application could not be found anymore.
Only logoff/logon could solve it.
Last week I noticed that files in the /tmp directory that were only a few
minutes old, got deleted.
After monitoring my /tmp for a while, I noticed today that this happens when I
run the JSPWiki tests.
Further narrowing down reveals that the FileSystemProviderTest happily empties
the java.io.tmpdir during teardown.
the tearDown() does:
TestEngine.deleteAll( new File(m_pagedir) );
where m_pagedir is System.getProperties().getProperty("java.io.tmpdir")
Patch is coming.......
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.