From 93304acc1063b760c3e3fe229bd972749d055533 Mon Sep 17 00:00:00 2001 From: Collin Funk Date: Sat, 26 Jul 2025 11:29:02 -0700 Subject: [PATCH] tests: avoid a false failure on Cygwin * tests/cksum/md5sum-bsd.sh: Use 'echo' instead of ':' to redirect to the file. Otherwise 'Exit $fail' is not called on Cygwin. --- tests/cksum/md5sum-bsd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/cksum/md5sum-bsd.sh b/tests/cksum/md5sum-bsd.sh index aa2d24d89a..1f80ccbe1c 100755 --- a/tests/cksum/md5sum-bsd.sh +++ b/tests/cksum/md5sum-bsd.sh @@ -70,7 +70,7 @@ for i in 'a' ' b' '*c' 'dd' ' '; do done md5sum --strict -c check.md5 || fail=1 -if : > 'backslash\is\not\dir\sep'; then +if echo '' > 'backslash\is\not\dir\sep'; then # Ensure we can --check BSD traditional format we produce # with the GNU extension of escaped newlines nl=' -- 2.47.2