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 70D216DE11EC for ; Mon, 25 Sep 2017 13:39:08 -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.066 X-Spam-Level: X-Spam-Status: No, score=-0.066 tagged_above=-999 required=5 tests=[AWL=0.145, 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 M2ZF5TRmECxI for ; Mon, 25 Sep 2017 13:39:07 -0700 (PDT) Received: from mail-wr0-f173.google.com (mail-wr0-f173.google.com [209.85.128.173]) by arlo.cworth.org (Postfix) with ESMTPS id 4AF986DE1016 for ; Mon, 25 Sep 2017 13:39:03 -0700 (PDT) Received: by mail-wr0-f173.google.com with SMTP id c23so9969271wrg.9 for ; Mon, 25 Sep 2017 13:39:03 -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=UJb4QpkSIdsvMFVLFXK2euSiUBolYirpp5W4s7MDkkQ=; b=zcKbhSMU6+Y3joNvwpr+2yUBKYjF/tB11M9flV4R37b46yGSNqCX01FISiuPT8eXZp EQ295iie9EiHwtlnmf45uC2aBHPmSGOueYLaLXFoFvzH8B/WrmTLp/fnDm/LfN8gHD3u /+9si1f5LvMGekTv6tQMSTUHU/XBbmD1qiy6anlofiMz8U0vW7OSUfqT1pl6BrsDAxFU bY684e9gjZ4VbhR9AgY/UQYk6yYgotWc02R8lWZDk/mgI797pCmYIqg7OXnbue8QeITy F39ZV0JPo59L2H04SGtKlq+seW6zJpXpPWyhiStX+EoKH0sM0UU7rFRZrMiIrpa/FXgz bKsA== 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=UJb4QpkSIdsvMFVLFXK2euSiUBolYirpp5W4s7MDkkQ=; b=CJBJpjd/m/wy7isbYhs0rD8UMKG2ZUZMFmZJk3dm57YqlqR+wrSCe8FC1f49Fc6pW9 9KmQ+fh03X+XWnnoUjFWUnqpjfZlkxHzKAlEVuDN8vjUDSkdBoz2Zv2Uh0HNhrWkvkos Amr8artaySfIXnF2tCuYUMX4w6BY2+mxq2wfzZMq08ooNj/s+Poi6WB3tl+C/Kh+1LkT l9QDYQ2nm63drc/mB62jqyvML2TfbMOF9NNcvSuLO983g8ahXRVXen6Q/Cm4cbuapIR5 wTO6Pul2inq+JRKE0Xm5KXqQ7IDl3nJCipwLv+NcN7GpsRRi3OI5bfe6X+fftRXKswIN lAFg== X-Gm-Message-State: AHPjjUjskX9Z0xzE9VZSMxe644/haZLJcYHcevJ5h2AISH6SnBnssBgu LhlvZAhWqGS57d72IzogeOw+/rKkGxE= X-Google-Smtp-Source: AOwi7QAne/9LzG10niHvjSyP9Rufhs8XGX4d3C8hQLe54TOmEFh00RLDREX9zEo4JgrSPG29H5Spew== X-Received: by 10.25.38.6 with SMTP id m6mr2781912lfm.226.1506371941587; Mon, 25 Sep 2017 13:39:01 -0700 (PDT) Received: from localhost (mobile-access-5d6a60-234.dhcp.inet.fi. [93.106.96.234]) by smtp.gmail.com with ESMTPSA id t125sm1089875lfe.73.2017.09.25.13.39.00 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Sep 2017 13:39:01 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 10/24] test: mkdir and cd to $TMP_DIRECTORY instead of $test for testing Date: Mon, 25 Sep 2017 23:38:26 +0300 Message-Id: <8b09eb1d7805e85ba3cbf602125b7a88e3fbab30.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:08 -0000 $TMP_DIRECTORY is a full path, while $test is not. --- test/test-lib-common.sh | 1 - test/test-lib.sh | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh index 5133917dae9a..5e53348a9438 100644 --- a/test/test-lib-common.sh +++ b/test/test-lib-common.sh @@ -329,7 +329,6 @@ mkdir -p "${HOME}" MAIL_DIR="${TMP_DIRECTORY}/mail" export NOTMUCH_CONFIG="${TMP_DIRECTORY}/notmuch-config" -mkdir -p "${test}" mkdir -p "${MAIL_DIR}" cat <"${NOTMUCH_CONFIG}" diff --git a/test/test-lib.sh b/test/test-lib.sh index 5ccae7aea28b..0b4303f1d485 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -1066,7 +1066,7 @@ emacs_generate_script # Use -P to resolve symlinks in our working directory so that the cwd # in subprocesses like git equals our $PWD (for pathname comparisons). -cd -P "$test" || error "Cannot set up test environment" +cd -P "$TMP_DIRECTORY" || error "Cannot set up test environment" if test "$verbose" = "t" then -- 2.11.0