4
0

README 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. * Copying
  49. Copyright 2004-2023 Free Software Foundation, Inc.
  50. This file is part of GNU tar.
  51. GNU tar is free software; you can redistribute it and/or modify
  52. it under the terms of the GNU General Public License as published by
  53. the Free Software Foundation; either version 3 of the License, or
  54. (at your option) any later version.
  55. GNU tar is distributed in the hope that it will be useful,
  56. but WITHOUT ANY WARRANTY; without even the implied warranty of
  57. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  58. GNU General Public License for more details.
  59. You should have received a copy of the GNU General Public License
  60. along with this program. If not, see <http://www.gnu.org/licenses/>.
  61. Local variables:
  62. mode: outline
  63. paragraph-separate: "[ ]*$"
  64. end: