[PATCH 7/9] test: declare external dependencies for the tests
authorDmitry Kurochkin <dmitry.kurochkin@gmail.com>
Thu, 17 Nov 2011 01:56:24 +0000 (05:56 +0400)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:40:16 +0000 (09:40 -0800)
79/cbb2f74e4908695718594fcf7ebccbd2d327c2 [new file with mode: 0644]

diff --git a/79/cbb2f74e4908695718594fcf7ebccbd2d327c2 b/79/cbb2f74e4908695718594fcf7ebccbd2d327c2
new file mode 100644 (file)
index 0000000..a9db71a
--- /dev/null
@@ -0,0 +1,98 @@
+Return-Path: <dmitry.kurochkin@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id C92A7429E2E\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 17:57:08 -0800 (PST)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: -0.799\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=-0.799 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id TPbsCh2doPOF for <notmuch@notmuchmail.org>;\r
+       Wed, 16 Nov 2011 17:57:08 -0800 (PST)\r
+Received: from mail-bw0-f53.google.com (mail-bw0-f53.google.com\r
+       [209.85.214.53]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id E94BB429E3E\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 17:57:01 -0800 (PST)\r
+Received: by mail-bw0-f53.google.com with SMTP id q10so1456807bka.26\r
+       for <notmuch@notmuchmail.org>; Wed, 16 Nov 2011 17:57:01 -0800 (PST)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma;\r
+       h=from:to:subject:date:message-id:x-mailer:in-reply-to:references;\r
+       bh=qC37T1mi56b1lRIPHtzBDyQEtB78GPcd92dVNvGwIPU=;\r
+       b=wktgJjPX2OCXpR079smPo2mwAXo0v6NLCBaBUFvhQPet+JKVxncRAgwlY5Z/Wd9ySX\r
+       ANpWJxS4Tmhy2QpPDHJhRp0W0Bf2LzUw7l9K6K3fw6GQYYwPM+kppn0ZyRKyXujU7KUp\r
+       L+54oFx7k8M37FKdBUobI2uNXILAMSlhTPlbg=\r
+Received: by 10.205.127.142 with SMTP id ha14mr23341690bkc.116.1321495021654; \r
+       Wed, 16 Nov 2011 17:57:01 -0800 (PST)\r
+Received: from localhost ([91.144.186.21])\r
+       by mx.google.com with ESMTPS id dq2sm39498213bkb.11.2011.11.16.17.57.00\r
+       (version=TLSv1/SSLv3 cipher=OTHER);\r
+       Wed, 16 Nov 2011 17:57:01 -0800 (PST)\r
+From: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH 7/9] test: declare external dependencies for the tests\r
+Date: Thu, 17 Nov 2011 05:56:24 +0400\r
+Message-Id: <1321494986-18998-8-git-send-email-dmitry.kurochkin@gmail.com>\r
+X-Mailer: git-send-email 1.7.7.2\r
+In-Reply-To: <1321494986-18998-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+References: <1321494986-18998-1-git-send-email-dmitry.kurochkin@gmail.com>\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Thu, 17 Nov 2011 01:57:09 -0000\r
+\r
+That are: dtach(1), emacs(1), emacsclient(1), gdb(1) and gpg(1).\r
+---\r
+ test/test-lib.sh |    7 +++++++\r
+ 1 files changed, 7 insertions(+), 0 deletions(-)\r
+\r
+diff --git a/test/test-lib.sh b/test/test-lib.sh\r
+index c11493d..840c86c 100755\r
+--- a/test/test-lib.sh\r
++++ b/test/test-lib.sh\r
+@@ -1101,20 +1101,27 @@ case $(uname -s) in\r
+       pwd () {\r
+               builtin pwd -W\r
+       }\r
+       # no POSIX permissions\r
+       # backslashes in pathspec are converted to '/'\r
+       # exec does not inherit the PID\r
+       ;;\r
+ *)\r
+       test_set_prereq POSIXPERM\r
+       test_set_prereq BSLASHPSPEC\r
+       test_set_prereq EXECKEEPSPID\r
+       ;;\r
+ esac\r
\r
+ test -z "$NO_PERL" && test_set_prereq PERL\r
+ test -z "$NO_PYTHON" && test_set_prereq PYTHON\r
\r
+ # test whether the filesystem supports symbolic links\r
+ ln -s x y 2>/dev/null && test -h y 2>/dev/null && test_set_prereq SYMLINKS\r
+ rm -f y\r
++\r
++# declare prerequisites for external binaries used in tests\r
++test_declare_external_prereq dtach\r
++test_declare_external_prereq emacs\r
++test_declare_external_prereq emacsclient\r
++test_declare_external_prereq gdb\r
++test_declare_external_prereq gpg\r
+-- \r
+1.7.7.2\r
+\r