Subject: Re: bug#29266: gzip-1.8.41 test results: help-version and hard links

From: Bruno Haible <[email-masked]>
Date: Sun, 12 Nov 2017 18:53:41 +0100

Hi Jim,

> The Haiku failure is due to gzexe failing due to that system's lack of
> hard link support:
> 
> + eval 'env $i  in-6369 < $tmp_in > $tmp_out'
> ++ env gzexe in-6369
> in-6369:        -15.4%
> ln: failed to create hard link 'in-6369~' => 'in-6369': Operation not supported
> /boot/home/gzip-1.8.41-9d3bb-dirty/build/tests/../gzexe: cannot backup
> in-6369 as
> in-6369~
> + echo FAIL: gzexe
> FAIL: gzexe
> + fail=1

Why does gzexe expect that hard links work? Even on Linux, some file systems
do not support hard links.

$ dd if=/dev/zero of=vfat.img bs=1048576 count=100
$ mkfs.vfat vfat.img
$ sudo mount -o loop vfat.img /mnt
$ cd /mnt
$ sudo bash
# tar xfz ~/gzip-1.8.41-9d3bb-dirty.tar.gz
# cd gzip-1.8.41-9d3bb-dirty
# ./configure
# make
# make check
=>
FAIL: help-version

test-suite.log is attached.

Bruno