Hello,

I guess we can document this on the site, I would not change the tests as 
running with root is a unusual thing to do, anyway.

Gruss
Bernd


--
http://bernd.eckenfels.net
________________________________
Von: shuming chen <csm...@hotmail.com>
Gesendet: Wednesday, May 13, 2020 12:20:46 PM
An: dev@commons.apache.org <dev@commons.apache.org>
Betreff: [vfs] have some test failures when build with linux root user

Hi, all
    I'm trying to build the commons-vfs project by use maven command (mvn clean 
install) and I get some test failures.

    One of these failures came from 
org.apache.commons.vfs2.filter.CanReadFileFilterTest.testAcceptReadOnly() and 
it seems the reason is :
    1. the test case create a read-only file
    2. the test case check is this read-only file writable and it returns true, 
so the test case fail.

   I found this failure is related to root user. The test will pass if I don't 
run as root user.

Reply via email to