diff options
| author | Collin Funk <collin.funk1@gmail.com> | 2025-11-02 22:36:31 -0800 |
|---|---|---|
| committer | Collin Funk <collin.funk1@gmail.com> | 2025-11-03 17:05:57 -0800 |
| commit | 08308386097c95cfe30c4218b0e54936a2e4d891 (patch) | |
| tree | 98992d6abab5594ef8b2d2bc6fe884d57d7eeb5b /tests/misc/write-errors.sh | |
| parent | doc: squashfs issue to be squashed in Linux 6.18 (diff) | |
| download | coreutils-08308386097c95cfe30c4218b0e54936a2e4d891.tar.gz coreutils-08308386097c95cfe30c4218b0e54936a2e4d891.zip | |
tests: date: check that write errors are promptly diagnosed
This improvement is due to changes to Gnulib's fprintftime module.
* NEWS: Mention the improvement.
* src/getlimits.c (OFF64_T_MAX, OFF64_T_MIN): New macros.
(main): Print them.
* tests/misc/write-errors.sh: Call getlimits_. Add a date invocation.
Diffstat (limited to 'tests/misc/write-errors.sh')
| -rwxr-xr-x | tests/misc/write-errors.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/misc/write-errors.sh b/tests/misc/write-errors.sh index 612658c6a..47220584a 100755 --- a/tests/misc/write-errors.sh +++ b/tests/misc/write-errors.sh @@ -18,6 +18,7 @@ . "${srcdir=.}/tests/init.sh"; path_prepend_ ./src print_ver_ timeout env +getlimits_ if ! test -w /dev/full || ! test -c /dev/full; then skip_ '/dev/full is required' @@ -30,6 +31,7 @@ cat /dev/zero comm -z /dev/zero /dev/zero cut -z -c1- /dev/zero cut -z -f1- /dev/zero +date +%${OFF64_T_MAX}c date --version; yes 0 | date -f- dd if=/dev/zero expand /dev/zero |
