From 65431289a0aa7ee034c277ce64068e5a740ea93a Mon Sep 17 00:00:00 2001 From: Bryce Kwon Date: Mon, 24 Aug 2026 19:00:54 -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 2.12.1