repo.or.cz
/
git
/
gitster.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
setup: merge configuration of repository formats
[git/gitster.git]
/
t
/
run-test.sh
blob
13c353b91b460761524f03b7b6d7efb7a37c4afe
1
#!/bin/sh
2
3
# A simple wrapper to run shell tests via TEST_SHELL_PATH,
4
# or exec unit tests directly.
5
6
case
"
$1
"
in
7
*
.sh
)
8
if
test -z
"
${TEST_SHELL_PATH}
"
9
then
10
echo
>&
2
"ERROR: TEST_SHELL_PATH is empty or not set"
11
exit
1
12
fi
13
exec
"
${TEST_SHELL_PATH}
"
"$@"
14
;;
15
*)
16
exec
"$@"
17
;;
18
esac