mirror of
https://github.com/jarun/nnn.git
synced 2024-11-24 11:51:27 +00:00
More test cases about permissions
This commit is contained in:
parent
ac36d0b287
commit
018b52a8ee
|
@ -18,8 +18,11 @@ ln -s normal-dir ln-normal-dir
|
||||||
ln -s nowhere ln-nowhere
|
ln -s nowhere ln-nowhere
|
||||||
mkfifo mk-fifo
|
mkfifo mk-fifo
|
||||||
touch no-access && chmod 000 no-access
|
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.txt
|
||||||
ln -s ../normal.txt normal-dir/ln-normal
|
ln -s ../normal.txt normal-dir/ln-normal
|
||||||
echo 'int main(void) { *((char *)0) = 0; }' > ill.c
|
echo 'int main(void) { *((char *)0) = 0; }' > ill.c
|
||||||
make ill > /dev/null
|
make ill > /dev/null
|
||||||
echo 'test/ill' > ill.sh
|
echo 'test/ill' > ill.sh
|
||||||
|
mkdir empty-dir
|
||||||
|
echo 'chmod 000 test' > lock.sh
|
||||||
|
|
Loading…
Reference in a new issue