John Goerzen wrote:
Here's some more info on libarchive for you. Hope this helps.
Paul Cannon wrote:
Running tests on: /home/paul/packages/libarchive-2.4.17/bsdtar
0: test_basic
tar/test/test_basic.c:53: Assertion failed: Ints not equal
r=256
0=0
Description: Error invoking /home/paul/packages/libarchive-2.4.17/bsdtar xf archive
This is the basic copy test, which simply invokes bsdtar
to archive a file, a directory, a symlink, and a hardlink
and then invokes bsdtar again to restore the created archive to
a different directory.
For some reason, bsdtar is returning an error when
dearchiving. The first question I have is whether
this is because the created archive is corrupt or
whether the restore process failed.
These tests are all run in a directory
/tmp/bsdtar_test_XXXXX/test_basic; the files named
below are all relative to this:
* 'filelist' is a list of the files to be archived
* the created archive is in 'copy/archive'
* stdout/stderr from archiving should be in
'copy/pack.out' and 'copy/pack.err'
* stdout/stderr from dearchiving should be in
'copy/unpack.out' and 'copy/unpack.err'
* The restored files should be in the 'copy/' dir
You should be able to manually try unpacking the
archive with:
$ cd /tmp/bsdtar_test_XXXXX/test_basic
$ mkdir mytest
$ cd mytest
$ /home/paul/packages/libarchive-2.4.17/bsdtar xf ../copy/archive
If the archive itself seems correct, then an strace of
bsdtar while extracting might be very illuminating.
If this doesn't shed any light, send me the contents
of /tmp/bsdtar_test_XXXXX/test_basic for one of the
failed tests. Maybe there are some other clues in there.
Cheers,
Tim Kientzle
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]