summaryrefslogtreecommitdiff
path: root/tests/cp/acl.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/cp/acl.sh')
-rwxr-xr-xtests/cp/acl.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/cp/acl.sh b/tests/cp/acl.sh
index d7c4f2ff..36a5d298 100755
--- a/tests/cp/acl.sh
+++ b/tests/cp/acl.sh
@@ -2,7 +2,7 @@
# copy files/directories across file system boundaries
# and make sure acls are preserved appropriately
-# Copyright (C) 2005-2013 Free Software Foundation, Inc.
+# Copyright (C) 2005-2014 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -53,7 +53,7 @@ test "$acl1" = "$acl2" || fail=1
echo > a/file || framework_failure_ # add some data
test -s a/file || framework_failure_
cp -p --attributes-only a/file b/ || fail=1
-test -s b/file && fail=1
+compare /dev/null b/file || fail=1
acl2=$(cd b && getfacl file) || framework_failure_
test "$acl1" = "$acl2" || fail=1