interplane.Get Omega
Read in your language

git

[Ported from github.com/git/git] Sync with Git 2.56.1

Brought by drakestapleton

branch master Branches Tags History

git / t / run-test.sh

18 lines · 304 bytes Raw Blame History
1#!/bin/sh
2
3# A simple wrapper to run shell tests via TEST_SHELL_PATH,
4# or exec unit tests directly.
5
6case "$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}" "$@" ${TEST_OPTIONS}
14 ;;
15*)
16 exec "$@"
17 ;;
18esac