From: Collin Funk Date: Sat, 26 Jul 2025 18:29:02 +0000 (-0700) Subject: tests: avoid a false failure on Cygwin X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=93304acc1063b760c3e3fe229bd972749d055533;p=thirdparty%2Fcoreutils.git 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. --- 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='