git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: testsuite problems

From
Miklos Vajna <vmiklos@frugalware.org>
Date
Sep 18, 2007, 15:52 UTC
Message-ID
<20070918155214.GQ19019@genesis.frugalware.org>
In-Reply-To
<46EFE75D.7000805@lsrfire.ath.cx>
On Tue, Sep 18, 2007 at 04:57:33PM +0200, René Scharfe <rene.scharfe@lsrfire.ath.cx> wrote:
> Info-ZIP zip and unzip are two different programs, each with their
> own version numbers.
ah, my bad.
Show 40 quoted lines
> >> Also, what is the difference between t/trash/a and t/trash/d/a after
> >> running the test script (that's what test 21 is comparing)?
> > 
> > $ diff -Naur t/trash/a t/trash/d/a
> > diff -Naur t/trash/a/l1 t/trash/d/a/l1
> > --- t/trash/a/l1        2007-09-17 23:10:03.000000000 +0200
> > +++ t/trash/d/a/l1      2007-09-17 23:10:03.000000000 +0200
> > @@ -1 +1 @@
> > -simple textfile
> > +a
> > \ No newline at end of file
> 
> Ah!  l1 is a symlink to a.  The target of a symlink is stored as file
> content in a ZIP archive and marked with a special flag.  An unzipper
> that doesn't understand this flag would create a file containing the
> link target's name instead of a symlink pointing to the target.
> 
> The unzip on my system says:
> 
>   $ unzip -v
>   UnZip 5.52 of 28 February 2005, by Ubuntu. Original by Info-ZIP.
> 
>   Latest sources and executables are at  ftp://ftp.info-zip.org/pub/infozip/ ;
>   see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.
> 
>   Compiled with gcc 4.1.2 (Ubuntu 4.1.2-0ubuntu4) for Unix (Linux ELF) on Mar 31 2007.
> 
>   UnZip special compilation options:
>           ACORN_FTYPE_NFS
>           COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
>           SET_DIR_ATTRIB
>           TIMESTAMP
>           USE_EF_UT_TIME
>           USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
>           USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
>           VMS_TEXT_CONV
>           WILD_STOP_AT_DIR
>           [decryption, version 2.9 of 05 May 2000]
> 
> I suspect you need SET_DIR_ATTRIB in order to extract symlinks.

$ unzip -v UnZip 5.52 of 28 February 2005, by Info-ZIP. Maintained by C. Spieler. Send bug reports using http://www.info-zip.org/zip-bug.html; see README for details.

Latest sources and executables are at ftp://ftp.info-zip.org/pub/infozip/ ; see ftp://ftp.info-zip.org/pub/infozip/UnZip.html for other sites.

Compiled with gcc 4.1.2 for Unix (Linux ELF) on May  9 2007.
UnZip special compilation options:
        ASM_CRC
        COPYRIGHT_CLEAN (PKZIP 0.9x unreducing method not supported)
        SET_DIR_ATTRIB
        TIMESTAMP
        USE_EF_UT_TIME
        USE_UNSHRINK (PKZIP/Zip 1.x unshrinking method supported)
        USE_DEFLATE64 (PKZIP 4.x Deflate64(tm) supported)
        VMS_TEXT_CONV
        [decryption, version 2.9 of 05 May 2000]
if i'm not wrong then these options should be ok. :S
thanks,
- VMiklos
Previous: René ScharfeNext: René Scharfe
Message 9 of 11 in “testsuite problems”
  1. Miklos VajnaSep 17, 2007
  2. Pierre HabouzitSep 17, 2007
  3. René ScharfeSep 17, 2007
  4. Miklos VajnaSep 17, 2007
  5. Johannes SchindelinSep 17, 2007
  6. Miklos VajnaSep 17, 2007
  7. Johannes SchindelinSep 17, 2007
  8. René ScharfeSep 18, 2007
  9. Miklos VajnaSep 18, 2007
  10. René ScharfeSep 18, 2007
  11. Miklos VajnaSep 18, 2007

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.