<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/testsuite, branch master</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=master</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2026-04-16T11:30:23+00:00</updated>
<entry>
<title>patch: improved handling of files with no final newline</title>
<updated>2026-04-16T11:30:23+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-04-16T11:30:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2ed1d5d344cb9991916bc538d30182cae875079f'/>
<id>urn:sha1:2ed1d5d344cb9991916bc538d30182cae875079f</id>
<content type='text'>
Commit 2275a53f0 (patch: handle files with no final newline) was
incomplete.  It only detected a line with no newline in the first
section of a hunk.  Add the code necessary to detect the '\ No
newline at end of file' warning in the second section.

Also add some tests.

Adds 48-80 bytes.

(GitHub issue #575)
</content>
</entry>
<entry>
<title>join: add some more tests</title>
<updated>2026-01-23T11:31:21+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-01-23T11:31:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=7504b4e889e23a80f84101e19ff0e9e626634cd4'/>
<id>urn:sha1:7504b4e889e23a80f84101e19ff0e9e626634cd4</id>
<content type='text'>
One more from the POSIX documentation and some examples from
coreutils.
</content>
</entry>
<entry>
<title>Merge branch 'busybox' into merge</title>
<updated>2026-01-22T11:21:35+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-01-22T11:21:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fa4540b74ce52d6913c9a8b57e0666c8add2022d'/>
<id>urn:sha1:fa4540b74ce52d6913c9a8b57e0666c8add2022d</id>
<content type='text'>
</content>
</entry>
<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>cmp: fix -n causing all diffs to be output, implement size suffixes for SKIP</title>
<updated>2026-01-18T01:41:20+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2026-01-18T01:38:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=fc9d352b4cae7bd962723480d1323fb1b5f46e32'/>
<id>urn:sha1:fc9d352b4cae7bd962723480d1323fb1b5f46e32</id>
<content type='text'>
function                                             old     new   delta
packed_usage                                       35802   35828     +26
cmp_main                                             616     595     -21
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 1/1 up/down: 26/-21)              Total: 5 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>md5/sha1sum: Honor the -b flag in the output</title>
<updated>2026-01-06T15:02:17+00:00</updated>
<author>
<name>Martin Storsjö</name>
<email>martin@martin.st</email>
</author>
<published>2025-12-03T09:17:59+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=80429823757163f4855eb90d0004ad6eae55bd3f'/>
<id>urn:sha1:80429823757163f4855eb90d0004ad6eae55bd3f</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;
</content>
</entry>
<entry>
<title>join: minor adjustments</title>
<updated>2026-01-02T14:20:26+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2026-01-02T14:20:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=6075ab704a0fc5b9d888097b781c2e8271102a64'/>
<id>urn:sha1:6075ab704a0fc5b9d888097b781c2e8271102a64</id>
<content type='text'>
- Update the size estimate to follow upstream's methodology

- Disable the applet by default until it's accepted upstream

- Add a minimal test script, stealing an example from POSIX
</content>
</entry>
<entry>
<title>xxd: fix -pANYTHING handling (-pc50 does not mean -p -c50)</title>
<updated>2025-11-30T05:13:15+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-11-30T04:54:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d755846906800ac4156ef4f83430ba8e69edb4df'/>
<id>urn:sha1:d755846906800ac4156ef4f83430ba8e69edb4df</id>
<content type='text'>
function                                             old     new   delta
packed_usage                                       35768   35802     +34
xxd_main                                            1447    1449      +2
.rodata                                           106438  106439      +1
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 3/0 up/down: 37/0)               Total: 37 bytes

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>make: fix expansion of immediate-mode macros</title>
<updated>2025-11-28T07:52:25+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-11-28T07:52:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=0e1f65e10a3b21bb253479b842614c9669fbc1f9'/>
<id>urn:sha1:0e1f65e10a3b21bb253479b842614c9669fbc1f9</id>
<content type='text'>
Immediate-mode macros shouldn't be recursively expanded, but are
subject to suffix and pattern substitution.

Adds 16 bytes to the 32-bit build.

(pdpmake GitHub issue 77)
</content>
</entry>
<entry>
<title>paste: fix output when file lengths differ</title>
<updated>2025-11-10T12:52:02+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2025-11-10T12:48:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=af09683cfc5ffe05f3e42bb592fe15a753540d85'/>
<id>urn:sha1:af09683cfc5ffe05f3e42bb592fe15a753540d85</id>
<content type='text'>
If the files being pasted had different numbers of lines the
output was incorrect.

Rewrite the loop over all lines to allow for this.  Add tests for
such conditions.

Adds 64-80 bytes.

(GitHub issue #542)
</content>
</entry>
</feed>
