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 17F36431FBF for ; Tue, 4 Mar 2014 10:28:03 -0800 (PST) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none] 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 5sXqMBcHsu9z for ; Tue, 4 Mar 2014 10:27:57 -0800 (PST) Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34]) by olra.theworths.org (Postfix) with ESMTP id 7C266431FBD for ; Tue, 4 Mar 2014 10:27:57 -0800 (PST) Received: by guru.guru-group.fi (Postfix, from userid 501) id 700D710024B; Tue, 4 Mar 2014 20:27:48 +0200 (EET) From: Tomi Ollila To: notmuch@notmuchmail.org Subject: [PATCH 1/1] test: use 'bare' test names in NOTMUCH_SKIP_TESTS comparisons Date: Tue, 4 Mar 2014 20:27:46 +0200 Message-Id: <1393957666-9684-1-git-send-email-tomi.ollila@iki.fi> X-Mailer: git-send-email 1.8.0 Cc: tomi.ollila@iki.fi 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: Tue, 04 Mar 2014 18:28:03 -0000 The 'bare' part of test file name stays constant even when the filename prefixes of test scripts are renumbered. Also this change makes test skipping behave like documented. --- test/test-lib.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/test-lib.sh b/test/test-lib.sh index a1c0f27..ac6dc77 100644 --- a/test/test-lib.sh +++ b/test/test-lib.sh @@ -826,7 +826,7 @@ test_skip () { to_skip= for skp in $NOTMUCH_SKIP_TESTS do - case $this_test.$test_count in + case $this_test_bare.$test_count in $skp) to_skip=t esac @@ -1208,7 +1208,7 @@ do to_skip= for skp in $NOTMUCH_SKIP_TESTS do - case "$this_test" in + case "$this_test_bare" in $skp) to_skip=t esac -- 1.8.0