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 EDFAE6DE1105 for ; Mon, 25 Sep 2017 13:39:49 -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 vdY1qWoncEih for ; Mon, 25 Sep 2017 13:39:49 -0700 (PDT) Received: from mail-wr0-f195.google.com (mail-wr0-f195.google.com [209.85.128.195]) by arlo.cworth.org (Postfix) with ESMTPS id D81916DE112B for ; Mon, 25 Sep 2017 13:39:21 -0700 (PDT) Received: by mail-wr0-f195.google.com with SMTP id k20so600594wre.1 for ; Mon, 25 Sep 2017 13:39:21 -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=gVGXxDLcU9yYDfsZiEMq2VmkwrYYYBsz+9vy+05yui8=; b=a1Qb+o55bWeItqr7iPc0eKOQKI4oW2pA0LA7A3Agom8rAdhIBX3ZBb+VU2BjdSpj6c KSjimv0tDe9qEUYNtD51LU7/d+cv+6VMgNbXHGnKRU7SFjT0eUWWTTLo7uIQ0ZAFhXyD kNiYt6UId2LJeJYNyBG6xW2ahIBpW+2szdxUnPg/rVsxmnHnIblhXpdzIcwpTqGx/Js8 r72Z29Vif9vRGRJiGyiCHiBGsPRSrMyJYGxbNFwB+ssyWJwNrkhHaD6tWngap7+kPMF4 mZr6SyO/lfTaiEPnWXRaY2yBDO5lqma3hDD3FKc5r6TuEQOHSBE3eUOiEFyjyAhL2Wu1 9ong== 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=gVGXxDLcU9yYDfsZiEMq2VmkwrYYYBsz+9vy+05yui8=; b=BiO0iSXyeGCSue/Gj0p+AjnG+ec5xdz2Q3qyNvExh+DnNrLkJSEUpnH81FG5GjvR/w ebVGBt/JMPLgmElA6U5rLd58mEqRkJVdWL3q7pxGKFafWYbIQ0wJE7m/rctqfX6TTitU Pws8v9saMsv2b6ZKfMVVowJFWnwAcUm9uAnNOb7PT6PD45MkN+IvwXL6d7w4JHeBTiCY PAHzHdcGyHb3ZXCYa83dHEpqzoPmJ8KstnPe6fBvHvh33IBgULvNOfzGp6KN0+2veG9f yGurlV4FsQ+JTqK3gCN6OczMq4C6Zug9X3GbiYqtaNdD/2sJx65FRMntGkWQirDXy7mD +Ryg== X-Gm-Message-State: AHPjjUhUDxU2IjCxO+MYxsMzIueaMlVtSL1ScYLvNVbh+Dl0MVkb+JWd yR6lO5toEYMAFPdBrBjd05jAfSshv6Y= X-Google-Smtp-Source: AOwi7QBk4l6Ph5dF9gxsNMyJE2tZ9jesZGhYTotgFIJfFnx9iQAk2Rm2+QkfJ1pU3Ec6hiIGznJBfw== X-Received: by 10.25.0.144 with SMTP id 138mr2841609lfa.64.1506371959662; Mon, 25 Sep 2017 13:39:19 -0700 (PDT) Received: from localhost (mobile-access-5d6a60-234.dhcp.inet.fi. [93.106.96.234]) by smtp.gmail.com with ESMTPSA id c26sm1589488ljb.12.2017.09.25.13.39.18 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Sep 2017 13:39:19 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 21/24] test: use source and build paths in T480-hex-escaping.sh Date: Mon, 25 Sep 2017 23:38:37 +0300 Message-Id: <3fa36d660072b8f6fcd79c0f307aa61294e9f703.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:50 -0000 Make a distinction between source and build directories. --- test/T480-hex-escaping.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/T480-hex-escaping.sh b/test/T480-hex-escaping.sh index 28564c3c9da2..2c5bbb631305 100755 --- a/test/T480-hex-escaping.sh +++ b/test/T480-hex-escaping.sh @@ -3,7 +3,7 @@ test_description="hex encoding and decoding" . $(dirname "$0")/test-lib.sh || exit 1 test_begin_subtest "round trip" -find $TEST_DIRECTORY/corpora/default -type f -print | sort | xargs cat > EXPECTED +find $NOTMUCH_SRCDIR/test/corpora/default -type f -print | sort | xargs cat > EXPECTED $TEST_DIRECTORY/hex-xcode --direction=encode < EXPECTED | $TEST_DIRECTORY/hex-xcode --direction=decode > OUTPUT test_expect_equal_file EXPECTED OUTPUT @@ -25,7 +25,7 @@ $TEST_DIRECTORY/hex-xcode --direction=decode < EXPECTED.$test_count |\ test_expect_equal_file EXPECTED.$test_count OUTPUT.$test_count test_begin_subtest "round trip (in-place)" -find $TEST_DIRECTORY/corpora/default -type f -print | sort | xargs cat > EXPECTED +find $NOTMUCH_SRCDIR/test/corpora/default -type f -print | sort | xargs cat > EXPECTED $TEST_DIRECTORY/hex-xcode --in-place --direction=encode < EXPECTED |\ $TEST_DIRECTORY/hex-xcode --in-place --direction=decode > OUTPUT test_expect_equal_file EXPECTED OUTPUT -- 2.11.0