diff options
| author | Pádraig Brady <P@draigBrady.com> | 2025-09-17 21:33:47 +0100 |
|---|---|---|
| committer | Pádraig Brady <P@draigBrady.com> | 2025-09-17 21:37:35 +0100 |
| commit | 5662192f391fd9c54c80aa992aba355aca10760e (patch) | |
| tree | 3be8af0153c004580692f7137712522279114fae /tests/misc/write-errors.sh | |
| parent | cksum,wc: inspect GLIBC_TUNABLES on all architectures (diff) | |
| download | coreutils-5662192f391fd9c54c80aa992aba355aca10760e.tar.gz coreutils-5662192f391fd9c54c80aa992aba355aca10760e.zip | |
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.
Diffstat (limited to 'tests/misc/write-errors.sh')
| -rwxr-xr-x | tests/misc/write-errors.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/misc/write-errors.sh b/tests/misc/write-errors.sh index 34bed5dfc..b30f4f6bd 100755 --- a/tests/misc/write-errors.sh +++ b/tests/misc/write-errors.sh @@ -25,7 +25,7 @@ fi # Writers that may output data indefinitely # First word in command line is checked against built programs -echo "\ +printf '%s' "\ cat /dev/zero comm -z /dev/zero /dev/zero cut -z -c1- /dev/zero |
