mirror of
https://git.savannah.gnu.org/git/coreutils.git
synced 2026-11-17 18:02:09 +03:00
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:
1 parent
ba8e55ea95
commit
93304acc10
1 file changed
+1
-1
@@ -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='
|
||||
|
||||
Reference in new issue
Block a user