4
0

README 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. This directory contains scripts for testing GNU tar using
  2. star "test archives". The archives themselves can be obtained
  3. from ftp://ftp.berlios.de/pub/star/testscripts.
  4. These tests are disabled by default. There are two ways to run
  5. them. The simplest is by `make check-full' command. It requires wget
  6. and GNU md5sum to be installed. If you don't have these utilities,
  7. download the test archives manually and set the environment variable
  8. STAR_TESTSCRIPTS to point to the directory where they reside, for
  9. example:
  10. make STAR_TESTSCRIPTS=testdir check
  11. or
  12. make TESTS_ENVIRONMENT='STAR_TESTSCRIPTS=testdir' check
  13. The file `quicktest.sh' is a separate test. It is never executed
  14. within `make check' command, you will need to run it manually.
  15. Please, carefully read section `quicktest.sh' below before running
  16. it.
  17. Following is a short description of the tests:
  18. * gtarfail.at and gtarfail2.at
  19. These tests require gtarfile.tar and gtarfile2.tar, respectively.
  20. These files are POSIX compliant tar archives that were not accepted
  21. by previous versions of GNU tar.
  22. * multi-fail.at
  23. Requires gnu-multi-fail-volume1.gtar and gnu-multi-fail-volume2.gtar.
  24. These are two parts of a multi-volume archive that previous versions
  25. of tar refused to read (at least, without -B option).
  26. * ustar-big-2g.at
  27. Requires ustar-big-2g.tar.bz2. It is a tar archive containing a file with
  28. the largest size that a historic tar implementation is able to understand.
  29. * ustar-big-8g.at
  30. Requires ustar-big-8g.tar.bz2. This is a test for reading an archive containing
  31. files with the largest size that may be used with ustar (POSIX.1-1990)
  32. format.
  33. * pax-big-10g.at
  34. Requires pax-big-10g.tar.bz2. It tests handling pax (POSIX.1-2001) archves
  35. containing very large files (in this case -- 10 GB).
  36. * quicktest.sh
  37. This is a test for compliance to POSIX.1-1990 tar specification. It
  38. requires two files: ustar-all-quicktest.tar and quicktest.filelist,
  39. (they usually reside in star/testscripts directory), and `tartest' program
  40. (also part of star distribution). The test must be run only with root
  41. privileges, so it is a good idea to verify the contents of
  42. ustar-all-quicktest.tar before running it.
  43. If `tartest' is not in your PATH, use TARTEST variable to specify its
  44. full file name. You may pass both STAR_TESTSCRIPTS and TARTEST
  45. variables as command line arguments to quicktest.sh, as shown in
  46. the example below:
  47. ./quicktest.sh STAR_TESTSCRIPTS=testdir TARTEST=/path/to/tartest
  48. Local variables:
  49. mode: outline
  50. paragraph-separate: "[ ]*$"
  51. end: