summaryrefslogtreecommitdiff
path: root/tests/acl
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2006-01-13 13:38:39 +0000
committerJim Meyering <jim@meyering.net>2006-01-13 13:38:39 +0000
commit583cd919cce2ddde1da9114952e626b77275c0c6 (patch)
tree37dbdd147014c9bf08212aa33b7d87309c545b97 /tests/acl
parent153a886d6dc722a313207894c0eb4f81f6b73d02 (diff)
downloadcoreutils-583cd919cce2ddde1da9114952e626b77275c0c6.tar.xz
Redirect stdin to /dev/null. Otherwise, FreeBSD 5.0's getfacl would hang.
Diffstat (limited to 'tests/acl')
-rw-r--r--tests/acl3
1 files changed, 2 insertions, 1 deletions
diff --git a/tests/acl b/tests/acl
index 80546dbdb..e548d9a9a 100644
--- a/tests/acl
+++ b/tests/acl
@@ -1,4 +1,5 @@
-getfacl --version 2> /dev/null 1>&2 && setfacl --version 2> /dev/null 1>&2 || {
+getfacl --version < /dev/null 2> /dev/null 1>&2 \
+ && setfacl --version < /dev/null 2> /dev/null 1>&2 || {
cat <<EOF 1>&2
**************************************
$0: This test requires getfacl and setfacl.