From: Michael Orlitzky Date: Wed, 9 Jan 2013 20:07:52 +0000 (-0500) Subject: Add more tests in preparation for the -x fix. X-Git-Tag: v0.0.4~13 X-Git-Url: https://gitweb.michael.orlitzky.com/?p=apply-default-acl.git;a=commitdiff_plain;h=74874a84798b0ad24c19183482f129355ca541fc Add more tests in preparation for the -x fix. --- diff --git a/run-tests.sh b/run-tests.sh index 68ae769..f218a8f 100755 --- a/run-tests.sh +++ b/run-tests.sh @@ -40,11 +40,11 @@ mkdir "${TESTDIR}" # permissions should all be propagated to the mode bits. TESTNUM=1 TARGET="${TESTDIR}"/foo +touch "${TARGET}" +chmod 777 "${TARGET}" setfacl -d -m user::r-- "${TESTDIR}" setfacl -d -m group::r-- "${TESTDIR}" setfacl -d -m other::r-- "${TESTDIR}" -touch "${TARGET}" -chmod 777 "${TARGET}" $BIN "${TARGET}" EXPECTED=$(cat <