From: Jonathan Nieder Date: Tue, 24 Aug 2010 07:14:53 +0000 (-0500) Subject: t3302 (notes): Port to Solaris X-Git-Tag: v1.7.2.3~14 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=6325ca3129ef969077115ba600d8356b8412b4d2;p=git.git 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 Signed-off-by: Jonathan Nieder Signed-off-by: Junio C Hamano --- 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 }