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 04840431FBD for ; Sun, 5 May 2013 12:18:34 -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 PwYjKN40m2RW for ; Sun, 5 May 2013 12:18:29 -0700 (PDT) Received: from mail-lb0-f169.google.com (mail-lb0-f169.google.com [209.85.217.169]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (No client certificate requested) by olra.theworths.org (Postfix) with ESMTPS id AB9CA431FAE for ; Sun, 5 May 2013 12:18:28 -0700 (PDT) Received: by mail-lb0-f169.google.com with SMTP id z5so2847155lbh.28 for ; Sun, 05 May 2013 12:18:27 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:from:to:cc:subject:date:message-id:x-mailer :x-gm-message-state; bh=evMJ1tVkN/q1a96JnvqRYOx6vOdcUHN0fQav0ttvnV0=; b=jME27hkAMT9A/DCs5rHjC/xsZGqdU/ombcbtsHsRWkU32iPoPe9c/58pfbyL7N19ux ClbB1/8K0CBiZlpIcKjW8QcYFABeECW4EBYXHEfSaYoMA+FH+uNnw4qLOdxqgU99ErIt ccgjDZz4dj72jPoVE9aJSk2M0vIGfd+V2Y/0ZyE9xEfdS8m3fnfFKs7PNJKK6tX4FRdV MAU9AfzPM+Nxze1wtBJ50Q8WBHW3Fq+Dh5r/lrlrQDWq2jliLjwVk71Q6jRbocmZ0cd/ IPtwlj0UQgkS/0SBguFP+3xu/PiU6+LmohS7yQIIyFILAlQzhWaSU9SQChvX35ZILXNg JC0Q== X-Received: by 10.112.5.137 with SMTP id s9mr7117541lbs.68.1367781507177; Sun, 05 May 2013 12:18:27 -0700 (PDT) Received: from localhost (dsl-hkibrasgw2-58c376-211.dhcp.inet.fi. [88.195.118.211]) by mx.google.com with ESMTPSA id 2sm3837256lay.5.2013.05.05.12.18.25 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Sun, 05 May 2013 12:18:26 -0700 (PDT) From: Jani Nikula To: notmuch@notmuchmail.org Subject: [PATCH 1/2] test: add basic test for notmuch setup Date: Sun, 5 May 2013 22:18:19 +0300 Message-Id: <9971e27c7c3fe569765bbca0f21de128ad1e4fac.1367781422.git.jani@nikula.org> X-Mailer: git-send-email 1.7.10.4 X-Gm-Message-State: ALoCoQmAjPFW1FVKVr43tCM8klvOUTEUi1u9BnunP0I2saWVGZse6/PtWmheJlFnk4WLXD60UokX Cc: Tomi Ollila 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: Sun, 05 May 2013 19:18:34 -0000 And annotate with test_subtest_known_broken. Hooray. --- test/notmuch-test | 1 + test/setup | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100755 test/setup diff --git a/test/notmuch-test b/test/notmuch-test index ca9c3dc..27a144e 100755 --- a/test/notmuch-test +++ b/test/notmuch-test @@ -20,6 +20,7 @@ TESTS=" basic help-test config + setup new count search diff --git a/test/setup b/test/setup new file mode 100755 index 0000000..8cc5576 --- /dev/null +++ b/test/setup @@ -0,0 +1,28 @@ +#!/usr/bin/env bash + +test_description='"notmuch setup"' +. ./test-lib.sh + +test_begin_subtest "Create a new config interactively" +test_subtest_known_broken +notmuch --config=new-notmuch-config > /dev/null <