<feed xmlns='http://www.w3.org/2005/Atom'>
<title>coreutils/tests/od, branch master</title>
<subtitle>Mirror of https://https.git.savannah.gnu.org/git/coreutils.git/
</subtitle>
<id>https://git.shady.money/coreutils/atom?h=master</id>
<link rel='self' href='https://git.shady.money/coreutils/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/'/>
<updated>2026-04-06T16:16:05Z</updated>
<entry>
<title>test: od: verify -t f defaults to double precision</title>
<updated>2026-04-06T16:16:05Z</updated>
<author>
<name>Sylvestre Ledru</name>
<email>sylvestre@debian.org</email>
</author>
<published>2026-04-06T16:10:42Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=fac454616bbc77b453fa5e193b06aff1a6c819c1'/>
<id>urn:sha1:fac454616bbc77b453fa5e193b06aff1a6c819c1</id>
<content type='text'>
* tests/od/od-float.sh: Add cases to ensure -t f = -t fD,
and also verify the resulting number.
https://github.com/uutils/coreutils/pull/11396
https://github.com/coreutils/coreutils/pull/241
</content>
</entry>
<entry>
<title>od: suppress address output on read error</title>
<updated>2026-03-25T17:46:37Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-03-25T17:33:47Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0ec2340c08719d6f342780b4669ea05c3559d9a3'/>
<id>urn:sha1:0ec2340c08719d6f342780b4669ea05c3559d9a3</id>
<content type='text'>
We don't output an address for `od missing` or `od --strings .`,
so be consistent and suppress the address for `od .`.

* src/od.c (dump): Only output an address if no errors
or the offset is non zero.
</content>
</entry>
<entry>
<title>tests: od: ensure -j1 /dev/null succeeds</title>
<updated>2026-03-25T17:46:16Z</updated>
<author>
<name>oech3</name>
<email>79379754+oech3@users.noreply.github.com</email>
</author>
<published>2026-03-25T17:08:51Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=cc3dd92f84f8cb8e4f18ece95f250fde8eff78c7'/>
<id>urn:sha1:cc3dd92f84f8cb8e4f18ece95f250fde8eff78c7</id>
<content type='text'>
Users may be using this to convert bases.

* tests/od/od-j.sh: Add a test case.
https://github.com/coreutils/coreutils/pull/228
</content>
</entry>
<entry>
<title>maint: tests: avoid ERANGE specific handling</title>
<updated>2026-02-18T18:31:49Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2026-02-17T22:50:00Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=dd3fd4593d0f94d39108a9eb906d198a8ca76f58'/>
<id>urn:sha1:dd3fd4593d0f94d39108a9eb906d198a8ca76f58</id>
<content type='text'>
* tests/fmt/base.pl: Verify ERANGE is diagnosed.
* tests/od/od.pl: Adjust determination of ERANGE.
</content>
</entry>
<entry>
<title>maint: run 'make update-copyright'</title>
<updated>2026-01-01T18:56:16Z</updated>
<author>
<name>Collin Funk</name>
<email>collin.funk1@gmail.com</email>
</author>
<published>2026-01-01T18:56:16Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=73d3a49f45770c45808e4fdab35ae4fe248a3cd9'/>
<id>urn:sha1:73d3a49f45770c45808e4fdab35ae4fe248a3cd9</id>
<content type='text'>
</content>
</entry>
<entry>
<title>maint: use short form bug URLs</title>
<updated>2025-08-12T16:50:40Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-08-12T13:31:03Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=2543c0052c9be0e53c529f6be90b861ac99a092b'/>
<id>urn:sha1:2543c0052c9be0e53c529f6be90b861ac99a092b</id>
<content type='text'>
* cfg.mk (sc_prohibit-long-form-bug-urls): Disallow long form in code.
* scripts/git-hooks/commit-msg: Disallow long form in commit messages.
* NEWS: Shorten long urls.
* bootstrap.conf: Likewise.
* configure.ac: Likewise.
* scripts/git-hooks/commit-msg: Likewise.
* src/csplit.c: Likewise.
* src/fmt.c: Likewise.
* src/make-prime-list.c: Likewise.
* src/nohup.c: Likewise.
* tests/od/od-float.sh: Likewise.
* tests/rm/r-root.sh: Likewise.
* tests/tail/inotify-race.sh: Likewise.
* tests/tail/inotify-race2.sh: Likewise.
</content>
</entry>
<entry>
<title>tests: avoid false failure due to varied ERANGE errors</title>
<updated>2025-06-30T23:03:30Z</updated>
<author>
<name>Pádraig Brady</name>
<email>P@draigBrady.com</email>
</author>
<published>2025-06-30T22:28:32Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=0512608a444507e6cc5444e62949962bc3d32d8d'/>
<id>urn:sha1:0512608a444507e6cc5444e62949962bc3d32d8d</id>
<content type='text'>
* tests/od/od.pl: Use the system error string for ERANGE,
rather than hardcoding a particular one.
Fixes https://bugs.gnu.org/78934
</content>
</entry>
<entry>
<title>od: add test cases for recent fix</title>
<updated>2025-06-30T05:32:05Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-06-30T05:31:01Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=5c5f069a4c8f33a0177acd021df2f4cad6860024'/>
<id>urn:sha1:5c5f069a4c8f33a0177acd021df2f4cad6860024</id>
<content type='text'>
* tests/od/od.pl: New tests for the offset issues
</content>
</entry>
<entry>
<title>od: fix '+N.' bug</title>
<updated>2025-06-29T04:00:41Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-06-29T00:29:22Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=66464e61f549e9f2fd35f82567345721798288f9'/>
<id>urn:sha1:66464e61f549e9f2fd35f82567345721798288f9</id>
<content type='text'>
* src/od.c (parse_old_offset): First arg is now char *,
not char const *.  If a decimal number, temporarily
modify the string so that xstrtoumax does not complain
about the '.'.
* tests/od/od.pl: Test for the bug.
</content>
</entry>
<entry>
<title>od: fix some unlikely integer overflows</title>
<updated>2025-06-29T04:00:41Z</updated>
<author>
<name>Paul Eggert</name>
<email>eggert@cs.ucla.edu</email>
</author>
<published>2025-06-26T06:22:37Z</published>
<link rel='alternate' type='text/html' href='https://git.shady.money/coreutils/commit/?id=88f30ee0a5c355701914d4446dc7ec729a344fa2'/>
<id>urn:sha1:88f30ee0a5c355701914d4446dc7ec729a344fa2</id>
<content type='text'>
* src/od.c (print_n_spaces, pad_at, pad_at_overflow):
New static functions.
(struct tspec, PRINT_FIELDS, print_named_ascii, print_ascii)
(decode_one_format, write_block, main):
Use idx_t, not int, for counts that depend on the number
of bytes in an object.
(decode_one_format): Use print_n_spaces to output spaces.
(PRINT_FIELDS, print_named_ascii, print_ascii):
Use pad_at to avoid integer overflow.
(write_block): Do not use %*s to pad, as the total pad might
exceed INT_MAX.  Instead, pad by hand with putchar (' ').
(main): Use pad_at_overflow to report integer overflow due to
oversize -w.  Use better way to tell whether -w is used,
without needing IF_LINT.
* tests/od/big-w.sh: New test.
* tests/local.mk (all_tests): Add it.
</content>
</entry>
</feed>
