]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: fix check for local file system in inotify-rotate-resources.sh
authorBernhard Voelker <mail@bernhard-voelker.de>
Thu, 14 May 2015 19:31:10 +0000 (21:31 +0200)
committerBernhard Voelker <mail@bernhard-voelker.de>
Thu, 14 May 2015 19:31:10 +0000 (21:31 +0200)
* tests/tail-2/inotify-rotate-resources.sh: s/(is_local_dir)/\1_/

tests/tail-2/inotify-rotate-resources.sh

index d6629a87ec17773074cc9c2dd563a4cba7f36410..fe5d9127ceac799f8446d9c2914531ad4f191da2 100755 (executable)
@@ -25,8 +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
-is_local_dir . >/dev/null 2>&1 ||
-  skip_ 'inotify not used on remote file system'
+is_local_dir_ . || skip_ 'inotify not used on remote file system'
 
 check_tail_output()
 {