On 8/8/12 9:51 AM, Tordek wrote: > On 08/08/12 03:48, michael j pan wrote: > >> Downloading https://github.com/zedshaw/mongrel2/tarball/v1.8.0 >> works fine. However, the tar.bz2 link on the zedshaw/mongrel2 github >> page actually links to a zipball (not a bzip2 tarball). > > Ugh, fixed, sorry. That's what I get for copypasting stuff. > >> Under both Debian and Mac OSX 10.6.8, mongrel2 builds fine (no errors). >> However, the tests/dir_tests fails with: > Hmm? Is this something because of .zip, or a github bug? > >> --Jeff > I am not sufficiently familiar with how to fix the issue, but here it is: the zip process is messing up the names of the file and directory that have unicode names in the test directory.
I am running Mac OS X 10.6.8 I downloaded: zedshaw-mongrel2-v1.8.0-2-g92ae6c1.tar.gz zedshaw-mongrel2-v1.8.0-2-g92ae6c1.zip by using the two github download buttons mongrel2.tar.gz: in the test directory, there a file and directory named using unicode characters (€tonnänt%20/ and €tonnänt%20.txþ) mongrel2.zip in the test directory, the file and directory are listed as: (%D4%E9%BCtonn+%F1nt%20/ and %D4%E9%BCtonn+%F1nt%20.tx+%A5) Compiling mongrel2 from the tar.gz -- tests pass Compiling mongrel2 from the .zip sh ./tests/runtests.sh Running unit tests: tests/bstr_tests PASS tests/cache_tests PASS Wed, 08 Aug 2012 15:25:01 GMT [INFO] (null.c:45) Got the good path. Wed, 08 Aug 2012 15:25:01 GMT [INFO] (null.c:48) Got the bad path: badpath tests/config_tests PASS tests/connection_tests PASS tests/darray_tests PASS tests/db_tests PASS tests/dict_tests PASS ERROR in test tests/dir_tests: ---- RUNNING: ./tests/dir_tests FAILED: Should find file with a percent-encoded name. Tests run: 3 make: *** [tests] Error 1
