bug-tar
[Top][All Lists]
Advanced

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

RE: [Bug-tar] [GNU tar 1.17] testsuite: 12 40 41 42 failed


From: EXCOFFIER, Denis \(CS SYSTEMES INFORMATION\)
Subject: RE: [Bug-tar] [GNU tar 1.17] testsuite: 12 40 41 42 failed
Date: Thu, 21 Jun 2007 09:32:25 +0200

Hello,

For #40, it is perfect (now skipped).
For #41 and #42, it still does not work because (if i understand well) the 177 
chars 'this_is_a_very_..._prefix' added to the current working directory 
overtake the 260 PATH_MAX limit.

It may work for some people. Please add an AT_SKIP_TEST condition for that.

Regards.

Denis Excoffier.

-----Original Message-----
From: Eric Blake [mailto:address@hidden
Sent: Thursday, 21 June, 2007 04:47
To: EXCOFFIER, Denis (CS SYSTEMES INFORMATION)
Cc: address@hidden
Subject: Re: [Bug-tar] [GNU tar 1.17] testsuite: 12 40 41 42 failed


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

According to Denis Excoffier on 6/11/2007 5:52 AM:
> Hello,
> 
> I use one of the latests cygwin (1.5.24-2).
> 
> 1) I would prefer if the following test:
> 
> @40 (long01.at:56, long file names divisible by block size)
> 
> were said to be "expected to fail" in my case (cygwin). Indeed, it
> seems that no file name can have more than (about) 224 characters. The
> test uses a filename 512-character long.

Actually, on cygwin, the current limit is PATH_MAX for the corresponding
absolute name of all files (regardless of how short a relative name is),
and is set to 260 due to the limitations of Win9x on FAT file systems
(barely over the POSIX-mandated 256, but rather shy of the XSI minimum
standard of 1024).  A future version of cygwin may be able to expand that
to 32k, which is the NTFS file system limit.

Anyway, here's how I fixed the problem when packaging the cygwin distro of
tar; could we get this patch applied upstream?  With this patch, plus the
fix for test 12, all tests passed or were skipped on cygwin for tar 1.17.
 It relies on gnulib's fcntl.h replacement guaranteeing that O_BINARY is
defined to 0 on platforms where it is not needed.

tar:
2007-06-20  Eric Blake  <address@hidden>

        Resolve testsuite failures 40-42 on cygwin.
        * tests/testsuite.at (AT_TAR_MKHIER): Skip tests when long file
        names cannot be created.

paxutils:
2007-06-20  Eric Blake  <address@hidden>

        Resolve testsuite failures on cygwin.
        * tests/genfile.c (generate_simple_file): Force binary mode.
        (generate_files_from_list, generate_sparse_file)
        (exec_checkpoint, exec_command): Likewise.

> 
> This e-mail is intended only for the above addressee.

Such disclaimers are frowned upon on publicly archived mailing lists, as
they cannot be enforced.  Please consider using a free webmail account
rather than your employer's gateway if you have no control over this trailer.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             address@hidden
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGeea+84KuGfSFAYARAjdvAKCNyVXHeS8XnDa1ZfGsqMYc/qC7yQCeMdBO
Bt+TnT/ieOHhXMg1ZJsYsNM=
=SA+3
-----END PGP SIGNATURE-----

This mail has originated outside your organization, either from an external 
partner or the Global Internet.
Keep this in mind if you answer this message.



This e-mail is intended only for the above addressee. It may contain privileged 
information.
If you are not the addressee you must not copy, distribute, disclose or use any 
of the information in it. 
If you have received it in error please delete it and immediately notify the 
sender.
Security Notice: all e-mail, sent to or from this address, may be accessed by 
someone other than the recipient, for system management and security reasons. 
This access is controlled under Regulation of security reasons.
This access is controlled under Regulation of Investigatory Powers Act 2000, 
Lawful Business Practises.






reply via email to

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