<feed xmlns='http://www.w3.org/2005/Atom'>
<title>busybox-w32/shell/ash_test/ash-misc, branch noconsole</title>
<subtitle>A mirror of https://github.com/rmyorston/busybox-w32.git
</subtitle>
<id>https://git.lua4.win/busybox-w32/atom?h=noconsole</id>
<link rel='self' href='https://git.lua4.win/busybox-w32/atom?h=noconsole'/>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/'/>
<updated>2017-01-03T10:18:23+00:00</updated>
<entry>
<title>ash: fix error code regression</title>
<updated>2017-01-03T10:18:23+00:00</updated>
<author>
<name>Ron Yorston</name>
<email>rmy@pobox.com</email>
</author>
<published>2017-01-03T10:18:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=ea7d2f6ec0596789fc5b2e3fca3b7a602bfa2c26'/>
<id>urn:sha1:ea7d2f6ec0596789fc5b2e3fca3b7a602bfa2c26</id>
<content type='text'>
The commit 'ash,hush: set exit code 127 in "sh /does/not/exist" case'
only partly implemented the dash commit '[ERROR] Allow the originator
of EXERROR to set the exit status'.  This resulted in incorrect error
codes for a syntax error:

   $ )
   $ echo $?
   0

or a redirection error for a special builtin:

   $ rm -f xxx
   $ eval cat &lt;xxx
   $ echo $?
   0

Signed-off-by: Ron Yorston &lt;rmy@pobox.com&gt;
Reported-by: Martijn Dekker &lt;martijn@inlv.org&gt;
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: rework "wait %jobspec" to work in non-interactive shells too</title>
<updated>2016-11-07T23:59:29+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-11-07T23:59:29+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=02affb4afd4a71b0c1ca6286f9b0f6bf3b10e0a1'/>
<id>urn:sha1:02affb4afd4a71b0c1ca6286f9b0f6bf3b10e0a1</id>
<content type='text'>
Also add tests. wait5.tests so far fails (but works for ash and dash).

function                                             old     new   delta
builtin_wait                                         305     283     -22

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: allow { cmd } to not be terminated by semicolon in some cases</title>
<updated>2016-11-04T17:46:14+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-11-04T17:46:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=672a55e606fc50e4ffe7810bd0d9cd1cf9b980a3'/>
<id>urn:sha1:672a55e606fc50e4ffe7810bd0d9cd1cf9b980a3</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash testsuite: fix false positives</title>
<updated>2016-10-07T02:07:05+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-10-07T02:07:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=d43be8759100d34849bc6dbd94b1e20b81615d35'/>
<id>urn:sha1:d43be8759100d34849bc6dbd94b1e20b81615d35</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>sh testsuite: add tests for exitcode on failure to exec</title>
<updated>2016-10-02T22:55:34+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-10-02T22:55:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c775f829db2e25ffa384ffe1b6b6859cdddfa935'/>
<id>urn:sha1:c775f829db2e25ffa384ffe1b6b6859cdddfa935</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash testsuite: add most of hust tests which pass for ash</title>
<updated>2016-10-02T22:06:55+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-10-02T22:06:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=a62bc80571eae6d286aed9a92d47dc42318a8146'/>
<id>urn:sha1:a62bc80571eae6d286aed9a92d47dc42318a8146</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>sh testsuite: sync ash-misc/source* and hush-misc/source*</title>
<updated>2016-10-02T16:23:14+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-10-02T16:23:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=c7a774dde4b777126de5ef9f718b503a15bf4d30'/>
<id>urn:sha1:c7a774dde4b777126de5ef9f718b503a15bf4d30</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>ash: fix "return N" not setting $? in loop conditionals</title>
<updated>2016-10-01T17:56:52+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-10-01T17:56:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=35ec818fa23b9c68572f871da5c325101009939a'/>
<id>urn:sha1:35ec818fa23b9c68572f871da5c325101009939a</id>
<content type='text'>
Upstream commit 1:

    Date: Mon, 6 Oct 2014 20:45:04 +0800
    [EVAL] Move common skipcount logic into skiploop

    The functions evalloop and evalfor share the logic on checking
    and updating skipcount.  This patch moves that into the helper
    function skiploop.

    Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;

Upstream commit 2:

    Date: Mon, 6 Oct 2014 21:22:43 +0800
    [BUILTIN] Allow return in loop conditional to set exit status

    https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=332954

    When return is used in a loop conditional the exit status will
    be lost because we always set the exit status at the end of the
    loop to that of the last command executed in the body.

    This is counterintuitive and contrary to what most other shells do.

    This patch fixes this by always preserving the exit status of
    return when it is used in a loop conditional.

    The patch was originally written by Gerrit Pape &lt;pape@smarden.org&gt;.

    Reported-by: Stephane Chazelas &lt;stephane_chazelas@yahoo.fr&gt;
    Signed-off-by: Herbert Xu &lt;herbert@gondor.apana.org.au&gt;

Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix 'eval ""' handling</title>
<updated>2016-09-28T23:44:17+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-09-28T23:44:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=78c9c736ab13caec3f6c1032e39200fed5580f50'/>
<id>urn:sha1:78c9c736ab13caec3f6c1032e39200fed5580f50</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
<entry>
<title>hush: fix ". EMPTY_LINE" not setting $? to 0</title>
<updated>2016-09-28T23:27:09+00:00</updated>
<author>
<name>Denys Vlasenko</name>
<email>vda.linux@googlemail.com</email>
</author>
<published>2016-09-28T23:27:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.lua4.win/busybox-w32/commit/?id=992e0ff7e9a71a85a89d4fb7b4e6ace7ba74e2ba'/>
<id>urn:sha1:992e0ff7e9a71a85a89d4fb7b4e6ace7ba74e2ba</id>
<content type='text'>
Signed-off-by: Denys Vlasenko &lt;vda.linux@googlemail.com&gt;
</content>
</entry>
</feed>
