bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20570: bug#20574: Test du/2g.sh fails with btrfs


From: Bernhard Voelker
Subject: bug#20570: bug#20574: Test du/2g.sh fails with btrfs
Date: Thu, 14 May 2015 21:32:40 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0

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

Attachment: 0001-tests-fix-check-for-local-file-system-in-inotify-rot.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]