commit 018b52a8ee0fce1f6697cd8c806d9a91f4a82663
parent ac36d0b287d5c54f811aab3e896516aa0cb68ec7
Author: lostd <lostd@2f30.org>
Date: Thu, 2 Jul 2015 00:58:01 +0100
More test cases about permissions
Diffstat:
1 file changed, 3 insertions(+), 0 deletions(-)
diff --git a/mktest.sh b/mktest.sh
@@ -18,8 +18,11 @@ ln -s normal-dir ln-normal-dir
ln -s nowhere ln-nowhere
mkfifo mk-fifo
touch no-access && chmod 000 no-access
+mkdir no-access-dir && chmod 000 no-access-dir
ln -s ../normal.txt normal-dir/ln-normal.txt
ln -s ../normal.txt normal-dir/ln-normal
echo 'int main(void) { *((char *)0) = 0; }' > ill.c
make ill > /dev/null
echo 'test/ill' > ill.sh
+mkdir empty-dir
+echo 'chmod 000 test' > lock.sh