From 23c4e6b7963baac70b8aa12bb92dd830518bed94 Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Tue, 8 Jan 2013 14:57:45 -0500 Subject: [PATCH] Add two new tests for repeated application on a directory. --- run-tests.sh | 58 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) 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 <