From patchwork Fri Oct 11 12:07:41 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Florian Weimer X-Patchwork-Id: 1175131 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=sourceware.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=libc-alpha-return-105875-incoming=patchwork.ozlabs.org@sourceware.org; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; secure) header.d=sourceware.org header.i=@sourceware.org header.b="A0eVzctS"; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 46qRY43kY3z9sP6 for ; Fri, 11 Oct 2019 23:07:52 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; q=dns; s=default; b=bLg3XL/2cdpGSk1LWqcYWTHlp23om oAe3WTZpiu74A/C+vjdAsoOlTsiTco4TUfuI6r1YoZjaDtDyf2cN4w7+qrhcZE94 q41qTEQEecTqo0UWcv+wYYUMWdwsOxNy3qZmpwCdxNQayNiM86hb/B6pCmirn0lR y9pa8Z471mkPVA= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:from:to:subject:date:message-id:mime-version :content-type; s=default; bh=+90DNc1QF8dpu8vXFX7xlwR8vYw=; b=A0e VzctSLRvtslw931UC9r1xTxwVIT/WW57zu1nHv0FQ3/0W8ifa0koOXoSsI11D33i zW9T93lyyc1qkjglqSu3QOrQe9qOmbepwsS7T2lFkTWwwJYJ5MF4yY2dwEEOZalx Ci2yxkuZXuOF1F/lmLE5gSJsMbuFL1Pl7Qu5mPOY= Received: (qmail 49269 invoked by alias); 11 Oct 2019 12:07:45 -0000 Mailing-List: contact libc-alpha-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-alpha-owner@sourceware.org Delivered-To: mailing list libc-alpha@sourceware.org Received: (qmail 49261 invoked by uid 89); 11 Oct 2019 12:07:45 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.4 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_HELO_PASS autolearn=ham version=3.3.1 spammy=Isolate X-HELO: mx1.redhat.com From: Florian Weimer To: libc-alpha@sourceware.org Subject: [PATCH] resolv/tst-idna_name_classify: Isolate from system libraries Date: Fri, 11 Oct 2019 14:07:41 +0200 Message-ID: <87sgnzjxiq.fsf@oldenburg2.str.redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Loading NSS modules from static binaries uses installed system libraries if LD_LIBRARY_PATH is not set. 2019-10-11 Florian Weimer * inet/Makefile (tst-idna_name_classify-ENV): Set LD_LIBRARY_PATH. diff --git a/inet/Makefile b/inet/Makefile index 1fda64abe7..33912340a2 100644 --- a/inet/Makefile +++ b/inet/Makefile @@ -112,4 +112,8 @@ ifeq ($(build-static-nss),yes) CFLAGS += -DSTATIC_NSS endif +# The test uses dlopen indirectly and would otherwise load system +# objects. +tst-idna_name_classify-ENV = \ + LD_LIBRARY_PATH=$(objpfx):$(common-objpfx):$(common-objpfx)elf $(objpfx)tst-idna_name_classify.out: $(gen-locales)