diff options
| author | Bryce Kwon <bryce@brycekwon.com> | |
|---|---|---|
| committer | Bryce Kwon <bryce@brycekwon.com> | |
| commit | ||
| parent | ||
| tree | ||
| download | ||
Prefer POSIX forms throughout the test scripts
Diffstat (limited to 'tests/t0001-git-version.sh')
| -rwxr-xr-x | tests/t0001-git-version.sh | 3 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
1 file changed, 2 insertions, 1 deletion
diff --git a/tests/t0001-git-version.sh b/tests/t0001-git-version.sh index 2117764..8436812 100755 --- a/tests/t0001-git-version.sh +++ b/tests/t0001-git-version.sh @@ -7,7 +7,8 @@ # it claims. Set CGIT_TEST_NO_GIT_VERSION to YesPlease when Git comes from # elsewhere and the comparison has nothing to say. -if [ "${CGIT_TEST_NO_GIT_VERSION}" = "YesPlease" ]; then +if test "$CGIT_TEST_NO_GIT_VERSION" = "YesPlease" +then exit 0 fi |
