aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar lostd <lostd@2f30.org>2015-07-02 01:02:47 +0100
committerGravatar lostd <lostd@2f30.org>2015-07-02 01:02:47 +0100
commit0548a181e64bd9e5af6cc72282620356890b7bed (patch)
tree365d0f3eabc792aa2914e25cccfcde347ecbfb69
parent018b52a8ee0fce1f6697cd8c806d9a91f4a82663 (diff)
downloadnnn-0548a181e64bd9e5af6cc72282620356890b7bed.tar.gz
Test for when permissions change while browsing
-rw-r--r--mktest.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/mktest.sh b/mktest.sh
index e72b81f..9509f45 100644
--- a/mktest.sh
+++ b/mktest.sh
@@ -25,4 +25,6 @@ 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
+mkdir cage
+echo 'chmod 000 test/cage' > cage/lock.sh
+echo 'chmod 755 test/cage' > cage-unlock.sh