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 83A9D200C30 for ; Tue, 7 Mar 2017 16:38:14 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 82613160B68; Tue, 7 Mar 2017 15:38:14 +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 CACD4160B5F for ; Tue, 7 Mar 2017 16:38:13 +0100 (CET) Received: (qmail 68368 invoked by uid 500); 7 Mar 2017 15:38:07 -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 68357 invoked by uid 99); 7 Mar 2017 15:38:07 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd1-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 07 Mar 2017 15:38:07 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd1-us-west.apache.org (ASF Mail Server at spamd1-us-west.apache.org) with ESMTP id 5DA30C2586 for ; Tue, 7 Mar 2017 15:38:07 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd1-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.22 X-Spam-Level: X-Spam-Status: No, score=-0.22 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=disabled Authentication-Results: spamd1-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=rowe-clan-net.20150623.gappssmtp.com Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd1-us-west.apache.org [10.40.0.7]) (amavisd-new, port 10024) with ESMTP id ZtimtmgJUjV1 for ; Tue, 7 Mar 2017 15:38:06 +0000 (UTC) Received: from mail-it0-f43.google.com (mail-it0-f43.google.com [209.85.214.43]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 2F30F5F3BC for ; Tue, 7 Mar 2017 15:38:06 +0000 (UTC) Received: by mail-it0-f43.google.com with SMTP id m27so6318186iti.1 for ; Tue, 07 Mar 2017 07:38:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rowe-clan-net.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=UypANfCu3OQPeT/MNr5riJBG1DE/fep78aOJwpyGDYI=; b=YhVA3WVlkuoSoNDguwqRnVy6hvO8xdiV+sijl0vovXHsD3hl2r45uY+YCsWASnwfu9 zcS5op0R4FopopVPfL7CEZuUZTpeCZgap/UcyubYXBHV72VIhMsMudM8l++QRtWdphs3 XQQNxvr5antceuJBLB/xMQ8SxXV3iqmSKUWwcDAtCU/r+LkCF0TrWX4DO0CltWwBH9YU zapdFHMkKGQTWz+APHDAOTMzSMlYNjqWxvsWMghNDz5jOvLq50JVOSj7kIoiKGRLxf+C CP+SKvfYWL/9aF6KcZB4C7bQgWOo884qZJqsw0ILRZvEzaqtVnu93D7AAaarBeW3YjD9 yubA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=UypANfCu3OQPeT/MNr5riJBG1DE/fep78aOJwpyGDYI=; b=SoRfrV78C3g9qr/VBGJwx+tk/3E1FbWfXbcirfEra2ao6yGU9WQPEICC2PMQTU1GCu XN9y3mGMEwxyIbbVv+nAHyng48v+znh2PMe1JoODwD0ugUJfj3lB17ejCUNt5+j4GHYg PLGWQJpM0hnVn4TvA/xdNbLkQEXyLWYk52ntAG0E37IWrPFaRz5CQbBZTgB/PGQNNome I8JwPLfzJvK+rDTqmwNgOTvQ1/rT7CZbEVpvFtihP4BgK8mGqpQqwvanU75cg16HPBZp DeamLONtVgo4JfZe2niTi71O+Wb6SgB6bG2ysvegBxksnqLcCXsz24P54Pfuft9l/W/U oZ9g== X-Gm-Message-State: AMke39l5bBFKweIoaIWvnSw60ekUg+J2Up7IaQPcLwI/TD4mLVdP3Z0HXmbkbjl7eB2dk4aPVui1bJ3+4hV9SHcS X-Received: by 10.36.85.145 with SMTP id e139mr1469440itb.8.1488900752083; Tue, 07 Mar 2017 07:32:32 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.55.3 with HTTP; Tue, 7 Mar 2017 07:32:31 -0800 (PST) In-Reply-To: References: <34627378.RDOQ12N5f7@k> From: William A Rowe Jr Date: Tue, 7 Mar 2017 09:32:31 -0600 Message-ID: Subject: Re: Problems using Apache::Test on Debian (and Ubuntu) To: httpd Cc: Stefan Fritsch Content-Type: text/plain; charset=UTF-8 archived-at: Tue, 07 Mar 2017 15:38:14 -0000 On Mon, Mar 6, 2017 at 3:11 PM, Sam Tregar wrote: > Are you suggesting that people who want to run tests that use Apache::Test > should know that they have to source /etc/apache2/envvars first? Or that I > should patch Apache::Test to source that file instead of guessing which vars > to set? > > That file unsets HOME on Ubuntu and changes LANG to C, so if we tell people > to source it we should probably also tell them to logout afterwards. It seems we should have the framework process the bin/envvars (in the normal path, or /etc/apache2 in this case)... but that should be based on retrieving the pathname of bin/envvars from apxs, and apxs doesn't have this info (it also does not have two distinct entitites for the progname and config file name, requiring that both be overridden if the progname is changed.) Because of a small delta between fedora's openssl x509 and my stock openssl build (and fedora's is found first on the path)... processing bin/envvars without loading it into the current console session would be a big win for me! I guess we aught to add both the envvars and distinct conffile defaults to the apxs utility, and then we can play catch-up in Apache::Test. Not sure what the stop-gap would be for Ubuntu short-term. WDYT?