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>
Jonathan Nieder committed
Aug 24, 2010 at 02:14 UTC
6325ca3129ef969077115ba600d8356b8412b4d2
1 file changed
+1
-1
t/t3302-notes-index-expensive.sh
+1
-1
@@ -98,7 +98,7 @@ time_notes () {
98
for mode in no-notes notes
99
do
100
echo $mode
101
- /usr/bin/time sh ../time_notes $mode $1
101
+ /usr/bin/time "$SHELL_PATH" ../time_notes $mode $1
102
done
103
}
104