mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Make test script more aggressive
This commit is contained in:
parent
c35c1afa87
commit
335242a1eb
|
@ -7,30 +7,30 @@ test -e test && {
|
||||||
exit 1
|
exit 1
|
||||||
}
|
}
|
||||||
|
|
||||||
mkdir outdir && cd outdir
|
mkdir -p outdir && cd outdir
|
||||||
|
|
||||||
echo 'It works!' > normal.txt
|
echo 'It works!' > normal.txt
|
||||||
echo 'Με δουλέβει;' > 'κοινό.txt'
|
echo 'Με δουλέβει;' > 'κοινό.txt'
|
||||||
ln -s normal.txt ln-normal.txt
|
ln -sf normal.txt ln-normal.txt
|
||||||
ln -s normal.txt ln-normal
|
ln -sf normal.txt ln-normal
|
||||||
mkdir normal-dir
|
mkdir -p normal-dir
|
||||||
ln -s normal-dir ln-normal-dir
|
ln -sf normal-dir ln-normal-dir
|
||||||
ln -s nowhere ln-nowhere
|
ln -sf 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
|
mkdir -p no-access-dir && chmod 000 no-access-dir
|
||||||
ln -s ../normal.txt normal-dir/ln-normal.txt
|
ln -sf ../normal.txt normal-dir/ln-normal.txt
|
||||||
ln -s ../normal.txt normal-dir/ln-normal
|
ln -sf ../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
|
mkdir -p empty-dir
|
||||||
mkdir cage
|
mkdir -p cage
|
||||||
echo 'chmod 000 test/cage' > cage/lock.sh
|
echo 'chmod 000 test/cage' > cage/lock.sh
|
||||||
echo 'chmod 755 test/cage' > cage-unlock.sh
|
echo 'chmod 755 test/cage' > cage-unlock.sh
|
||||||
mkdir cage/lion
|
mkdir -p cage/lion
|
||||||
echo 'chmod 000 test/cage' > cage/lion/lock.sh
|
echo 'chmod 000 test/cage' > cage/lion/lock.sh
|
||||||
mkdir unicode
|
mkdir -p unicode
|
||||||
touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 1)'
|
touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 1)'
|
||||||
touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 2)'
|
touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 2)'
|
||||||
touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 3)'
|
touch 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 3)'
|
||||||
|
|
Loading…
Reference in a new issue