summaryrefslogtreecommitdiff
path: root/tests/cp
diff options
context:
space:
mode:
authorPádraig Brady <P@draigBrady.com>2013-12-07 15:36:33 +0000
committerPádraig Brady <P@draigBrady.com>2013-12-07 19:41:55 +0000
commit0917c0c345f5e3c8856e3f59177b58608c21c6ea (patch)
treedbf50bbe12117f17ceaef44723635ccaab865a41 /tests/cp
parent970b2ddea2d47f3167f4166e646d414f235f04b1 (diff)
downloadcoreutils-0917c0c345f5e3c8856e3f59177b58608c21c6ea.tar.xz
tests: avoid problematic $(< file) shell construct
* 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.
Diffstat (limited to 'tests/cp')
-rwxr-xr-xtests/cp/link-deref.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cp/link-deref.sh b/tests/cp/link-deref.sh
index 91a6c5de3..c12dfc882 100755
--- a/tests/cp/link-deref.sh
+++ b/tests/cp/link-deref.sh
@@ -55,7 +55,7 @@ for src in dirlink filelink danglink; do
"$result" \
"$ino_dst" \
"$typ_dst" \
- "$(< err)" \
+ "$(cat err)" \
> out
# What was expected?