]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
tests: avoid problematic $(< file) shell construct
authorPádraig Brady <P@draigBrady.com>
Sat, 7 Dec 2013 15:36:33 +0000 (15:36 +0000)
committerPádraig Brady <P@draigBrady.com>
Sat, 7 Dec 2013 19:41:55 +0000 (19:41 +0000)
* tests/cp/link-deref.sh: This was seen to cause an issue
with dash v0.5.6 at least, so change to a simpler expression.

tests/cp/link-deref.sh

index 91a6c5de3487e3ab04a884068da4ab85ccd4892a..c12dfc8828389dc50b265085b021f53aa080b91f 100755 (executable)
@@ -55,7 +55,7 @@ for src in dirlink filelink danglink; do
         "$result"   \
         "$ino_dst"  \
         "$typ_dst"  \
-        "$(< err)"  \
+        "$(cat err)"  \
         > out
 
       # What was expected?