summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-08-24 07:14:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-08-24 16:58:40 (GMT)
commit6325ca3129ef969077115ba600d8356b8412b4d2 (patch)
treece42d437a3752a77e0b8622defcbbbc18c94cd1c /t
parent22e5e58a3c75b73764b860907e4d871195f276ac (diff)
downloadgit-6325ca3129ef969077115ba600d8356b8412b4d2.zip
git-6325ca3129ef969077115ba600d8356b8412b4d2.tar.gz
git-6325ca3129ef969077115ba600d8356b8412b4d2.tar.bz2
t3302 (notes): Port to Solaris
The time_notes script, which uses POSIX shell features, is currently sometimes run with a non-POSIX /bin/sh. Reported-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
-rwxr-xr-xt/t3302-notes-index-expensive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t3302-notes-index-expensive.sh b/t/t3302-notes-index-expensive.sh
index 361a10a..8ab333d 100755
--- a/t/t3302-notes-index-expensive.sh
+++ b/t/t3302-notes-index-expensive.sh
@@ -98,7 +98,7 @@ time_notes () {
for mode in no-notes notes
do
echo $mode
- /usr/bin/time sh ../time_notes $mode $1
+ /usr/bin/time "$SHELL_PATH" ../time_notes $mode $1
done
}