aboutsummaryrefslogtreecommitdiff
path: root/performance-test
diff options
context:
space:
mode:
authorTomi Ollila <tomi.ollila@iki.fi>2016-05-06 18:41:57 +0300
committerDavid Bremner <david@tethera.net>2016-05-19 07:56:58 -0300
commitb183f2635eaf323066f26c7ca22d931d4f4ccd3a (patch)
tree5933fa964c96d48184b62b0de30529f155c6fd53 /performance-test
parentfd3503e99ee1977b3d5264755ec4ab2fe1e0078a (diff)
test: copyright information updates
Files in test directories had only copyright of a single individual, of which code was adapted here as a base of the test system. Since then many Notmuch Developers have contributed to the test system, which is now acknowledged with a constant string in some of the test files. The README file in test directory instructed new files contain a copyright notice, but that has never been done (and it is also not needed). To simplify things a bit (and lessen confusion) this instruction is now removed. As a side enchangement, all of the 3 entries in the whole source tree cd'ing to `dirname` of "$0" now uses syntax cd "$(dirname "$0")". This makes these particular lines work when current working directory is e.g. /c/Program Files/notmuch/test/. (Probably it would fail elsewhere, though.)
Diffstat (limited to 'performance-test')
-rwxr-xr-xperformance-test/notmuch-memory-test3
-rwxr-xr-xperformance-test/notmuch-time-test3
2 files changed, 4 insertions, 2 deletions
diff --git a/performance-test/notmuch-memory-test b/performance-test/notmuch-memory-test
index 3cf28c7f..047aac70 100755
--- a/performance-test/notmuch-memory-test
+++ b/performance-test/notmuch-memory-test
@@ -3,6 +3,7 @@
# Run tests
#
# Copyright (c) 2005 Junio C Hamano
+# Copyright (c) 2010 Notmuch Developers
#
# Adapted from a Makefile to a shell script by Carl Worth (2010)
@@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then
exit 1
fi
-cd $(dirname "$0")
+cd "$(dirname "$0")"
for test in M*.sh; do
./"$test" "$@"
diff --git a/performance-test/notmuch-time-test b/performance-test/notmuch-time-test
index 7113efbf..4dd21fe1 100755
--- a/performance-test/notmuch-time-test
+++ b/performance-test/notmuch-time-test
@@ -3,6 +3,7 @@
# Run tests
#
# Copyright (c) 2005 Junio C Hamano
+# Copyright (c) 2010 Notmuch Developers
#
# Adapted from a Makefile to a shell script by Carl Worth (2010)
@@ -14,7 +15,7 @@ if [ ${BASH_VERSINFO[0]} -lt 4 ]; then
exit 1
fi
-cd $(dirname "$0")
+cd "$(dirname "$0")"
for test in T*.sh; do
./"$test" "$@"