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 71F9B6DE0B14 for ; Mon, 25 Sep 2017 13:39:50 -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.071 X-Spam-Level: X-Spam-Status: No, score=-0.071 tagged_above=-999 required=5 tests=[AWL=0.140, 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 AVOuHDjNq0dS for ; Mon, 25 Sep 2017 13:39:49 -0700 (PDT) Received: from mail-wr0-f194.google.com (mail-wr0-f194.google.com [209.85.128.194]) by arlo.cworth.org (Postfix) with ESMTPS id 78A226DE1310 for ; Mon, 25 Sep 2017 13:39:24 -0700 (PDT) Received: by mail-wr0-f194.google.com with SMTP id p37so599890wrb.5 for ; Mon, 25 Sep 2017 13:39:24 -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=ZJ6WcBemqZ7YH/D4NVOF01EHvOp0pPTu88oMqYiBRwA=; b=bC8SwNKG+qQ8TRysLfYu0+a6yilysdNYIbkcex1h31IetTIfAH6lGVh4SsZvdl8YY/ GLdjZ4/HkPNFke5qw8add6VUkHFHtPJ8XTWl21x4/Fk69KRz4kTR7U7CplpAf3yRLZmk SdkKYpsRzwZaamFAUXayRnx5s4CTBgOwbU3jnb6zi3V3VOHdfh3+TX0pDkhIDreu64Cc CGdGytTZga/eI2TtYwLuy4epJWrJaVBeWpFOLWSBe88UfcBSvgUT1/7nq/qbpWW8+Qjk FJBa1TzQpSPB61RpArhaUmvzyPxqdsemIT9kbeFAQNbKV2322xD/XTQ7Qk/08QSahGW1 sdlw== 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=ZJ6WcBemqZ7YH/D4NVOF01EHvOp0pPTu88oMqYiBRwA=; b=TB4vBxvbs8yJc/1gEV6evZiKZEGjdTOpfjt+jwa6BX0jQXZkRj6PD6QaHCepuDgPRa oIbv+gUEMWbR/iIlQ7uT8lhtJdJoHHKWyyQPuFXKSP/7k3T/ykXBLWLBZwAm71PIoix0 0eV+rjBHeoXRMZaEOt0QIDHYnLrXuoVYHr5fddX374QMdnxm7uhCq+JUhT26MxnazrVS 0XtVnvtCvf2hhznqKjfxL4rNLY5EmzA6/FwXYDtLtWwol8gZLBF1yaFDfMxjwa8RciLA 54OLce4wT1VZtgs7FHsWqJ6aqhZW7yWSFcXtCeBocRPjDpc4jurOda9iQrDRIWwew6kx mtRA== X-Gm-Message-State: AHPjjUjkSwJTKGZnWOu9A64ZfqOqLH6WCxExCMZFvJvrn48TvBMyd2+V rXBYc2sviRD2f1JpfiNUwJTeh8NDK8o= X-Google-Smtp-Source: AOwi7QDoTPH2cgOQQeLuvyLxBZeyjW7RdEHfD9cdFiKEf0b5EmPRZlVEaXZupwKOUm9rYg58gca9Hg== X-Received: by 10.25.40.196 with SMTP id o187mr2319681lfo.149.1506371961358; Mon, 25 Sep 2017 13:39:21 -0700 (PDT) Received: from localhost (mobile-access-5d6a60-234.dhcp.inet.fi. [93.106.96.234]) by smtp.gmail.com with ESMTPSA id g141sm1124315lfg.70.2017.09.25.13.39.20 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Sep 2017 13:39:20 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 22/24] test: use source and build paths in T590-thread-breakage.sh Date: Mon, 25 Sep 2017 23:38:38 +0300 Message-Id: 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:50 -0000 Make a distinction between source and build directories. --- test/T590-thread-breakage.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/T590-thread-breakage.sh b/test/T590-thread-breakage.sh index 53932d63effe..aeb82cf4e3f3 100755 --- a/test/T590-thread-breakage.sh +++ b/test/T590-thread-breakage.sh @@ -66,7 +66,7 @@ test_thread_count() { test_ghost_count() { test_begin_subtest "${2:-Expecting $1 ghosts(s)}" - ghosts=$(../ghost-report ${MAIL_DIR}/.notmuch/xapian) + ghosts=$($NOTMUCH_BUILDDIR/test/ghost-report ${MAIL_DIR}/.notmuch/xapian) test_expect_equal "$ghosts" "$1" } @@ -111,7 +111,7 @@ test_content_count banana 0 test_begin_subtest 'No ghosts should remain after deletion of second message' # this is known to fail; we are leaking ghost messages deliberately test_subtest_known_broken -ghosts=$(../ghost-report ${MAIL_DIR}/.notmuch/xapian) +ghosts=$($NOTMUCH_BUILDDIR/test/ghost-report ${MAIL_DIR}/.notmuch/xapian) test_expect_equal "$ghosts" "0" rm -f ${MAIL_DIR}/cur/a -- 2.11.0