summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2005-04-19 07:36:39 +0000
committerPaul Eggert <eggert@cs.ucla.edu>2005-04-19 07:36:39 +0000
commite3f1529533914e78a432bf8a9a9658c328fbff4b (patch)
treed78ddbfc0a2973797ed0e83c36ca202f4619b32a /tests
parentf3a8588fd50db29c1013b67f600549aef077e176 (diff)
downloadcoreutils-e3f1529533914e78a432bf8a9a9658c328fbff4b.tar.xz
(dot_mount_point): Use stat -L, in case the
directory is actually a symbolic link.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/mv/setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/mv/setup b/tests/mv/setup
index 591b80f23..60d834463 100755
--- a/tests/mv/setup
+++ b/tests/mv/setup
@@ -15,7 +15,7 @@ for d in $CANDIDATE_TMP_DIRS; do
# Skip nonexistent directories.
test -d $d || continue
- d_mount_point=`stat -c %d $d`
+ d_mount_point=`stat -L -c %d $d`
# Same partition? Skip it.
test x$d_mount_point = x$dot_mount_point && continue