coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/4] tests: convert one `...` expression manually


From: Jim Meyering
Subject: [PATCH 1/4] tests: convert one `...` expression manually
Date: Tue, 3 Apr 2012 22:25:33 +0200

From: Jim Meyering <address@hidden>

* tests/ls/stat-vs-dirent: Manually convert `(...)` to $(...),
to avoid automatically producing an invalid result.
---
 tests/ls/stat-vs-dirent |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/ls/stat-vs-dirent b/tests/ls/stat-vs-dirent
index 7b49a1f..60d9622 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
-- 
1.7.9.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]