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 #21 received at 20570 <at> debbugs.gnu.org (full text, mbox):

From: Bernhard Voelker <mail <at> bernhard-voelker.de>
To: Pádraig Brady <P <at> draigBrady.com>, Sébastien Luttringer <seblu <at> seblu.net>, 
 20570 <at> debbugs.gnu.org
Subject: Re: bug#20570: bug#20574: Test du/2g.sh fails with btrfs
Date: Thu, 14 May 2015 21:32:40 +0200
[Message part 1 (text/plain, inline)]
On 05/14/2015 03:14 PM, Pádraig Brady wrote:
> --- a/tests/tail-2/inotify-rotate-resources.sh
> +++ b/tests/tail-2/inotify-rotate-resources.sh
> @@ -25,7 +25,7 @@ grep '^#define HAVE_INOTIFY 1' "$CONFIG_HEADER" >/dev/null \
>  require_strace_ 'inotify_add_watch,inotify_rm_watch'
>  
>  # Quickly skip on remote file systems
> -df --local . >/dev/null 2>&1 ||
> +is_local_dir . >/dev/null 2>&1 ||
>    skip_ 'inotify not used on remote file system'
>  
>  check_tail_output()

That test is now skipped on a local ext4 file system:

+ is_local_dir .
./tests/tail-2/inotify-rotate-resources.sh: line 28: is_local_dir: command not found
+ skip_ 'inotify not used on remote file system'

The attached fixes this: s/(is_local_dir)/\1_/

Have a nice day,
Berny
[0001-tests-fix-check-for-local-file-system-in-inotify-rot.patch (text/x-patch, attachment)]

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.