diff options
author | Andreas Gruenbacher <agruen@linbit.com> | 2014-08-13 01:25:12 +0200 |
---|---|---|
committer | Andreas Gruenbacher <agruen@linbit.com> | 2014-08-13 01:28:23 +0200 |
commit | 62ce6354ef5a8eb5644908748f79c8cd18474d4c (patch) | |
tree | 33d65e753b7eabbdef488c5325e27bddafce143e | |
parent | a2c4d71c2e84419a49db503ed59de4d3d1dca7dd (diff) | |
download | acl-62ce6354ef5a8eb5644908748f79c8cd18474d4c.tar.gz |
cp.test: Check permissions of the right file
After "cp -p", the cp.test case was checking the permissions
of the source file instead of the target file.
Reported by: Nic <nic.henke@versity.com>
-rw-r--r-- | test/cp.test | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/cp.test b/test/cp.test index a927195..449e2eb 100644 --- a/test/cp.test +++ b/test/cp.test @@ -14,7 +14,7 @@ The cp utility should only copy ACLs if `-p' is given. $ rm g $ cp -p f g - $ ls -l f | awk -- '{ print $1 }' + $ ls -l g | awk -- '{ print $1 }' > -rw-rw-r--+ $ mkdir h |