GNU bug report logs - #20570
Test dd/sparse.sh fail with btrfs

Previous Next

Package: coreutils;

Reported by: Sébastien Luttringer <seblu <at> seblu.net>

Date: Thu, 14 May 2015 05:26:02 UTC

Severity: normal

Merged with 20574

Done: Pádraig Brady <P <at> draigBrady.com>

Bug is archived. No further changes may be made.

Full log


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

From: Sébastien Luttringer <seblu <at> seblu.net>
To: bug-coreutils <at> gnu.org
Subject: Test dd/sparse.sh fail with btrfs
Date: Thu, 14 May 2015 04:53:57 +0200
Hello,

I experience one test suite failure when I tried to rebuild the
coreutils v8.23 package. My system is an archlinux host with a btrfs
filesystem.

The test doesn't fail when I run it in a tmpfs. I'm pretty sure it used
to works over btrfs in july 2014[1] when I built the previous package
for archlinux.

The failing section is the following:

  # Ensure NUL blocks smaller than the block size are not made sparse.
  # Here, with a 2MiB block size, dd's conv=sparse must *not*
introduce a hole. 
  dd if=file.in of=file.out bs=2M conv=sparse
  test 2500 -lt $(kb_alloc file.out) || fail=1

You can see the full shell output here: http://pastebin.com/XADb1BKj

Regards,

[1] https://www.archlinux.org/packages/core/x86_64/coreutils/

-- 
Sébastien "Seblu" Luttringer
https://seblu.net | Twitter: @seblu42
GPG: 0x2072D77A





This bug report was last modified 10 years and 91 days ago.

Previous Next


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