Return-Path: Delivered-To: apmail-httpd-apreq-dev-archive@www.apache.org Received: (qmail 50290 invoked from network); 13 Apr 2007 16:58:57 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Apr 2007 16:58:57 -0000 Received: (qmail 80041 invoked by uid 500); 13 Apr 2007 16:59:02 -0000 Delivered-To: apmail-httpd-apreq-dev-archive@httpd.apache.org Received: (qmail 80019 invoked by uid 500); 13 Apr 2007 16:59:02 -0000 Mailing-List: contact apreq-dev-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list apreq-dev@httpd.apache.org Received: (qmail 80008 invoked by uid 99); 13 Apr 2007 16:59:02 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 09:59:02 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [208.97.132.177] (HELO swarthymail-a3.g.dreamhost.com) (208.97.132.177) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 13 Apr 2007 09:58:55 -0700 Received: from [192.168.1.103] (user-108763e.cable.mindspring.com [64.131.152.110]) by swarthymail-a3.g.dreamhost.com (Postfix) with ESMTP id 988FE7F067 for ; Fri, 13 Apr 2007 09:58:34 -0700 (PDT) Mime-Version: 1.0 (Apple Message framework v752.2) Content-Transfer-Encoding: 7bit Message-Id: <760B0769-6C22-423E-AAC4-F3712CC9543D@2xlp.com> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed To: apreq-dev@httpd.apache.org From: Jonathan Vanasco Subject: Error Building libapreq2.08 Date: Fri, 13 Apr 2007 12:58:32 -0400 X-Mailer: Apple Mail (2.752.2) X-Virus-Checked: Checked by ClamAV on apache.org I encountered an error building libapreq2.08 I posted it on the mp list when I thought it was perl related, but the issue seems to be in the C code , so i'm reposting here. I'm running osx 10.4.9 Error ==================== perl -MTest::Harness -e 'runtests(@ARGV)' version.t cookie.t params.t parsers.t error.t util.t version....ok cookie.....ok params.....ok parsers....ok 3/542 skipped: skipping ELF-dependent tests (parsers.c:134) error......ok util.......FAILED tests 36-37 Failed 2/89 tests, 97.75% okay Failed Test Stat Wstat Total Fail Failed List of Failed ------------------------------------------------------------------------ ------- util.t 89 2 2.25% 36-37 3 subtests skipped. Failed 1/6 test scripts, 83.33% okay. 2/747 subtests failed, 99.73% okay. make[2]: *** [test] Error 255 make[1]: *** [test] Error 2 make: *** [library_test] Error 2 ==================== Verbose error ( $export HARNESS_VERBOSE='1' ) ==================== not ok 36 - apreq_decode(expect, &elen, src3, sizeof(src3) -1) == APR_SUCCESS, as integers # at (util.c:107) test 5 in test_charset_divine not ok 37 - apreq_charset_divine(expect, elen) == APREQ_CHARSET_CP1252, as integers # at (util.c:109) test 6 in test_charset_divine in util.c: ==================== static void test_charset_divine(dAT) { apr_size_t elen; char src1[] = "%C3%80%E3%82%a2"; /* A_GRAVE KATAKANA_A as utf8 */ char src2[] = "pound%A3";/* latin-1 */ char src3[] = "euro%80";/* cp-1252 */ char expect[6]; AT_int_eq(apreq_decode(expect, &elen, src1, sizeof(src1) -1), APR_SUCCESS); AT_int_eq(apreq_charset_divine(expect, elen), APREQ_CHARSET_UTF8); AT_int_eq(apreq_decode(expect, &elen, src2, sizeof(src2) -1), APR_SUCCESS); AT_int_eq(apreq_charset_divine(expect, elen), APREQ_CHARSET_LATIN1); AT_int_eq(apreq_decode(expect, &elen, src3, sizeof(src3) -1), APR_SUCCESS); AT_int_eq(apreq_charset_divine(expect, elen), APREQ_CHARSET_CP1252); } // Jonathan Vanasco | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | SyndiClick.com | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | FindMeOn.com - The cure for Multiple Web Personality Disorder | Web Identity Management and 3D Social Networking | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | RoadSound.com - Tools For Bands, Stuff For Fans | Collaborative Online Management And Syndication Tools | - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -