proot/tests/test-cccccccc.sh

15 lines
235 B
Bash

if [ -z `which mcookie` ] || [ -z `which rmdir` ] || [ -z `which mkdir` ]; then
exit 125;
fi
TMP=/tmp/$(mcookie)
mkdir ${TMP}
! ${PROOT} rmdir ${TMP}/.
[ $? -eq 0 ]
! ${PROOT} rmdir ${TMP}/./
[ $? -eq 0 ]
${PROOT} rmdir ${TMP}