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.
This commit is contained in:
Collin Funk committed 2025-07-26 11:29:02 -07:00
1 parent ba8e55ea95
commit 93304acc10
1 file changed
+1 -1
+1 -1
View File
@@ -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='