From 74874a84798b0ad24c19183482f129355ca541fc Mon Sep 17 00:00:00 2001 From: Michael Orlitzky Date: Wed, 9 Jan 2013 15:07:52 -0500 Subject: [PATCH] Add more tests in preparation for the -x fix. --- run-tests.sh | 107 +++++++++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 104 insertions(+), 3 deletions(-) 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 <