aboutsummaryrefslogtreecommitdiff
path: root/t/t3302-notes-index-expensive.sh
diff options
context:
space:
mode:
authorJonathan Nieder <jrnieder@gmail.com>2010-08-24 02:14:53 -0500
committerJunio C Hamano <gitster@pobox.com>2010-08-24 09:58:40 -0700
commit6325ca3129ef969077115ba600d8356b8412b4d2 (patch)
treece42d437a3752a77e0b8622defcbbbc18c94cd1c /t/t3302-notes-index-expensive.sh
parent22e5e58a3c75b73764b860907e4d871195f276ac (diff)
downloadgit-6325ca3129ef969077115ba600d8356b8412b4d2.tar.gz
git-6325ca3129ef969077115ba600d8356b8412b4d2.tar.xz
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/t3302-notes-index-expensive.sh')
-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 361a10aeb..8ab333dbd 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
}