Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 8E61E200BF6 for ; Tue, 10 Jan 2017 16:32:26 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 8CECF160B4B; Tue, 10 Jan 2017 15:32:26 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id D4FDF160B29 for ; Tue, 10 Jan 2017 16:32:25 +0100 (CET) Received: (qmail 58630 invoked by uid 500); 10 Jan 2017 15:32:25 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 58620 invoked by uid 99); 10 Jan 2017 15:32:25 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 10 Jan 2017 15:32:25 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 9380FC028C for ; Tue, 10 Jan 2017 15:32:24 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -5.3 X-Spam-Level: X-Spam-Status: No, score=-5.3 tagged_above=-999 required=6.31 tests=[RCVD_IN_DNSWL_MED=-2.3, RP_MATCHES_RCVD=-2.999, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id FMHCCIyqUBsW for ; Tue, 10 Jan 2017 15:32:23 +0000 (UTC) Received: from mailserver.kippdata.de (capsella.kippdata.de [195.227.30.149]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id 47D995F1A1 for ; Tue, 10 Jan 2017 15:32:23 +0000 (UTC) Received: from [195.227.30.209] (notebook-rj [195.227.30.209]) by mailserver.kippdata.de (8.13.5/8.13.5) with ESMTP id v0AFWL81025402 for ; Tue, 10 Jan 2017 16:32:21 +0100 (CET) Subject: Re: testpoll To: APR Developer List References: <88266bdb-ff23-f9f4-fd3e-e4750c64fe08@kippdata.de> From: Rainer Jung Message-ID: <80eee238-c073-6a8f-c354-ab7a7dc79a57@kippdata.de> Date: Tue, 10 Jan 2017 16:32:13 +0100 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:45.0) Gecko/20100101 Thunderbird/45.6.0 MIME-Version: 1.0 In-Reply-To: <88266bdb-ff23-f9f4-fd3e-e4750c64fe08@kippdata.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit archived-at: Tue, 10 Jan 2017 15:32:26 -0000 Am 10.01.2017 um 16:20 schrieb Rainer Jung: > Am 10.01.2017 um 15:35 schrieb Jim Jagielski: >> Occasionally, I get: >> >> testpoll : /Line 816: expected <0>, but saw <4> >> >> Anyway I could easily see what test, exactly, is failing? >> ./testall -v testpoll does nil. > > Depending on which version of APR you are testing, it should be line 816 > of file test/testpoll.c, e.g. in 1.5.x and 1.6.x HEAD: > > ... > 815 rv = apr_pollset_poll(pollset, -1, &num, &descriptors); > 816 ABTS_INT_EQUAL(tc, APR_SUCCESS, rv); > 817 ABTS_INT_EQUAL(tc, 1, num); > ... > > checking the return code of the apr_pollset_poll() call in 815 against > APR_SUCCESS. So I guess the expected <0> is APR_SUCCESS and the real > return code was 4. OK, at least on RHEL 6 errno 4 is EINTR. Regards, Rainer