extfs: uarc: add tests.

This commit is contained in:
Mooffie 2016-12-12 14:58:04 +02:00 committed by Yury V. Zaytsev
parent 22846550d3
commit 644682ad2c
4 changed files with 32 additions and 0 deletions

View File

@ -47,6 +47,9 @@ data_files_to_distribute = \
data/uace.README \ data/uace.README \
data/uace.input \ data/uace.input \
data/uace.output \ data/uace.output \
data/uarc.README \
data/uarc.input \
data/uarc.output \
data/urar.README \ data/urar.README \
data/urar.v4,v3.env_vars \ data/urar.v4,v3.env_vars \
data/urar.v4,v3.input \ data/urar.v4,v3.input \

View File

@ -0,0 +1,19 @@
The input file was created by doing "arc v test.arc" on archive created
with "arc a test.arc ...". We then made sure to have:
- One date prior to year 2000 (to test the 1900/2000 boundary).
- Both AM and PM times.
Our 'uarc' doesn't support spaces in filenames but that's no biggie:
Man page: "Full compatibility with PC ARC files is maintained, the
price for which is that arc doesn't like long filenames, and can only
archive files with names of up to 12 characters. [...] I suggest you
put long-winded filenames in a 'shar' before arcing them."
Wikipedia: "ARC is incapable of compressing entire directory trees"
Known issues with our uarc:
- It reports '0' gid.

View File

@ -0,0 +1,7 @@
Name Length Stowage SF Size now Date Time CRC
============ ======== ======== ==== ======== ========= ====== ====
README.html 9799 Crunched 50% 4922 23 Nov 16 11:48a 40ba
extfs.c 49679 Crunched 67% 16874 18 Apr 94 3:05p 38ff
run.log 1051 Crunched 50% 536 23 Nov 16 10:36a 6184
==== ======== ==== ========
Total 3 60529 64% 22332

View File

@ -0,0 +1,3 @@
-rw-r--r-- 1 <<uid>> 0 9799 2016-11-23 11:48:00 README.html
-rw-r--r-- 1 <<uid>> 0 49679 1994-04-18 15:05:00 extfs.c
-rw-r--r-- 1 <<uid>> 0 1051 2016-11-23 10:36:00 run.log