test: fix issues with tests/cp/preserve-mode.sh
commitb505dc5734b551b34c9e95c8daa8d574d6d8636e
authorPádraig Brady <P@draigBrady.com>
Wed, 29 Nov 2017 05:54:12 +0000 (28 21:54 -0800)
committerPádraig Brady <P@draigBrady.com>
Wed, 29 Nov 2017 06:12:22 +0000 (28 22:12 -0800)
tree747283d73fefa488b3e35eca8f4bc578395db735
parentb5d6f66b60b1523b041d4cb6d3ad03ed2fc5e1ac
test: fix issues with tests/cp/preserve-mode.sh

* tests/cp/preserve-mode.sh: This was the only use of awk,
which may not be available on the system resulting
in an ineffective test.  Also the permissions bits for
directories were not being checked at all.
tests/cp/preserve-mode.sh