diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2025-07-26 11:29:02 -0700 |
|---|---|---|
| committer | Collin Funk <collin.funk1@gmail.com> | 2025-07-26 11:29:02 -0700 |
| commit | 93304acc1063b760c3e3fe229bd972749d055533 (patch) | |
| tree | 75473f730db52448ba522a184e522cfe154cb352 | |
| parent | maint: avoid syntax-check failure from previous commit (diff) | |
| download | coreutils-93304acc1063b760c3e3fe229bd972749d055533.tar.gz coreutils-93304acc1063b760c3e3fe229bd972749d055533.zip | |
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.
| -rwxr-xr-x | tests/cksum/md5sum-bsd.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/cksum/md5sum-bsd.sh b/tests/cksum/md5sum-bsd.sh index aa2d24d89..1f80ccbe1 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=' |
