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

From: Pádraig Brady <P <at> draigBrady.com>
To: Bernhard Voelker <mail <at> bernhard-voelker.de>, 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 23:20:50 +0100
On 14/05/15 20:32, Bernhard Voelker wrote:
> 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_/

Drats.
Thanks for catching that.

Pádraig




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.