From: Stas B. <sta...@gm...> - 2011-06-04 05:37:03
|
"Matthew D. Swank" <ak...@ch...> writes: > On Ubuntu 11.04 amd64 with gcc version 4.5.2 a fresh cvs checkout of > 1.0.48.35 yields the following error testing the posix contrib. > > Test SB-POSIX-TESTS::READDIR.1 failed > Form: (LET ((SB-POSIX-TESTS::DIR (SB-POSIX:OPENDIR "/"))) > (UNWIND-PROTECT > (BLOCK SB-POSIX-TESTS::DIR-LOOP > (LOOP SB-POSIX-TESTS::FOR SB-POSIX-TESTS::DIRENT = > (SB-POSIX:READDIR > > SB-POSIX-TESTS::DIR) > SB-POSIX-TESTS::UNTIL (NULL-ALIEN > SB-POSIX-TESTS::DIRENT) > WHEN (NOT > (STRINGP > (SB-POSIX:DIRENT-NAME SB-POSIX-TESTS::DIRENT))) > DO (RETURN-FROM SB-POSIX-TESTS::DIR-LOOP NIL) > SB-POSIX-TESTS::FINALLY (RETURN T))) > (SB-POSIX:CLOSEDIR SB-POSIX-TESTS::DIR))) > Expected value: T > Actual value: #<SB-INT:C-STRING-DECODING-ERROR {1002E53FA1}>. > > Is this just me again? You have files in / with names which are not in the encoding SBCL uses. You can set LANG appropriately before compiling SBCL. I don't know what this test is trying to test, but it can be changed to not fail on sb-int:c-string-decoding-error, see the attached diff. |