Return-Path: Delivered-To: apmail-httpd-dev-archive@www.apache.org Received: (qmail 90414 invoked from network); 17 Apr 2011 15:52:14 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 17 Apr 2011 15:52:14 -0000 Received: (qmail 69612 invoked by uid 500); 17 Apr 2011 15:52:13 -0000 Delivered-To: apmail-httpd-dev-archive@httpd.apache.org Received: (qmail 69554 invoked by uid 500); 17 Apr 2011 15:52:13 -0000 Mailing-List: contact dev-help@httpd.apache.org; run by ezmlm Precedence: bulk Reply-To: dev@httpd.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list dev@httpd.apache.org Received: (qmail 69546 invoked by uid 99); 17 Apr 2011 15:52:13 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 17 Apr 2011 15:52:13 +0000 X-ASF-Spam-Status: No, hits=0.0 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of torsten.foertsch@gmx.net designates 213.165.64.22 as permitted sender) Received: from [213.165.64.22] (HELO mailout-de.gmx.net) (213.165.64.22) by apache.org (qpsmtpd/0.29) with SMTP; Sun, 17 Apr 2011 15:52:06 +0000 Received: (qmail invoked by alias); 17 Apr 2011 15:51:45 -0000 Received: from p4FD6F9C8.dip.t-dialin.net (EHLO opi.home) [79.214.249.200] by mail.gmx.net (mp058) with SMTP; 17 Apr 2011 17:51:45 +0200 X-Authenticated: #1700068 X-Provags-ID: V01U2FsdGVkX1/7VOkMZIb70CZ4OExjbxzX7I7kSbDH/1vfVJDs5X olYBe8QhoOMH9Q From: Torsten =?iso-8859-1?q?F=F6rtsch?= To: dev@httpd.apache.org Subject: Is this a test framework bug? Date: Sun, 17 Apr 2011 17:51:42 +0200 User-Agent: KMail/1.13.5 (Linux/2.6.34.7-0.7-desktop; KDE/4.4.4; x86_64; ; ) MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Message-Id: <201104171751.42657.torsten.foertsch@gmx.net> X-Y-GMX-Trusted: 0 X-Virus-Checked: Checked by ClamAV on apache.org Hi, t/modules/proxy.t of the test framework contains at line 32 the following 2= =20 tests: $r =3D GET("/reverse/modules/cgi/nph-102.pl"); ok t_cmp($r->code, 200, "reverse proxy to nph-102"); ok t_cmp($r->content, "this is nph-stdout", "reverse proxy 102 response"); The test fails here and I think the test is wrong. When accessed via socat = I=20 see this output: echo -e 'GET /reverse/modules/cgi/nph-102.pl HTTP/1.1\r\nHost:=20 localhost:8538\r\n\r' | socat stdio tcp:localhost.localdomain:8538 HTTP/1.1 102 Please Wait... Host: nph-102 HTTP/1.1 200 OK Date: Sun, 17 Apr 2011 15:30:30 GMT Server: Apache/2.3.12-dev (Unix) mod_ssl/2.3.12-dev OpenSSL/1.0.0 DAV/2 Content-Type: text/plain Transfer-Encoding: chunked 12 this is nph-stdout 0 I believe this is what is to be expected. But the test above tests for status 200 only. So, it will succeed if the pr= oxy=20 module eats up the 102 message. This may be a problem with my libwww-perl. = LWP=20 has recently experienced a major release upgrade. It reports $r->code as 10= 2.=20 Perhaps older versions report the 2nd response only. Torsten F=F6rtsch =2D-=20 Need professional modperl support? Hire me! (http://foertsch.name) Like fantasy? http://kabatinte.net