<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell/hush_test/run-all, 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>2025-08-03T07:32:36+00:00</updated>
<entry>
<title>hush: if !JOBS, skip tests which wouldn't work</title>
<updated>2025-08-03T07:32:36+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2025-08-03T07:32:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c2ef7c6dadb72e0f1a024440d2d24f6e6525af9c'/>
<id>urn:sha1:c2ef7c6dadb72e0f1a024440d2d24f6e6525af9c</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: sync ash/hush test scripts</title>
<updated>2023-06-14T13:19:02+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2023-06-14T13:19:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=2ff01bb699d80cb7d24a93e812cc91c54be5cc20'/>
<id>urn:sha1:2ff01bb699d80cb7d24a93e812cc91c54be5cc20</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>nofork: fix a bug uncovered by hush testsuite (forgotten fflush)</title>
<updated>2017-08-03T17:52:47+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-08-03T17:52:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=19c9f31af17f2c34e93c9c322b5c546ffbcda6ad'/>
<id>urn:sha1:19c9f31af17f2c34e93c9c322b5c546ffbcda6ad</id>
<content type='text'>
function                                             old     new   delta
run_nofork_applet                                    280     287      +7

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>shell: syncronize ash_test/run-all and hush_test/run-all a bit</title>
<updated>2017-07-06T15:59:25+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2017-07-06T15:59:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=9a8ece51582b83a2d4ed3e1854dca703d5113da2'/>
<id>urn:sha1:9a8ece51582b83a2d4ed3e1854dca703d5113da2</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix a bug in FEATURE_SH_STANDALONE=y config. Closes 9186</title>
<updated>2016-08-19T16:43:06+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-08-19T16:23:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=215b0ca6e4fe466c6942d21a1bba62d97f2d5e5d'/>
<id>urn:sha1:215b0ca6e4fe466c6942d21a1bba62d97f2d5e5d</id>
<content type='text'>
Run this in a "sh SCRIPT":

sha256sum /dev/null
echo END

sha256sum is a NOEXEC applet. It runs in a forked child. Then child exit()s.
By this time, entire script is read, and buffered in a FILE object
from fopen("SCRIPT"). But fgetc() did not consume entire input.
exit() lseeks back by -9 bytes, from &lt;eof&gt; to 'e' in 'echo'.
(this may be libc-specific).
This change of fd position *is shared with the parent*!

Now parent can read more, and it thinks there is another "echo END".
End result: two "echo END"s are run.

Fix this by _exit()ing instead.

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: add tests for interrupting read</title>
<updated>2011-05-08T23:05:33+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2011-05-08T23:05:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=bcf1fa80f31468a2299b681dd096d41a0b5ed7f4'/>
<id>urn:sha1:bcf1fa80f31468a2299b681dd096d41a0b5ed7f4</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hust test: complain if busybox binary can't be found</title>
<updated>2009-08-12T19:24:29+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-08-12T19:24:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=dbfa45b3b23d882a7ff3e9ef4bf84378e6b9a4a8'/>
<id>urn:sha1:dbfa45b3b23d882a7ff3e9ef4bf84378e6b9a4a8</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix \&lt;newline&gt; handling on NOMMU</title>
<updated>2009-08-12T17:47:44+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-08-12T17:47:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=cbfe6ad4c6c6a218a3dd89623911183aca91b061'/>
<id>urn:sha1:cbfe6ad4c6c6a218a3dd89623911183aca91b061</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush tests: remove the requirement that .config is in ../..</title>
<updated>2009-08-12T12:53:44+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2009-08-12T12:53:44+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=19679784c03089c585c609335389f034172a11ff'/>
<id>urn:sha1:19679784c03089c585c609335389f034172a11ff</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush_test: stop mixing tabs/spaces for indentation</title>
<updated>2009-06-01T20:33:05+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-06-01T20:33:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=eab40e58858d01372b5d74b7330be2d7b1c7fc75'/>
<id>urn:sha1:eab40e58858d01372b5d74b7330be2d7b1c7fc75</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
</feed>
