From 6b9dac473def1e6ed0daedb9eb35664fbbfffb8c Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 16:51:55 -1000 Subject: Prefer POSIX forms throughout the test scripts --- tests/t0001-git-version.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'tests/t0001-git-version.sh') 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 -- cgit v2.8.0