Use libarchive3-sys crate directly + improve archread API
This all should offer a more convenient and robust interface to handle all sorts of archives.
This commit is contained in:
parent
022e9acc4f
commit
c8bb4da246
9 changed files with 732 additions and 448 deletions
|
|
@ -4,6 +4,19 @@
|
|||
# way. The tests will fail quite badly if hardlink.6 is considered the
|
||||
# "original" version.
|
||||
|
||||
|
||||
mkdir simple
|
||||
echo Hi >simple/file
|
||||
ln -s file simple/link
|
||||
ln simple/file simple/hardlink
|
||||
mkfifo simple/fifo
|
||||
badfn=`echo 'Héllö.txt' | iconv -t ISO-8859-1`
|
||||
touch $badfn
|
||||
tar -czf simpletest.tar.gz simple $badfn
|
||||
rm -rf $badfn simple
|
||||
|
||||
|
||||
|
||||
mkdir man
|
||||
cd man
|
||||
|
||||
|
|
|
|||
BIN
indexer/tests/simpletest.tar.gz
Normal file
BIN
indexer/tests/simpletest.tar.gz
Normal file
Binary file not shown.
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue