]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: convert one `...` expression manually
authorJim Meyering <meyering@redhat.com>
Tue, 3 Apr 2012 18:04:20 +0000 (20:04 +0200)
committerJim Meyering <meyering@redhat.com>
Tue, 3 Apr 2012 20:17:28 +0000 (22:17 +0200)
* tests/ls/stat-vs-dirent: Manually convert `(...)` to $(...),
to avoid automatically producing an invalid result.

tests/ls/stat-vs-dirent

index 7b49a1f67d785fe973afbf58aae3aaac22619a5b..60d96220ac7cb27e21246571bc643e00f0aa82e1 100755 (executable)
@@ -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