]> git.ipfire.org Git - thirdparty/coreutils.git/commit
tests: write-errors.sh: avoid portability issue with dash
authorPádraig Brady <P@draigBrady.com>
Wed, 17 Sep 2025 20:33:47 +0000 (21:33 +0100)
committerPádraig Brady <P@draigBrady.com>
Wed, 17 Sep 2025 20:37:35 +0000 (21:37 +0100)
commit5662192f391fd9c54c80aa992aba355aca10760e
tree3be8af0153c004580692f7137712522279114fae
parent2b59958537fcab424a215cf3eed541f35439422d
tests: write-errors.sh: avoid portability issue with dash

* tests/misc/write-errors.sh: Use printf rather than echo
since the echo builtin in dash will interpret backslashes.
* tests/misc/read-errors.sh: Likewise for consistency.
tests/misc/read-errors.sh
tests/misc/write-errors.sh