summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorBernhard Voelker <mail@bernhard-voelker.de>2015-05-14 21:31:10 +0200
committerBernhard Voelker <mail@bernhard-voelker.de>2015-05-14 21:31:10 +0200
commit99dfd5a6616cbda93d1c8c917aa3158d8b82c25b (patch)
treee912e189ab3407bf85189fd07bf7d11dd8ff379b /tests
parent7f0f58fdd68e7ca86dd5db7effb2c7f94adc4a08 (diff)
downloadcoreutils-99dfd5a6616cbda93d1c8c917aa3158d8b82c25b.tar.xz
tests: fix check for local file system in inotify-rotate-resources.sh
* tests/tail-2/inotify-rotate-resources.sh: s/(is_local_dir)/\1_/
Diffstat (limited to 'tests')
-rwxr-xr-xtests/tail-2/inotify-rotate-resources.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/tests/tail-2/inotify-rotate-resources.sh b/tests/tail-2/inotify-rotate-resources.sh
index d6629a87e..fe5d9127c 100755
--- a/tests/tail-2/inotify-rotate-resources.sh
+++ b/tests/tail-2/inotify-rotate-resources.sh
@@ -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()
{