Skip to content
Commit 4738a299 authored by Elvis Angelaccio's avatar Elvis Angelaccio
Browse files

Test whether we preserve permissions upon extraction

The new test cases revelead the following bugs:

    FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (7z, kerfuffle_cli7z)) Compared values are not the same
    FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (tar.gz, kerfuffle_libarchive)) Compared values are not the same
    FAIL!  : ExtractTest::testPreservePermissions(test preserve 0755 permissions (zip, kerfuffle_libzip)) Compared values are not the same
    FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (zip, kerfuffle_libzip)) Compared values are not the same
    FAIL!  : ExtractTest::testPreservePermissions(test preserve 0664 permissions (zip, kerfuffle_cli7z)) Compared values are not the same

In the libzip case, we need to retrieve the permissions from the
extended file attributes.

CCBUG: 381499
parent 4a9efc51
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment