aboutsummaryrefslogtreecommitdiffstats
path: root/scripts/test
diff options
context:
space:
mode:
authorGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-09-02 13:28:58 +0530
committerGravatar Arun Prakash Jana <engineerarun@gmail.com>2017-09-02 13:28:58 +0530
commitd0e4c0aac2d3d552f0771f71dccb315868eea0f5 (patch)
tree3ceebebc13aff7cb5076583120a706e1ff63222b /scripts/test
parent17350ecca428a101da9038652629c5f78d007543 (diff)
downloadnnn-d0e4c0aac2d3d552f0771f71dccb315868eea0f5.tar.gz
Add tests for Unicode and astral codepoints
Diffstat (limited to 'scripts/test')
-rwxr-xr-xscripts/test/mktest.sh9
1 files changed, 8 insertions, 1 deletions
diff --git a/scripts/test/mktest.sh b/scripts/test/mktest.sh
index c808d38..c75dd94 100755
--- a/scripts/test/mktest.sh
+++ b/scripts/test/mktest.sh
@@ -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'