[PATCH 4/4] Update NEWS for user.other_name
[notmuch-archives.git] / 8a / d0f68ae557598c909bb7be24bb16bc4458521a
1 Return-Path: <pieter@praet.org>\r
2 X-Original-To: notmuch@notmuchmail.org\r
3 Delivered-To: notmuch@notmuchmail.org\r
4 Received: from localhost (localhost [127.0.0.1])\r
5         by olra.theworths.org (Postfix) with ESMTP id 67451431FAF\r
6         for <notmuch@notmuchmail.org>; Wed,  1 Feb 2012 12:39:21 -0800 (PST)\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: -0.7\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-0.7 tagged_above=-999 required=5\r
12         tests=[RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
13 Received: from olra.theworths.org ([127.0.0.1])\r
14         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
15         with ESMTP id mAnR6TdTubEM for <notmuch@notmuchmail.org>;\r
16         Wed,  1 Feb 2012 12:39:20 -0800 (PST)\r
17 Received: from mail-we0-f181.google.com (mail-we0-f181.google.com\r
18         [74.125.82.181]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
19         (No client certificate requested)\r
20         by olra.theworths.org (Postfix) with ESMTPS id 9FA7C431FAE\r
21         for <notmuch@notmuchmail.org>; Wed,  1 Feb 2012 12:39:20 -0800 (PST)\r
22 Received: by werb10 with SMTP id b10so1463404wer.26\r
23         for <notmuch@notmuchmail.org>; Wed, 01 Feb 2012 12:39:19 -0800 (PST)\r
24 Received: by 10.216.136.76 with SMTP id v54mr3432026wei.30.1328128759446;\r
25         Wed, 01 Feb 2012 12:39:19 -0800 (PST)\r
26 Received: from localhost ([109.131.39.11])\r
27         by mx.google.com with ESMTPS id dw7sm32557073wib.4.2012.02.01.12.39.18\r
28         (version=TLSv1/SSLv3 cipher=OTHER);\r
29         Wed, 01 Feb 2012 12:39:19 -0800 (PST)\r
30 From: Pieter Praet <pieter@praet.org>\r
31 To: Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
32 Subject: [PATCH] test: replace occurrences of $PWD with vars that are more\r
33         stable\r
34 Date: Wed,  1 Feb 2012 21:37:21 +0100\r
35 Message-Id: <1328128641-31155-1-git-send-email-pieter@praet.org>\r
36 X-Mailer: git-send-email 1.7.8.1\r
37 In-Reply-To: <87ipjqb8c1.fsf@praet.org>\r
38 References: <87ipjqb8c1.fsf@praet.org>\r
39 Cc: Notmuch Mail <notmuch@notmuchmail.org>\r
40 X-BeenThere: notmuch@notmuchmail.org\r
41 X-Mailman-Version: 2.1.13\r
42 Precedence: list\r
43 List-Id: "Use and development of the notmuch mail system."\r
44         <notmuch.notmuchmail.org>\r
45 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
46         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
47 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
48 List-Post: <mailto:notmuch@notmuchmail.org>\r
49 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
50 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
51         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
52 X-List-Received-Date: Wed, 01 Feb 2012 20:39:21 -0000\r
53 \r
54 Thanks to Dmitry Kurochkin <dmitry.kurochkin@gmail.com>\r
55 for pointing this out:  id:"87d39ymyb4.fsf@gmail.com"\r
56 ---\r
57  test/emacs |    2 +-\r
58  test/new   |    6 +++---\r
59  2 files changed, 4 insertions(+), 4 deletions(-)\r
60 \r
61 diff --git a/test/emacs b/test/emacs\r
62 index 17129b7..9c9d0b4 100755\r
63 --- a/test/emacs\r
64 +++ b/test/emacs\r
65 @@ -266,7 +266,7 @@ From: Notmuch Test Suite <test_suite@notmuchmail.org>\r
66  To: user@example.com\r
67  Subject: Re: Testing message sent via SMTP\r
68  In-Reply-To: <XXX>\r
69 -Fcc: $(pwd)/mail/sent\r
70 +Fcc: ${MAIL_DIR}/sent\r
71  --text follows this line--\r
72  On 01 Jan 2000 12:00:00 -0000, Notmuch Test Suite <test_suite@notmuchmail.org> wrote:\r
73  > This is a test that messages are sent via SMTP\r
74 diff --git a/test/new b/test/new\r
75 index 49f390d..1b24c84 100755\r
76 --- a/test/new\r
77 +++ b/test/new\r
78 @@ -117,10 +117,10 @@ test_expect_equal "$output" "No new mail. Removed 3 messages."\r
79  test_begin_subtest "New symlink to directory"\r
80  \r
81  rm -rf "${MAIL_DIR}"/.notmuch\r
82 -mv "${MAIL_DIR}" "$PWD"/actual_maildir\r
83 +mv "${MAIL_DIR}" "${TMP_DIRECTORY}"/actual_maildir\r
84  \r
85  mkdir "${MAIL_DIR}"\r
86 -ln -s "$PWD"/actual_maildir "${MAIL_DIR}"/symlink\r
87 +ln -s "${TMP_DIRECTORY}"/actual_maildir "${MAIL_DIR}"/symlink\r
88  \r
89  output=$(NOTMUCH_NEW)\r
90  test_expect_equal "$output" "Added 1 new message to the database."\r
91 @@ -128,7 +128,7 @@ test_expect_equal "$output" "Added 1 new message to the database."\r
92  \r
93  test_begin_subtest "New symlink to a file"\r
94  generate_message\r
95 -external_msg_filename="$PWD"/external/"$(basename "$gen_msg_filename")"\r
96 +external_msg_filename="${TMP_DIRECTORY}"/external/"$(basename "$gen_msg_filename")"\r
97  mkdir -p "$(dirname "$external_msg_filename")"\r
98  mv "$gen_msg_filename" "$external_msg_filename"\r
99  ln -s "$external_msg_filename" "$gen_msg_filename"\r
100 -- \r
101 1.7.8.1\r