bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug-tar] POSIX.1-1988 compliance test is out since more than a year, bu


From: Joerg Schilling
Subject: [Bug-tar] POSIX.1-1988 compliance test is out since more than a year, but...
Date: Wed, 12 Nov 2003 23:37:36 +0100 (CET)

GNU tar does not yet fully passes the POSIX.1-1988 test:

tartest < /tmp/out 
tartest 1.3 (i386-pc-solaris2.9)

Copyright (C) 2002 Jörg Schilling
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Testing for POSIX.1-1990 TAR compliance...
Archive uses Vendor specific extension file type 'L'.
Found 1st EOF block at 59
Found 2nd EOF block at 60
No deviations from POSIX.1-1990 TAR standard found.


star -tv < /tmp/out  
   1024 -rw-r--r-T  root/bs  Jun 15 22:31 1994 !-type-old-file
   1024 -rw-r--r-T  root/bs  Jun 15 22:31 1994 0-type-file
      0 Hrw-r--r-T  root/bs  Jun 15 22:31 1994 1-type-hardlink link to 
0-type-file
      0 lrwxrwxrwx  root/bs  Nov 12 22:08 2003 2-type-symlink -> file
127 254 crw-r--r--  root/bs  Jun 15 22:32 1994 3-type-cdev
127 254 brw-r--r--  root/bs  Jun 15 22:32 1994 4-type-bdev
      0 drwxr-sr-x  root/bs  Jun 15 22:32 1994 5-type-dir/
  0   0 prw-r--r--  root/bs  Jun 15 22:32 1994 6-type-fifo
  10240 -rw-r--r--  bin/sys Jun 15 14:31 2002 7-type-contfile
      0 -rw-r--r--  root/other Jun 19 01:40 2002 0-jörg-signed
star: WARNING: Archive contains unknown typeflag 'L' (0x4C).
    101 ----------  root/root Jan  1 01:00 1970 ././@LongLink
      0 -rwxrwxrwx  root/root Dec 18 22:05 2001 
12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/123456789
star: WARNING: Archive contains unknown typeflag 'L' (0x4C).
    101 ----------  root/root Jan  1 01:00 1970 ././@LongLink
      0 Hrwxrwxrwx  root/root Dec 18 22:05 2001 tar-longlink link to 
12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/123456789
star: WARNING: Archive contains unknown typeflag 'L' (0x4C).
    257 ----------  root/root Jan  1 01:00 1970 ././@LongLink
      0 -rw-r--r--  root/other Jun 19 01:50 2002 
abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi
star: WARNING: Archive contains unknown typeflag 'L' (0x4C).
    101 ----------  root/root Jan  1 01:00 1970 ././@LongLink
      0 -rw-r--r--  root/other Jun 19 01:58 2002 
12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/123456789
star: WARNING: Archive contains unknown typeflag 'L' (0x4C).
    101 ----------  root/root Jan  1 01:00 1970 ././@LongLink
star: WARNING: Archive contains unknown typeflag 'L' (0x4C).
    257 ----------  root/root Jan  1 01:00 1970 ././@LongLink
      0 Hrw-r--r--  root/other Jun 19 01:58 2002 
1bcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi
 link to 
12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/12345678901234/123456789
star: WARNING: Archive contains unknown typeflag 'L' (0x4C).
    257 ----------  root/root Jan  1 01:00 1970 ././@LongLink
      0 -rw-r--r--  root/other Jun 19 02:03 2002 
2bcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi/abcdefghi
127 127 crw-r--r--  root/other Jun 19 02:18 2002 3-type-cdev-s
127 127 brw-r--r--  root/other Jun 19 02:18 2002 4-type-bdev-s
      0 drwxr-xr-x  root/other Jun 19 02:17 2002 5-type-dir-s/
  0   0 prw-r--r--  root/other Jun 19 02:17 2002 6-type-fifo-s
      0 -rw-r--r--  486/1060 Jun 19 18:18 2002 END
star: 4 blocks + 0 bytes (total of 40960 bytes = 40.00k).


I did send you a hint about a year ago.... in case you forgot the URL:

ftp://ftp.berlios.de/pub/star/testscripts/

There are various tests.... e.g. README.quicktest

It also helps to test against a TAR implementation that is known 
to be closer to the standard like star is.

I recommend testing against star-1.5a34 which is found in:

ftp://ftp.berlios.de/pub/star/alpha/



Jörg

-- 
 EMail:address@hidden (home) Jörg Schilling D-13353 Berlin
       address@hidden           (uni)  If you don't have iso-8859-1
       address@hidden   (work) chars I am J"org Schilling
 URL:  http://www.fokus.fraunhofer.de/usr/schilling 
ftp://ftp.berlios.de/pub/schily




reply via email to

[Prev in Thread] Current Thread [Next in Thread]