GNU bug report logs - #75590
ports.test: "SEEK_DATA while in hole" fails on some hosts

Previous Next

Package: guile;

Reported by: Rob Browning <rlb <at> defaultvalue.org>

Date: Wed, 15 Jan 2025 17:32:02 UTC

Severity: normal

Full log


Message #14 received at 75590 <at> debbugs.gnu.org (full text, mbox):

From: Ludovic Courtès <ludo <at> gnu.org>
To: Rob Browning <rlb <at> defaultvalue.org>
Cc: Mikael Djurfeldt <mikael <at> djurfeldt.com>, 75590 <at> debbugs.gnu.org
Subject: Re: bug#75590: ports.test: "SEEK_DATA while in hole" fails on some
 hosts
Date: Fri, 28 Feb 2025 21:20:01 +0100
Hi Rob,

Rob Browning <rlb <at> defaultvalue.org> skribis:

> +(define (skip-unless-fs-handles-holes-as-expected)
> +  ;; For now only allow filesystems that should have the seek hole/data
> +  ;; semantics the tests expect.  Filesystems vary both in how they
> +  ;; handle sparseness in general (e.g. granularity), how they handle
> +  ;; SEEK_DATA and SEEK_HOLE (see lseek(2) for some related info), and
> +  ;; even how quickly they reflect changes.  du's output, for example,
> +  ;; may not immediately reflect sparseness changes (previously observed
> +  ;; on btrfs and zfs).
> +  (let* ((p (open-input-pipe "debian/bin/path-fs ."))
> +         (fs (read-all p)))

What does ‘path-fs’ do?  How can we adapt it for use in the test suite?

Thanks for investigating!

Ludo’.




This bug report was last modified 107 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.