From: Mike Kelly Date: Fri, 25 May 2012 13:43:26 +0000 (+2000) Subject: [PATCH 05/10] Make test/basic more portable X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=91c6fb8233e09d406ed1ba7cf25acc2a663f6bbb;p=notmuch-archives.git [PATCH 05/10] Make test/basic more portable --- diff --git a/1a/24484647887599ffcfc1c40c06a6f2b7af026c b/1a/24484647887599ffcfc1c40c06a6f2b7af026c new file mode 100644 index 000000000..a7e638e62 --- /dev/null +++ b/1a/24484647887599ffcfc1c40c06a6f2b7af026c @@ -0,0 +1,88 @@ +Return-Path: +X-Original-To: notmuch@notmuchmail.org +Delivered-To: notmuch@notmuchmail.org +Received: from localhost (localhost [127.0.0.1]) + by olra.theworths.org (Postfix) with ESMTP id 0E3D2431FBC + for ; Fri, 25 May 2012 06:44:06 -0700 (PDT) +X-Virus-Scanned: Debian amavisd-new at olra.theworths.org +X-Spam-Flag: NO +X-Spam-Score: -0.7 +X-Spam-Level: +X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5 + tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled +Received: from olra.theworths.org ([127.0.0.1]) + by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) + with ESMTP id wfUhELKI36kz for ; + Fri, 25 May 2012 06:44:04 -0700 (PDT) +Received: from mail-vb0-f53.google.com (mail-vb0-f53.google.com + [209.85.212.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 58573431FD6 + for ; Fri, 25 May 2012 06:44:00 -0700 (PDT) +Received: by mail-vb0-f53.google.com with SMTP id fc26so989685vbb.26 + for ; Fri, 25 May 2012 06:44:00 -0700 (PDT) +X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; + d=google.com; s=20120113; + h=from:to:cc:subject:date:message-id:x-mailer:in-reply-to:references + :x-gm-message-state; + bh=YuXwrZFyOe/aYoDIJzpailKDFj9cX5xg3BhgRtc1URc=; + b=d206amT79ok44/OcoXLV5nF9E0grONhDB1paxE0OhjGmPBwJRP9qqYtCQoXagBm6DY + 6a2+ZYLGkQV2J4wEu4xhcQJcn9g6f5Bhj6ysXk4KgoAakxlp3F9Ok2XeR4kJ0yNHBGlL + a9cAu8cNsE1VjYsjLbZ8c+BM4P4xMbhZ2EZ41IqSxk6lwzcgvxc4w/05nRF0J/jBbuVL + utOKe++B/umVMaPQJYesBtSWRpe2lCB/XGGvt83xmLLyYo5X6TQtJemuAYKz6flQetAd + AuJnvsROdsVMyPXQ216v7PF0Df4RnunqYTSSbQLgmSybGmI681Gw47YCfr2GnQOwYfkq + LbHg== +Received: by 10.52.23.81 with SMTP id k17mr3075664vdf.103.1337953440155; + Fri, 25 May 2012 06:44:00 -0700 (PDT) +Received: from nas.home.pioto.org (pool-71-182-155-97.pitbpa.fios.verizon.net. + [71.182.155.97]) + by mx.google.com with ESMTPS id by3sm4230652vdc.17.2012.05.25.06.43.59 + (version=TLSv1/SSLv3 cipher=OTHER); + Fri, 25 May 2012 06:43:59 -0700 (PDT) +Received: by nas.home.pioto.org (Postfix, from userid 1001) + id 149CD287C9; Fri, 25 May 2012 09:43:59 -0400 (EDT) +From: Mike Kelly +To: notmuch@notmuchmail.org +Subject: [PATCH 05/10] Make test/basic more portable +Date: Fri, 25 May 2012 09:43:26 -0400 +Message-Id: <1337953411-21000-6-git-send-email-pioto@pioto.org> +X-Mailer: git-send-email 1.7.10.2 +In-Reply-To: <1337953411-21000-1-git-send-email-pioto@pioto.org> +References: <1337953411-21000-1-git-send-email-pioto@pioto.org> +X-Gm-Message-State: + ALoCoQnSBJcUX0eGqF6Y6wxBXwxh5i+qBs8ICjlk6dA77nzZGtK3Z/l08ur3KX8oDVlb2kW6nvSc +X-BeenThere: notmuch@notmuchmail.org +X-Mailman-Version: 2.1.13 +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: Fri, 25 May 2012 13:44:06 -0000 + +--- + test/basic | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/test/basic b/test/basic +index d6aed24..4ce8967 100755 +--- a/test/basic ++++ b/test/basic +@@ -53,7 +53,8 @@ test_expect_code 2 'failure to clean up causes the test to fail' ' + test_begin_subtest 'Ensure that all available tests will be run by notmuch-test' + eval $(sed -n -e '/^TESTS="$/,/^"$/p' $TEST_DIRECTORY/notmuch-test) + tests_in_suite=$(for i in $TESTS; do echo $i; done | sort) +-available=$(find "$TEST_DIRECTORY" -maxdepth 1 -type f -executable -printf '%f\n' | \ ++available=$(find "$TEST_DIRECTORY" -maxdepth 1 -type f -perm +111 | \ ++ sed -e "s,.*/,," | \ + sed -r -e "/^(aggregate-results.sh|notmuch-test|smtp-dummy|test-verbose|symbol-test|arg-test)$/d" | \ + sort) + test_expect_equal "$tests_in_suite" "$available" +-- +1.7.10.2 +