Re: [PATCH] Fix typo in Message.maildir_flags_to_tags
[notmuch-archives.git] / 87 / 62d563aace39d4aa588778f26274b28b78a28f
1 Return-Path: <too@guru-group.fi>\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 arlo.cworth.org (Postfix) with ESMTP id 1B7E06DE01F9\r
6  for <notmuch@notmuchmail.org>; Fri,  6 May 2016 08:42:12 -0700 (PDT)\r
7 X-Virus-Scanned: Debian amavisd-new at cworth.org\r
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0.273\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.273 tagged_above=-999 required=5 tests=[AWL=0.282, \r
12  HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01]\r
13  autolearn=disabled\r
14 Received: from arlo.cworth.org ([127.0.0.1])\r
15  by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
16  with ESMTP id ZLjbL6_P0dpl for <notmuch@notmuchmail.org>;\r
17  Fri,  6 May 2016 08:42:03 -0700 (PDT)\r
18 Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
19  by arlo.cworth.org (Postfix) with ESMTP id D44446DE0159\r
20  for <notmuch@notmuchmail.org>; Fri,  6 May 2016 08:42:02 -0700 (PDT)\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
22  id 67781100063; Fri,  6 May 2016 18:41:59 +0300 (EEST)\r
23 From: Tomi Ollila <tomi.ollila@iki.fi>\r
24 To: notmuch@notmuchmail.org\r
25 Cc: tomi.ollila@iki.fi\r
26 Subject: [PATCH] test: copyright information updates\r
27 Date: Fri,  6 May 2016 18:41:57 +0300\r
28 Message-Id: <1462549317-9626-1-git-send-email-tomi.ollila@iki.fi>\r
29 X-Mailer: git-send-email 2.6.4\r
30 X-BeenThere: notmuch@notmuchmail.org\r
31 X-Mailman-Version: 2.1.20\r
32 Precedence: list\r
33 List-Id: "Use and development of the notmuch mail system."\r
34  <notmuch.notmuchmail.org>\r
35 List-Unsubscribe: <https://notmuchmail.org/mailman/options/notmuch>,\r
36  <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
37 List-Archive: <http://notmuchmail.org/pipermail/notmuch/>\r
38 List-Post: <mailto:notmuch@notmuchmail.org>\r
39 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
40 List-Subscribe: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
41  <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
42 X-List-Received-Date: Fri, 06 May 2016 15:42:12 -0000\r
43 \r
44 Files in test directories had only copyright of a single individual,\r
45 of which code was adapted here as a base of the test system.\r
46 Since then many Notmuch Developers have contributed to the test\r
47 system, which is now acknowledged with a constant string in some\r
48 of the test files.\r
49 \r
50 The README file in test directory instructed new files contain a\r
51 copyright notice, but that has never been done (and it is also not\r
52 needed). To simplify things a bit (and lessen confusion) this\r
53 instruction is now removed.\r
54 \r
55 As a side enchangement, all of the 3 entries in the whole source\r
56 tree cd'ing to `dirname` of "$0" now uses syntax cd "$(dirname "$0")".\r
57 This makes these particular lines work when current working directory\r
58 is e.g. /c/Program Files/notmuch/test/.\r
59 (Probably it would fail elsewhere, though.)\r
60 ---\r
61 \r
62 v2 of id:1460736374-10238-1-git-send-email-tomi.ollila@iki.fi\r
63 effectively\r
64 (GNU) sed -i s/-today// 0001-test-copyright-information-updates.patch\r
65 \r
66  performance-test/notmuch-memory-test | 3 ++-\r
67  performance-test/notmuch-time-test   | 3 ++-\r
68  test/README                          | 6 +-----\r
69  test/notmuch-test                    | 3 ++-\r
70  test/test-lib-common.sh              | 1 +\r
71  test/test-lib.sh                     | 1 +\r
72  6 files changed, 9 insertions(+), 8 deletions(-)\r
73 \r
74 diff --git a/performance-test/notmuch-memory-test b/performance-test/notmuch-memory-test\r
75 index 3cf28c7..2db25ef 100755\r
76 --- a/performance-test/notmuch-memory-test\r
77 +++ b/performance-test/notmuch-memory-test\r
78 @@ -3,6 +3,7 @@\r
79  # Run tests\r
80  #\r
81  # Copyright (c) 2005 Junio C Hamano\r
82 +# Copyright (c) 2010 Notmuch Developers\r
83  #\r
84  # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
85  \r
86 @@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
87      exit 1\r
88  fi\r
89  \r
90 -cd $(dirname "$0")\r
91 +cd "$(dirname "$0")"\r
92  \r
93  for test in M*.sh; do\r
94      ./"$test" "$@"\r
95 diff --git a/performance-test/notmuch-time-test b/performance-test/notmuch-time-test\r
96 index 7113efb..262b5f9 100755\r
97 --- a/performance-test/notmuch-time-test\r
98 +++ b/performance-test/notmuch-time-test\r
99 @@ -3,6 +3,7 @@\r
100  # Run tests\r
101  #\r
102  # Copyright (c) 2005 Junio C Hamano\r
103 +# Copyright (c) 2010 Notmuch Developers\r
104  #\r
105  # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
106  \r
107 @@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
108      exit 1\r
109  fi\r
110  \r
111 -cd $(dirname "$0")\r
112 +cd "$(dirname "$0")"\r
113  \r
114  for test in T*.sh; do\r
115      ./"$test" "$@"\r
116 diff --git a/test/README b/test/README\r
117 index bd9ab54..104a120 100644\r
118 --- a/test/README\r
119 +++ b/test/README\r
120 @@ -145,13 +145,9 @@ Tddd-testname.sh where 'ddd' is three digits and 'testname' the "bare"\r
121  name of your test. Tests will be run in order the 'ddd' part determines.\r
122  \r
123  The test script should start with the standard "#!/usr/bin/env bash"\r
124 -with copyright notices, and an assignment to variable 'test_description',\r
125 -like this:\r
126 +and an assignment to variable 'test_description', like this:\r
127  \r
128         #!/usr/bin/env bash\r
129 -       #\r
130 -       # Copyright (c) 2005 Junio C Hamano\r
131 -       #\r
132  \r
133         test_description='xxx test (option --frotz)\r
134  \r
135 diff --git a/test/notmuch-test b/test/notmuch-test\r
136 index b843712..967d61c 100755\r
137 --- a/test/notmuch-test\r
138 +++ b/test/notmuch-test\r
139 @@ -3,6 +3,7 @@\r
140  # Run tests\r
141  #\r
142  # Copyright (c) 2005 Junio C Hamano\r
143 +# Copyright (c) 2010 Notmuch Developers\r
144  #\r
145  # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
146  \r
147 @@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
148      exit 1\r
149  fi\r
150  \r
151 -cd $(dirname "$0")\r
152 +cd "$(dirname "$0")"\r
153  \r
154  TESTS=${NOTMUCH_TESTS:-`echo T[0-9][0-9][0-9]-*.sh`}\r
155  \r
156 diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh\r
157 index 4e17b78..15ebfb5 100644\r
158 --- a/test/test-lib-common.sh\r
159 +++ b/test/test-lib-common.sh\r
160 @@ -1,5 +1,6 @@\r
161  #\r
162  # Copyright (c) 2005 Junio C Hamano\r
163 +# Copyright (c) 2010 Notmuch Developers\r
164  #\r
165  # This program is free software: you can redistribute it and/or modify\r
166  # it under the terms of the GNU General Public License as published by\r
167 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
168 index 17e46f8..491db1f 100644\r
169 --- a/test/test-lib.sh\r
170 +++ b/test/test-lib.sh\r
171 @@ -1,5 +1,6 @@\r
172  #\r
173  # Copyright (c) 2005 Junio C Hamano\r
174 +# Copyright (c) 2010 Notmuch Developers\r
175  #\r
176  # This program is free software: you can redistribute it and/or modify\r
177  # it under the terms of the GNU General Public License as published by\r
178 -- \r
179 1.9.3\r
180 \r