From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from localhost (localhost [127.0.0.1]) by arlo.cworth.org (Postfix) with ESMTP id 639146DE015B for ; Sun, 15 May 2016 06:50:26 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Spam-Flag: NO X-Spam-Score: -0.012 X-Spam-Level: X-Spam-Status: No, score=-0.012 tagged_above=-999 required=5 tests=[AWL=-0.001, SPF_PASS=-0.001, T_RP_MATCHES_RCVD=-0.01] autolearn=disabled Received: from arlo.cworth.org ([127.0.0.1]) by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id SANbn1byAUg5 for ; Sun, 15 May 2016 06:50:18 -0700 (PDT) Received: from fethera.tethera.net (fethera.tethera.net [198.245.60.197]) by arlo.cworth.org (Postfix) with ESMTPS id 9F79C6DE0222 for ; Sun, 15 May 2016 06:50:18 -0700 (PDT) Received: from remotemail by fethera.tethera.net with local (Exim 4.84) (envelope-from ) id 1b1wQt-00089h-C3; Sun, 15 May 2016 09:50:11 -0400 Received: (nullmailer pid 1987 invoked by uid 1000); Sun, 15 May 2016 13:50:16 -0000 From: David Bremner To: Tomi Ollila , notmuch@notmuchmail.org Cc: tomi.ollila@iki.fi Subject: Re: [PATCH] test: set LD_LIBRARY_PATH early and keep its old contents In-Reply-To: <1460738800-9021-1-git-send-email-tomi.ollila@iki.fi> References: <1460738800-9021-1-git-send-email-tomi.ollila@iki.fi> User-Agent: Notmuch/0.22 (http://notmuchmail.org) Emacs/24.5.1 (x86_64-pc-linux-gnu) Date: Sun, 15 May 2016 10:50:16 -0300 Message-ID: <871t531ld3.fsf@zancas.localnet> MIME-Version: 1.0 Content-Type: text/plain X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 May 2016 13:50:26 -0000 Tomi Ollila writes: > Previously LD_LIBRARY_PATH was set in the middle of test case > execution, when a function setting it was called. > > Previously the old contents of LD_LIBRARY_PATH was lost (if any) > when it was re-set. In some systems the old contents of > LD_LIBRARY_PATH was needed to e.g. locate suitable gmime library. Maybe I'm too fussy today, but isn't the important difference here whether LD_LIBRARY_PATH is exported or not? d