Browse Source

Add tests for Unicode and astral codepoints

master
Arun Prakash Jana 7 years ago
parent
commit
d0e4c0aac2
No known key found for this signature in database GPG Key ID: A75979F35C080412
1 changed files with 8 additions and 1 deletions
  1. +8
    -1
      scripts/test/mktest.sh

+ 8
- 1
scripts/test/mktest.sh View File

@@ -7,7 +7,7 @@ test -e test && {
exit 1 exit 1
} }


mkdir test && cd test mkdir outdir && cd outdir


echo 'It works!' > normal.txt echo 'It works!' > normal.txt
echo 'Με δουλέβει;' > 'κοινό.txt' echo 'Με δουλέβει;' > 'κοινό.txt'
@@ -30,3 +30,10 @@ 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 cage/lion
echo 'chmod 000 test/cage' > cage/lion/lock.sh echo 'chmod 000 test/cage' > cage/lion/lock.sh
mkdir unicode
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 3)'
chmod +x 'unicode/Malgudi Days - मालगुडी डेज - E05. Swami and Friends - स्वामी और उसके दोस्त (Part 2)'
touch 'unicode/Führer'
touch 'unicode/Eso eso aamar ghare eso ♫ এসো এসো আমার ঘরে এসো ♫ Swagatalakshmi Dasgupta'

||||||
x
 
000:0
Loading…
Cancel
Save