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 968F36DE0352 for ; Mon, 25 Sep 2017 13:38: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.061 X-Spam-Level: X-Spam-Status: No, score=-0.061 tagged_above=-999 required=5 tests=[AWL=0.150, 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 vCE_xXWrwhsu for ; Mon, 25 Sep 2017 13:38:48 -0700 (PDT) Received: from mail-wr0-f170.google.com (mail-wr0-f170.google.com [209.85.128.170]) by arlo.cworth.org (Postfix) with ESMTPS id 0A1676DE0361 for ; Mon, 25 Sep 2017 13:38:48 -0700 (PDT) Received: by mail-wr0-f170.google.com with SMTP id u96so9968597wrb.6 for ; Mon, 25 Sep 2017 13:38:47 -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=DDkKvbDkK97f7zsOn8BWN26kzaxnpwFCwox0W9sX4Qg=; b=ch/KPBYJlPkNXoA3xbAFaaZyB2i24vWOVpyuIQHn1MBezJFXQ82NfmVQN5QNZcgTt6 86X6IHAOyEDmePhkC/yRxv4m15+nNUJ+vU1zjQddD/5oCEm61JGVyeei/vHOtnU5ALp3 AYb5qunFJTKv/quyJTCdMP+PEV8Dsop6kFV1jbk3LeWyQ1SiqwquZaV4+XZdIR1BVVXP JEWHNh9NAYm0LW2BLZcgppTeKUeXoFylxkrT86FoXnKPIJwVCaNrYWv+pOEl1IexAQbG WWTs0p+wv+UHCiHk3yJOX2GgzKynvTarvlf2hqDKXlC1jbmAvOnmG+TVRkAPvhsVvhU1 WM5A== 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=DDkKvbDkK97f7zsOn8BWN26kzaxnpwFCwox0W9sX4Qg=; b=YUt3v7uKTU31pIMzcDJWBesiNVZ53tWmzP0gWX1VDA6mKNn1pcEQVbfxTAhDxBm+tq dxP02LTMY3KNNwlOiAjt9mrcJLHX26DnaoAvOS+As/bshX++2MaHZ44LvKZJPrQgM8PB 87jwstAWjSdoEUtpz9XyG6Y7p9D0p680loCzWUrF4nkClphJXLjbqHfzCiEx97wytBy9 V4fK5aBkEJeMpnFzXiHDKRvFlRvl7QsZHLbG/PdR2we2beQJYdaHST09vOkaW5OwbjzI KF95eqdK7TT88rjEdRwz04OeIVu0PMohD5lNKq6cKLzvcGrW82vp2xCLpzuJdsSvDvER f7Ig== X-Gm-Message-State: AHPjjUgkCDMkB7rQk+Rs8OLbNKRMMZQ2r0Cg6AtEJZwNor3YQvcmeF/5 uzXSDJXzbi9Row4dTqWQLxPUZzxTPRo= X-Google-Smtp-Source: AOwi7QDBktBz3wH8KXsVLXYC04zfxpOqEyZ042UyFDKb0SqsL4ZvLRTyzSCGz2ED8hKZqIOY5RFYTA== X-Received: by 10.46.43.76 with SMTP id q73mr3136720lje.25.1506371926401; Mon, 25 Sep 2017 13:38:46 -0700 (PDT) Received: from localhost (mobile-access-5d6a60-234.dhcp.inet.fi. [93.106.96.234]) by smtp.gmail.com with ESMTPSA id i13sm1133756lfa.68.2017.09.25.13.38.45 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Sep 2017 13:38:45 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 01/24] test: use corpora/default not corpus in T480-hex-escaping.sh Date: Mon, 25 Sep 2017 23:38:17 +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:38:49 -0000 Turns out round trip tests didn't really round trip anything. Broken by yours truly in 971cdc72cdb8 ("test: make it possible to have multiple corpora"). Ooops. --- 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 86cf37292d85..18b56600480c 100755 --- a/test/T480-hex-escaping.sh +++ b/test/T480-hex-escaping.sh @@ -3,7 +3,7 @@ test_description="hex encoding and decoding" . ./test-lib.sh || exit 1 test_begin_subtest "round trip" -find $TEST_DIRECTORY/corpus -type f -print | sort | xargs cat > EXPECTED +find $TEST_DIRECTORY/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/corpus -type f -print | sort | xargs cat > EXPECTED +find $TEST_DIRECTORY/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