--- /dev/null
+Return-Path: <too@guru-group.fi>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 524586DE00F5\r
+ for <notmuch@notmuchmail.org>; Fri, 15 Apr 2016 09:06:31 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at cworth.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.282\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.282 tagged_above=-999 required=5 tests=[AWL=0.291, \r
+ HEADER_FROM_DIFFERENT_DOMAINS=0.001, T_RP_MATCHES_RCVD=-0.01]\r
+ autolearn=disabled\r
+Received: from arlo.cworth.org ([127.0.0.1])\r
+ by localhost (arlo.cworth.org [127.0.0.1]) (amavisd-new, port 10024)\r
+ with ESMTP id bvmxKtefbFue for <notmuch@notmuchmail.org>;\r
+ Fri, 15 Apr 2016 09:06:23 -0700 (PDT)\r
+Received: from guru.guru-group.fi (guru.guru-group.fi [46.183.73.34])\r
+ by arlo.cworth.org (Postfix) with ESMTP id 79F5E6DE00EB\r
+ for <notmuch@notmuchmail.org>; Fri, 15 Apr 2016 09:06:22 -0700 (PDT)\r
+Received: by guru.guru-group.fi (Postfix, from userid 501)\r
+ id 67BA510019D; Fri, 15 Apr 2016 19:06:15 +0300 (EEST)\r
+From: Tomi Ollila <tomi.ollila@iki.fi>\r
+To: notmuch@notmuchmail.org\r
+Cc: tomi.ollila@iki.fi\r
+Subject: [PATCH] test: copyright information updates\r
+Date: Fri, 15 Apr 2016 19:06:14 +0300\r
+Message-Id: <1460736374-10238-1-git-send-email-tomi.ollila@iki.fi>\r
+X-Mailer: git-send-email 2.6.4\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.20\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+ <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <https://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: <https://notmuchmail.org/mailman/listinfo/notmuch>,\r
+ <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Fri, 15 Apr 2016 16:06:31 -0000\r
+\r
+Files in test directories had only copyright of a single individual,\r
+of which code was adapted here as a base of the test system.\r
+Since then many Notmuch Developers have contributed to the test\r
+system, which is now acknowledged with a constant string in some\r
+of the test files.\r
+\r
+The README file in test directory instructed new files contain a\r
+copyright notice, but that has never been done (and it is also not\r
+needed). To simplify things a bit (and lessen confusion) this\r
+instruction is now removed.\r
+\r
+As a side enchangement, all of the 3 entries in the whole source\r
+tree cd'ing to `dirname` of "$0" now uses syntax cd "$(dirname "$0")".\r
+This makes these particular lines work when current working directory\r
+is e.g. /c/Program Files/notmuch/test/.\r
+(Probably it would fail elsewhere, though.)\r
+---\r
+ performance-test/notmuch-memory-test | 3 ++-\r
+ performance-test/notmuch-time-test | 3 ++-\r
+ test/README | 6 +-----\r
+ test/notmuch-test | 3 ++-\r
+ test/test-lib-common.sh | 1 +\r
+ test/test-lib.sh | 1 +\r
+ 6 files changed, 9 insertions(+), 8 deletions(-)\r
+\r
+diff --git a/performance-test/notmuch-memory-test b/performance-test/notmuch-memory-test\r
+index 3cf28c7..2db25ef 100755\r
+--- a/performance-test/notmuch-memory-test\r
++++ b/performance-test/notmuch-memory-test\r
+@@ -3,6 +3,7 @@\r
+ # Run tests\r
+ #\r
+ # Copyright (c) 2005 Junio C Hamano\r
++# Copyright (c) 2010-today Notmuch Developers\r
+ #\r
+ # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
+ \r
+@@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
+ exit 1\r
+ fi\r
+ \r
+-cd $(dirname "$0")\r
++cd "$(dirname "$0")"\r
+ \r
+ for test in M*.sh; do\r
+ ./"$test" "$@"\r
+diff --git a/performance-test/notmuch-time-test b/performance-test/notmuch-time-test\r
+index 7113efb..262b5f9 100755\r
+--- a/performance-test/notmuch-time-test\r
++++ b/performance-test/notmuch-time-test\r
+@@ -3,6 +3,7 @@\r
+ # Run tests\r
+ #\r
+ # Copyright (c) 2005 Junio C Hamano\r
++# Copyright (c) 2010-today Notmuch Developers\r
+ #\r
+ # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
+ \r
+@@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
+ exit 1\r
+ fi\r
+ \r
+-cd $(dirname "$0")\r
++cd "$(dirname "$0")"\r
+ \r
+ for test in T*.sh; do\r
+ ./"$test" "$@"\r
+diff --git a/test/README b/test/README\r
+index bd9ab54..104a120 100644\r
+--- a/test/README\r
++++ b/test/README\r
+@@ -145,13 +145,9 @@ Tddd-testname.sh where 'ddd' is three digits and 'testname' the "bare"\r
+ name of your test. Tests will be run in order the 'ddd' part determines.\r
+ \r
+ The test script should start with the standard "#!/usr/bin/env bash"\r
+-with copyright notices, and an assignment to variable 'test_description',\r
+-like this:\r
++and an assignment to variable 'test_description', like this:\r
+ \r
+ #!/usr/bin/env bash\r
+- #\r
+- # Copyright (c) 2005 Junio C Hamano\r
+- #\r
+ \r
+ test_description='xxx test (option --frotz)\r
+ \r
+diff --git a/test/notmuch-test b/test/notmuch-test\r
+index b843712..967d61c 100755\r
+--- a/test/notmuch-test\r
++++ b/test/notmuch-test\r
+@@ -3,6 +3,7 @@\r
+ # Run tests\r
+ #\r
+ # Copyright (c) 2005 Junio C Hamano\r
++# Copyright (c) 2010-today Notmuch Developers\r
+ #\r
+ # Adapted from a Makefile to a shell script by Carl Worth (2010)\r
+ \r
+@@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then\r
+ exit 1\r
+ fi\r
+ \r
+-cd $(dirname "$0")\r
++cd "$(dirname "$0")"\r
+ \r
+ TESTS=${NOTMUCH_TESTS:-`echo T[0-9][0-9][0-9]-*.sh`}\r
+ \r
+diff --git a/test/test-lib-common.sh b/test/test-lib-common.sh\r
+index 4e17b78..15ebfb5 100644\r
+--- a/test/test-lib-common.sh\r
++++ b/test/test-lib-common.sh\r
+@@ -1,5 +1,6 @@\r
+ #\r
+ # Copyright (c) 2005 Junio C Hamano\r
++# Copyright (c) 2010-today Notmuch Developers\r
+ #\r
+ # This program is free software: you can redistribute it and/or modify\r
+ # it under the terms of the GNU General Public License as published by\r
+diff --git a/test/test-lib.sh b/test/test-lib.sh\r
+index 17e46f8..491db1f 100644\r
+--- a/test/test-lib.sh\r
++++ b/test/test-lib.sh\r
+@@ -1,5 +1,6 @@\r
+ #\r
+ # Copyright (c) 2005 Junio C Hamano\r
++# Copyright (c) 2010-today Notmuch Developers\r
+ #\r
+ # This program is free software: you can redistribute it and/or modify\r
+ # it under the terms of the GNU General Public License as published by\r
+-- \r
+1.9.3\r
+\r