chiark / gitweb /
tests: move test APK with bad unicode filename to separate test
authorHans-Christoph Steiner <hans@eds.org>
Tue, 19 Sep 2017 14:48:20 +0000 (16:48 +0200)
committerHans-Christoph Steiner <hans@eds.org>
Tue, 19 Sep 2017 18:13:36 +0000 (20:13 +0200)
commit6adf309bef5ee7dbc6785d44d30f28c41ba2866b
tree4f5f204584d7f93fafe514e246b368e99e6d56f0
parent5dcb48831feee272a9da4a564c52383d3c952d04
tests: move test APK with bad unicode filename to separate test

This filename has some messed up bytes related to bi-directional script
that is included (Left-to-Right and Right-to-Left).  GNU/Linux always
interprets filenames as pure byte sequences.  Windows and OSX store
filenames as Unicode strings.  So on OSX, the invalid filename gets
converted to a valid name.  That works fine, but the test fails because it
is compared to a file generated on Ubuntu, where it preserves the byte
sequence.

This includes an APK with a valid Unicode filename that includes
bi-directional script.
tests/bad-unicode-πÇÇπÇÇ现代汉语通用字-български-عربي1234.apk [moved from tests/repo/urzip-πÇÇπÇÇ现代汉语通用字-български-عربي1234.apk with 100% similarity]
tests/repo/index.xml
tests/repo/urzip-Sergey Vasilyevich Rakhmaninov; Серге́й Васи́льевич Рахма́нинов, IPA: [sʲɪrˈɡʲej rɐxˈmanʲɪnəf] سيرجي_رخمانينوف 谢尔盖·瓦西里耶维奇·拉赫玛.apk尼诺夫 .apk [new file with mode: 0644]
tests/run-tests
tests/stats/known_apks.txt