Re: [PATCH v3] Allow content preference based on message content.
[notmuch-archives.git] / b8 / 20835ade43b7ebea00831df301d188d9e3b683
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 524586DE00F5\r
6  for <notmuch@notmuchmail.org>; Fri, 15 Apr 2016 09:06:31 -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.282\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0.282 tagged_above=-999 required=5 tests=[AWL=0.291, \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 bvmxKtefbFue for <notmuch@notmuchmail.org>;\r
17  Fri, 15 Apr 2016 09:06:23 -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 79F5E6DE00EB\r
20  for <notmuch@notmuchmail.org>; Fri, 15 Apr 2016 09:06:22 -0700 (PDT)\r
21 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
22  id 67BA510019D; Fri, 15 Apr 2016 19:06:15 +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, 15 Apr 2016 19:06:14 +0300\r
28 Message-Id: <1460736374-10238-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, 15 Apr 2016 16:06:31 -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  performance-test/notmuch-memory-test | 3 ++-\r
62  performance-test/notmuch-time-test   | 3 ++-\r
63  test/README                          | 6 +-----\r
64  test/notmuch-test                    | 3 ++-\r
65  test/test-lib-common.sh              | 1 +\r
66  test/test-lib.sh                     | 1 +\r
67  6 files changed, 9 insertions(+), 8 deletions(-)\r
68 \r
69 diff --git a/performance-test/notmuch-memory-test b/performance-test/notmuch-memory-test\r
70 index 3cf28c7..2db25ef 100755\r
71 --- a/performance-test/notmuch-memory-test\r
72 +++ b/performance-test/notmuch-memory-test\r
73 @@ -3,6 +3,7 @@\r
74  # Run tests\r
75  #\r
76  # Copyright (c) 2005 Junio C Hamano\r
77 +# Copyright (c) 2010-today Notmuch Developers\r
78  #\r
79  # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
80  \r
81 @@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
82      exit 1\r
83  fi\r
84  \r
85 -cd $(dirname "$0")\r
86 +cd "$(dirname "$0")"\r
87  \r
88  for test in M*.sh; do\r
89      ./"$test" "$@"\r
90 diff --git a/performance-test/notmuch-time-test b/performance-test/notmuch-time-test\r
91 index 7113efb..262b5f9 100755\r
92 --- a/performance-test/notmuch-time-test\r
93 +++ b/performance-test/notmuch-time-test\r
94 @@ -3,6 +3,7 @@\r
95  # Run tests\r
96  #\r
97  # Copyright (c) 2005 Junio C Hamano\r
98 +# Copyright (c) 2010-today Notmuch Developers\r
99  #\r
100  # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
101  \r
102 @@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
103      exit 1\r
104  fi\r
105  \r
106 -cd $(dirname "$0")\r
107 +cd "$(dirname "$0")"\r
108  \r
109  for test in T*.sh; do\r
110      ./"$test" "$@"\r
111 diff --git a/test/README b/test/README\r
112 index bd9ab54..104a120 100644\r
113 --- a/test/README\r
114 +++ b/test/README\r
115 @@ -145,13 +145,9 @@ Tddd-testname.sh where 'ddd' is three digits and 'testname' the "bare"\r
116  name of your test. Tests will be run in order the 'ddd' part determines.\r
117  \r
118  The test script should start with the standard "#!/usr/bin/env bash"\r
119 -with copyright notices, and an assignment to variable 'test_description',\r
120 -like this:\r
121 +and an assignment to variable 'test_description', like this:\r
122  \r
123         #!/usr/bin/env bash\r
124 -       #\r
125 -       # Copyright (c) 2005 Junio C Hamano\r
126 -       #\r
127  \r
128         test_description='xxx test (option --frotz)\r
129  \r
130 diff --git a/test/notmuch-test b/test/notmuch-test\r
131 index b843712..967d61c 100755\r
132 --- a/test/notmuch-test\r
133 +++ b/test/notmuch-test\r
134 @@ -3,6 +3,7 @@\r
135  # Run tests\r
136  #\r
137  # Copyright (c) 2005 Junio C Hamano\r
138 +# Copyright (c) 2010-today Notmuch Developers\r
139  #\r
140  # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
141  \r
142 @@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
143      exit 1\r
144  fi\r
145  \r
146 -cd $(dirname "$0")\r
147 +cd "$(dirname "$0")"\r
148  \r
149  TESTS=${NOTMUCH_TESTS:-`echo T[0-9][0-9][0-9]-*.sh`}\r
150  \r
151 diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh\r
152 index 4e17b78..15ebfb5 100644\r
153 --- a/test/test-lib-common.sh\r
154 +++ b/test/test-lib-common.sh\r
155 @@ -1,5 +1,6 @@\r
156  #\r
157  # Copyright (c) 2005 Junio C Hamano\r
158 +# Copyright (c) 2010-today Notmuch Developers\r
159  #\r
160  # This program is free software: you can redistribute it and/or modify\r
161  # it under the terms of the GNU General Public License as published by\r
162 diff --git a/test/test-lib.sh b/test/test-lib.sh\r
163 index 17e46f8..491db1f 100644\r
164 --- a/test/test-lib.sh\r
165 +++ b/test/test-lib.sh\r
166 @@ -1,5 +1,6 @@\r
167  #\r
168  # Copyright (c) 2005 Junio C Hamano\r
169 +# Copyright (c) 2010-today Notmuch Developers\r
170  #\r
171  # This program is free software: you can redistribute it and/or modify\r
172  # it under the terms of the GNU General Public License as published by\r
173 -- \r
174 1.9.3\r
175 \r