README 1.8 KB

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