Reviewer needed - fix for regression test test/sun/net/www/protocol/file/DirPermissionDenied in IcedTea7

Pavel Tisnovsky ptisnovs at redhat.com
Thu May 12 08:46:25 PDT 2011


Hi all,

I'd like to add new simple patch to IcedTea7 which fixes regression test
test/sun/net/www/protocol/file/DirPermissionDenied. Currently this test
creates unreadable directory (chmod a-r, more precisely chmod 333) and
this directory (which is not empty btw.) is not erased when the test
finishes (command rm -rf does not work in this case).

So I added command which restores +w flag for given user (chmod u+r) and
then the directory and its contents could be properly deleted.

Tested on: recent IcedTea7 on RHEL 5 x86_64


Here is ChangeLog entry:

2011-05-12  Pavel Tisnovsky  <ptisnovs at redhat.com>

        * Makefile.am: Added new patch.
        * patches/jtreg-DirPermissionDenied-fix.patch:
        Patch for regression test DirPermissionDenied -
        this test should clean all files and directories
        created during its run.

Can anybody please review this patch?

Thank you in advance,
Pavel T.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: hg_diff
Url: http://mail.openjdk.java.net/pipermail/distro-pkg-dev/attachments/20110512/42d612c1/hg_diff.ksh 


More information about the distro-pkg-dev mailing list