<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite/sha1sum.tests, branch cron_changes</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=cron_changes</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=cron_changes'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-01-18T02:09:52+00:00</updated>
<entry>
<title>md5/sha1sum: Honor the -b flag in the output</title>
<updated>2026-01-18T02:09:52+00:00</updated>
<author>
<name>Martin Storsjö</name>
<email>martin@martin.st</email>
</author>
<published>2025-12-05T22:40:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=993d416d02442da1c33d8b26d706e24134b3d018'/>
<id>urn:sha1:993d416d02442da1c33d8b26d706e24134b3d018</id>
<content type='text'>
The output of md5sum/sha1sum contains a character to indicate
what mode was used to read the file - '*' for binary, and ' '
for text or where binary is insignificant.

This flag character makes a difference for the ffmpeg testsuite.
This testsuite contains a number of reference files (e.g. [1]),
containing the expected md5sum output for those files, which is
checked verbatim.

By making busybox's md5sum honor this flag in the output,
ffmpeg's testsuite can run successfully on top of busybox.

The flag is only partially implemented; in coreutils md5sum,
a later "-t" option overrides an earlier "-b" option. Here,
just check if a "-b" option was specified or not. Neither
flag affects how the files actually are read.

[1] https://code.ffmpeg.org/FFmpeg/FFmpeg/src/commit/894da5ca7d742e4429ffb2af534fcda0103ef593/tests/ref/acodec/flac

Signed-off-by: Martin Storsjö &lt;martin@martin.st&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>testsuite/sha1sum.tests: fix false positive failure</title>
<updated>2023-01-02T16:02:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-01-02T16:02:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fb0c000567634db32a644fef0e82627517a0f2e8'/>
<id>urn:sha1:fb0c000567634db32a644fef0e82627517a0f2e8</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shaNNNsum: accept one-space "HASH FILENAME" format for -c, closes 14866</title>
<updated>2022-07-11T12:36:39+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2022-07-11T12:36:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=3ad3aa6441ebaf817137051de2b74cb6b4379e7f'/>
<id>urn:sha1:3ad3aa6441ebaf817137051de2b74cb6b4379e7f</id>
<content type='text'>
function                                             old     new   delta
md5_sha1_sum_main                                    496     501      +5

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>testsuite: add tests for {ms5,shaN}sum</title>
<updated>2010-10-16T19:26:47+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2010-10-16T19:26:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=e8ee86250d78b7a9c59699aca597f392c1593225'/>
<id>urn:sha1:e8ee86250d78b7a9c59699aca597f392c1593225</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
