<feed xmlns='http://www.w3.org/2005/Atom'>
<title>forks/busybox/shell/hush_test/run-all, branch 1_33_stable</title>
<subtitle>Busybox tree with Carbs Linux patches
</subtitle>
<id>https://git.carbslinux.org/forks/busybox/atom?h=1_33_stable</id>
<link rel='self' href='https://git.carbslinux.org/forks/busybox/atom?h=1_33_stable'/>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/'/>
<updated>2017-08-03T17:52:47+00:00</updated>
<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.carbslinux.org/forks/busybox/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.carbslinux.org/forks/busybox/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.carbslinux.org/forks/busybox/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.carbslinux.org/forks/busybox/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.carbslinux.org/forks/busybox/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.carbslinux.org/forks/busybox/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.carbslinux.org/forks/busybox/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.carbslinux.org/forks/busybox/commit/?id=eab40e58858d01372b5d74b7330be2d7b1c7fc75'/>
<id>urn:sha1:eab40e58858d01372b5d74b7330be2d7b1c7fc75</id>
<content type='text'>
Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>hush_test: filter test output to avoid C lib differences</title>
<updated>2009-06-01T18:16:43+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-06-01T18:08:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=ff64fb9e3100ff89446b54af3ef80cd86d4730f5'/>
<id>urn:sha1:ff64fb9e3100ff89446b54af3ef80cd86d4730f5</id>
<content type='text'>
The getopt function in some C libraries wraps the option in single quotes
while others do not.  Avoid the issue by running sed on the output and
strip all quotes.

Signed-off-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>source the .config so tests can signal they need to be skipped due to feature disable</title>
<updated>2009-04-09T07:49:43+00:00</updated>
<author>
<name>Mike Frysinger</name>
<email>vapier@gentoo.org</email>
</author>
<published>2009-04-09T07:49:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.carbslinux.org/forks/busybox/commit/?id=20300d0129e9e551be657be4d603de7f071f5989'/>
<id>urn:sha1:20300d0129e9e551be657be4d603de7f071f5989</id>
<content type='text'>
</content>
</entry>
</feed>
