diff options
context:
space:
mode:
Diffstat (limited to 'tests/t0001-git-version.sh')
-rwxr-xr-xtests/t0001-git-version.sh3
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