summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-04-03 20:04:20 +0200
committerJim Meyering <meyering@redhat.com>2012-04-03 22:17:28 +0200
commit64ecea53d9b4c1ecbf6d02ff8c4ae98b3a82e9a2 (patch)
tree07c4045a5076ab0220ddac026b1cd87a21cbb38a
parent64cf1033cc47fe40bcebbecd069db486794fecea (diff)
downloadcoreutils-64ecea53d9b4c1ecbf6d02ff8c4ae98b3a82e9a2.tar.xz
tests: convert one `...` expression manually
* tests/ls/stat-vs-dirent: Manually convert `(...)` to $(...), to avoid automatically producing an invalid result.
-rwxr-xr-xtests/ls/stat-vs-dirent2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ls/stat-vs-dirent b/tests/ls/stat-vs-dirent
index 7b49a1f67..60d96220a 100755
--- a/tests/ls/stat-vs-dirent
+++ b/tests/ls/stat-vs-dirent
@@ -52,7 +52,7 @@ while :; do
fi
fi
- t=`(cd "$t/.."; pwd)`
+ t=$(cd "$t/.."; pwd)
dev_ino=`stat --format=%d-%i "$t"`
test $dev_ino = $root_dev_ino && break
done