X-Git-Url: http://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=run-tests.sh;h=f218a8feefaa8810e5236d9aa631080f0ca69acf;hb=74874a84798b0ad24c19183482f129355ca541fc;hp=68ae769104826e0e9c759900e116d7d8765e7b32;hpb=cd03e4e2f8afdbd2c9d70cb9b9e2ca7db07e826e;p=apply-default-acl.git 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 <