]> git.ipfire.org Git - thirdparty/libarchive.git/commit
Use ustar format in the test_option_b test
authorPavel Raiskup <praiskup@redhat.com>
Thu, 27 Jun 2013 14:01:30 +0000 (16:01 +0200)
committerTim Kientzle <kientzle@acm.org>
Sat, 29 Jun 2013 15:16:56 +0000 (08:16 -0700)
commitb539b2e597b566fe3c4b49cb61c9eef83e5e052d
treef752a348f463970ffdba65119cee116a7c22e096
parent533e8fdaf3669fe0e246f675178f785e4eecd55a
Use ustar format in the test_option_b test

.. because the ustar archive does not store SELinux context.  As the default
format for bsdtar is "restricted pax" (trying to store xattrs and other
things by default), the test failed on Fedora because our files have by
default SELinux context set.  This results in additional data in tested
archive ~> and the test failed because the archive was unexpectedly big:

 tar/test/test_option_b.c:41: File archive1.tar has size 3072, expected 2048

Reviewed by Konrad Kleine <konrad.wilhelm.kleine@gmail.com>
tar/test/test_option_b.c