]> Sergey Matveev's repositories - nnn.git/commitdiff
Add tests for Unicode and astral codepoints
authorArun Prakash Jana <engineerarun@gmail.com>
Sat, 2 Sep 2017 07:58:58 +0000 (13:28 +0530)
committerArun Prakash Jana <engineerarun@gmail.com>
Sat, 2 Sep 2017 07:58:58 +0000 (13:28 +0530)
scripts/test/mktest.sh

index c808d387cd91c99e4d14aeebe13a074cdada69ba..c75dd9447faa29b542b2252468aefc0eb357306e 100755 (executable)
@@ -7,7 +7,7 @@ test -e test && {
     exit 1
 }
 
-mkdir test && cd test
+mkdir outdir && cd outdir
 
 echo 'It works!' > normal.txt
 echo 'Με δουλέβει;' > 'κοινό.txt'
@@ -30,3 +30,10 @@ echo 'chmod 000 test/cage' > cage/lock.sh
 echo 'chmod 755 test/cage' > cage-unlock.sh
 mkdir cage/lion
 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'