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 4721D6DE12BD for ; Mon, 25 Sep 2017 13:39:42 -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 4_-Gu9osvE0A for ; Mon, 25 Sep 2017 13:39:41 -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 5E9F06DE10B7 for ; Mon, 25 Sep 2017 13:39:13 -0700 (PDT) Received: by mail-wr0-f194.google.com with SMTP id b9so601169wra.0 for ; Mon, 25 Sep 2017 13:39:13 -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=loMfK7+pSNQ/nGPxzSXlFq0UFfEN2Qs1PNn+a9xI/hE=; b=mpVgpsBIyx3T49K5Qfav9RUHlTB6VTiiDSlsRvRHHjQzl19GpsBYQBnAx6YWb3dack gGAMbkt7UMNoZKIZE+O2uV5be1HYttAuBdFdOSYv6z9IrMHApC8TsA7A5mInQxPg+5NA /p03vYW2oVeYjxVSfQQZnpirz4/JEtw/XXkeX0EckxBfZ/KUSM2ayCXJtMd6llb4yj0m DkJ1irYZtgUOsHbj0fFiFfbBEV0w+46NTVtMdqe/9ZbG17qCWc0zHFV40XnI9MrmKHWC KBJ+gGqXzZZLQU7GG/GcHmalrKf128DQjuYKu2H3RZVbEw1ZcO+vGrKLUj8wiienjGoQ yEBA== 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=loMfK7+pSNQ/nGPxzSXlFq0UFfEN2Qs1PNn+a9xI/hE=; b=jeNS2a90bBcA5D6FplVrmGK6PEJfFTWxwquaXfVWmtnGiS1mCiWStrMu5TBXrM52E5 vfmEz7X4pOdiuBHGOJNXDh3OyrL6Hue6/1R69xMAOn733PkwgHnacrXZUQ/p7WYoWGmq 0Tt/aGKxTZnd+/hWi6mqmeLjU4jwBnT6hahIvf3XRAy4NEOxUgREq+0Gzr/F1l3ek+NH NdPtHBOPCSe1H/5PPGZgnIrkSVJrU2/6Smv0BXvjrHsQJYk/mEwMRGhGf7Z7J7gse08H OJTP9ZEcNxqIbfpG5/cTi0vx9375XGuRn2FAErKjAgcswN4PblV1E2ea819VWu5B5DKe knxA== X-Gm-Message-State: AHPjjUjSKrVuRPTJJJbYnLpRpScj1rCHcmV5CT6c44imBEuaKVIBgn/Q Z+Iqv1rOv4U7DI+DrM2z3knPKoN5UfI= X-Google-Smtp-Source: AOwi7QDuOd50vk0eDAYQdi46PFg0n2i4j6ly0XvTR6gChVZNaXXjlkzvf76YGGc9NVGx9R3bnhYsOQ== X-Received: by 10.46.32.148 with SMTP id g20mr3359948lji.62.1506371949776; Mon, 25 Sep 2017 13:39:09 -0700 (PDT) Received: from localhost (mobile-access-5d6a60-234.dhcp.inet.fi. [93.106.96.234]) by smtp.gmail.com with ESMTPSA id n74sm1578100lja.44.2017.09.25.13.39.09 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Sep 2017 13:39:09 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 15/24] test: use source and build paths in T310-emacs.sh Date: Mon, 25 Sep 2017 23:38:31 +0300 Message-Id: <2c99a46ee06327f7d433c503234f212ef7f38d2e.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:42 -0000 Make a distinction between source and build directories. --- test/T310-emacs.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/T310-emacs.sh b/test/T310-emacs.sh index b8a89a4ac4c9..7f1c75630ca9 100755 --- a/test/T310-emacs.sh +++ b/test/T310-emacs.sh @@ -3,13 +3,13 @@ test_description="emacs interface" . $(dirname "$0")/test-lib.sh || exit 1 -EXPECTED=$TEST_DIRECTORY/emacs.expected-output +EXPECTED=$NOTMUCH_SRCDIR/test/emacs.expected-output add_email_corpus # syntax errors in test-lib.el cause mysterious failures test_begin_subtest "Syntax of emacs test library" -test_expect_success "${TEST_EMACS} -Q --batch --load $TEST_DIRECTORY/test-lib.el" +test_expect_success "${TEST_EMACS} -Q --batch --load $NOTMUCH_SRCDIR/test/test-lib.el" test_begin_subtest "Basic notmuch-hello view in emacs" test_emacs '(notmuch-hello) -- 2.11.0