README 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. This directory contains scripts for testing GNU tar using
  2. star "test archives". The archives themselves may be obtained
  3. from http://download.berlios.de/pub/star/testscripts.
  4. The tests are ignored unless environment variable STAR_TESTSCRIPTS
  5. is set and points to the directory where the test archives reside.
  6. Sample usage:
  7. make TESTS_ENVIRONMENT='STAR_TESTSCRIPTS=testdir' check
  8. The following is a short description of the tests:
  9. * gtarfail.sh and gtarfile2.tar
  10. These tests require gtarfile.tar and gtarfile2.tar, respectively.
  11. These files are POSIX compliant tar archives that were not accepted
  12. by previous versions of GNU tar.
  13. * multi-fail.sh
  14. Requires gnu-multi-fail-volume1.gtar and gnu-multi-fail-volume2.gtar.
  15. These are two parts of a multi-volume archive that previous versions
  16. of tar refused to read (at least, without -B option).
  17. * ustar-big-2g.sh
  18. Requires ustar-big-2g.tar.bz2. It is a tar archive containing a file with
  19. the largest size that a historic tar implementation is able to understand.
  20. * ustar-big-8g.sh
  21. Requires ustar-big-8g.tar.bz2. This is a test for reading an archive containing
  22. files with the largest size that may be used with ustar (POSIX.1-1990)
  23. format.
  24. * pax-big-10g.sh
  25. Requires pax-big-10g.tar.bz2. It tests handling pax (POSIX.1-2001) archves
  26. containing very large files (in this case -- 10 GB).
  27. * qucktest.sh
  28. A test for compliance to POSIX.1-1990 tar specification. It requires
  29. the files ustar-all-quicktest.tar and quicktest.filelist. Apart
  30. from them, the `tartest' program from 'star' package is needed.
  31. The test may be run only with root privileges, so it is a good
  32. idea to test the contents of ustar-all-quicktest.tar before running
  33. it.
  34. Local variables:
  35. mode: outline
  36. paragraph-separate: "[ ]*$"
  37. end: