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 EB60F6DE0FD2 for ; Mon, 25 Sep 2017 13:39:48 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at cworth.org X-Amavis-Alert: BAD HEADER SECTION, Duplicate header field: "References" X-Spam-Flag: NO X-Spam-Score: -0.07 X-Spam-Level: X-Spam-Status: No, score=-0.07 tagged_above=-999 required=5 tests=[AWL=0.141, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.211] 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 9s-Fu_K4qSB6 for ; Mon, 25 Sep 2017 13:39:48 -0700 (PDT) Received: from mail-wr0-f177.google.com (mail-wr0-f177.google.com [209.85.128.177]) by arlo.cworth.org (Postfix) with ESMTPS id 0949E6DE12EC for ; Mon, 25 Sep 2017 13:39:17 -0700 (PDT) Received: by mail-wr0-f177.google.com with SMTP id w12so9966854wrc.7 for ; Mon, 25 Sep 2017 13:39:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nikula-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :in-reply-to:references; bh=YR195+WsqpTIw66IuFZiqN0rh/O46RIAC2tlJD9WQgk=; b=IQ83aWKGV3rGYsK9DCwQj1g2x79AhBkslngB36ISZnBCTYzg7tbLczbvGUAsoNA3f/ rIPStERLbqKp14/Qa95j7q0lvK+DpYpoFZXQPc9IVCUG2fc8/nI56GMLAPQ+Por0O5n0 +HXfttbvCcqeuGWv7eaW1qoDOQxufSQ1GPIHvjdnl3S/8NmkUMeJyT5bJQPOybFYmwsg G6xronQEy15/mV+B7P93n0XueHXHnx1/feVB2QdvaV74T7mXQFudUUm58XHsymyy7MkM OIZv1e6cMQxonBdMq3iNEd1K7bwa6KoCBZOy01FcIwSAjDnS1tYLe5fI2GWjtZzh4qZp cn7A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:in-reply-to:references; bh=YR195+WsqpTIw66IuFZiqN0rh/O46RIAC2tlJD9WQgk=; b=XisOh8QiqXlqG0c7FGHShQ30WuG2By0P62ntZ4lrTIvGggj9M8XzQWixn3oy99kfUg LzVQxj7u939Y1H1N9IzgarTAgLjeyc3xkSCOkv/O8PcUKMcHudcZuotGf7wbxfCktJ97 2uLzwhzM5xB5OVQ7l7JBVG2xMyERvijoEvsd+n53aoV3YY6ls788XntrNsd7HOT1xT6x RHUUN4CtpDp81R8Sdmutf4HqNhiu88TASVho7fHyBl7lI7jPKb9J+qROE74ld/FkXePB 4mHFOoqvM7q6yqnvy9nTOUoBiTFnHJ0MS5etaz0dWmpqchSbjV5dIUgbON4JRG+wHsan oy+w== X-Gm-Message-State: AHPjjUjvi6cTkeSOepgstY64EIT74A0xkFiDYrrn5MECq6db6hmrUA4T v+bDfP1x43utvGulc6UM8frO3lhbq/E= X-Google-Smtp-Source: AOwi7QB7iY+HbFvHvqjNfLDkGH/VuYMbBUfV1K8KTYRJvV48IoGRQWxI5dIPGpwf4aisIyYjWHqshw== X-Received: by 10.25.157.209 with SMTP id g200mr2559926lfe.195.1506371954672; Mon, 25 Sep 2017 13:39:14 -0700 (PDT) Received: from localhost (mobile-access-5d6a60-234.dhcp.inet.fi. [93.106.96.234]) by smtp.gmail.com with ESMTPSA id z86sm1596292ljb.75.2017.09.25.13.39.13 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Sep 2017 13:39:14 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 18/24] test: use source and build paths in T360-symbol-hiding.sh Date: Mon, 25 Sep 2017 23:38:34 +0300 Message-Id: <0ea59b49bffa324c3f20d7527232c6da1563c9a9.1506370901.git.jani@nikula.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: References: In-Reply-To: References: X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.23 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: Mon, 25 Sep 2017 20:39:49 -0000 Make a distinction between source and build directories. --- test/T360-symbol-hiding.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/T360-symbol-hiding.sh b/test/T360-symbol-hiding.sh index 68edc2d3a7ab..43921cb4a275 100755 --- a/test/T360-symbol-hiding.sh +++ b/test/T360-symbol-hiding.sh @@ -26,8 +26,8 @@ test_begin_subtest 'checking output' test_expect_equal "$result" "$output" test_begin_subtest 'comparing existing to exported symbols' -nm -P $TEST_DIRECTORY/../lib/libnotmuch.so | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL -sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $TEST_DIRECTORY/../lib/notmuch.h | sort | uniq > EXPORTED +nm -P $NOTMUCH_BUILDDIR/lib/libnotmuch.so | awk '$2 == "T" && $1 ~ "^notmuch" {print $1}' | sort | uniq > ACTUAL +sed -n 's/^\(notmuch_[a-zA-Z0-9_]*\)[[:blank:]]*(.*/\1/p' $NOTMUCH_SRCDIR/lib/notmuch.h | sort | uniq > EXPORTED test_expect_equal_file EXPORTED ACTUAL test_done -- 2.11.0