From: Michael Orlitzky Date: Tue, 8 Jan 2013 19:57:45 +0000 (-0500) Subject: Add two new tests for repeated application on a directory. X-Git-Tag: v0.0.4~15 X-Git-Url: https://gitweb.michael.orlitzky.com/?a=commitdiff_plain;h=23c4e6b7963baac70b8aa12bb92dd830518bed94;p=apply-default-acl.git Add two new tests for repeated application on a directory. --- diff --git a/run-tests.sh b/run-tests.sh index 0ce549c..31c9f30 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -334,3 +334,61 @@ EOF ACTUAL=`getfacl --omit-header "${TARGET}"/bar` compare + + +# Test double application on a directory. +# +TESTNUM=14 +TARGET="${TESTDIR}"/baz +mkdir "${TARGET}" +chmod 644 "${TARGET}" +setfacl -d -m user:mail:rwx "${TESTDIR}" + +$BIN "${TARGET}" +$BIN "${TARGET}" + +EXPECTED=$(cat <