<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/test/cmd, branch v2025.04</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/test/cmd?h=v2025.04</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/test/cmd?h=v2025.04'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2025-02-07T19:35:23Z</updated>
<entry>
<title>cmd/setexpr: support concatenation of direct strings</title>
<updated>2025-02-07T19:35:23Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-02-03T15:10:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=af7eca24a78b1419656d618463f1eabe297fdb2f'/>
<id>urn:sha1:af7eca24a78b1419656d618463f1eabe297fdb2f</id>
<content type='text'>
The setexpr.s command allows to concatenate two strings.

According to the description in doc/usage/cmd/setexpr.rst the parameters
value1 and value2 can be either direct values or pointers to a
memory location holding the values.

Unfortunately `setexpr.s &lt;value1&gt; + &lt;value2&gt;` fails if any of the values
is a direct value. $? is set to false.

* Add support for direct values in setexpr.s.
* Correct the unit test for "setexpr.s fred 0".
* Add a new unit test for "setexpr.s fred '1' + '3'" giving '13'.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>test: remove available memory check in setexpr_test_str_oper()</title>
<updated>2025-02-07T19:35:23Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-02-03T15:10:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=d4265cdcd57c1975d4e756ab1778c837acc9776c'/>
<id>urn:sha1:d4265cdcd57c1975d4e756ab1778c837acc9776c</id>
<content type='text'>
env_set() frees the previous value after allocating the new value.
As the free() may merge memory chunks the available memory is not
expected to stay constant.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>test: remove available memory check in setexpr_test_str()</title>
<updated>2025-02-07T19:35:23Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-02-03T15:10:27Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b0716426367d992db8fb9a2235c0eb9c9fafe324'/>
<id>urn:sha1:b0716426367d992db8fb9a2235c0eb9c9fafe324</id>
<content type='text'>
env_set() frees the previous value after allocating the new value.
As the free() may merge memory chunks the available memory is not
expected to stay constant.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>test: clean up setexpr_test_str()</title>
<updated>2025-02-07T19:35:23Z</updated>
<author>
<name>Heinrich Schuchardt</name>
<email>heinrich.schuchardt@canonical.com</email>
</author>
<published>2025-02-03T15:10:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0395d75d6b867a3c109e5a71c3773f8415bf5121'/>
<id>urn:sha1:0395d75d6b867a3c109e5a71c3773f8415bf5121</id>
<content type='text'>
Assign variable buf in the sub-test where it is used.

Signed-off-by: Heinrich Schuchardt &lt;heinrich.schuchardt@canonical.com&gt;
</content>
</entry>
<entry>
<title>test/cmd/wget.c: Fix loadaddr rewrite</title>
<updated>2025-01-27T18:46:44Z</updated>
<author>
<name>Marek Vasut</name>
<email>marek.vasut+renesas@mailbox.org</email>
</author>
<published>2025-01-26T23:57:03Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=082b41df8abd8b2d0f2dccce8ed74fe7f5c6509e'/>
<id>urn:sha1:082b41df8abd8b2d0f2dccce8ed74fe7f5c6509e</id>
<content type='text'>
The $loadaddr variable is a hexadecimal value, not a string, it must be
assigned using env_set_hex(). This may break follow up tests, like the
dm_test_cmd_hash_md5 in CI. To avoid any interference with other tests,
set $wgetaddr variable which is specific to this test and use it in the
test.

Fixes: 20f641987f83 ("test/cmd/wget.c: move net_test_wget() to the cmd test suite")
Signed-off-by: Marek Vasut &lt;marek.vasut+renesas@mailbox.org&gt;
Acked-by: Jerome Forissier &lt;jerome.forissier@linaro.org&gt;
Reviewed-by: Fabio Estevam &lt;festevam@gmail.com&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running seama tests</title>
<updated>2025-01-24T20:34:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-20T21:25:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=b073d8a2727fa1177a2944807cb5ebc5122d6a39'/>
<id>urn:sha1:b073d8a2727fa1177a2944807cb5ebc5122d6a39</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

It is not clear that these actually work, since they are not enabled on
sandbox for some reason.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
Acked-by: Linus Walleij &lt;linus.walleij@linaro.org&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running pci_mps tests</title>
<updated>2025-01-24T20:34:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-20T21:25:53Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=a2cf88d807a59ec20eabdb32189a598b59fc0113'/>
<id>urn:sha1:a2cf88d807a59ec20eabdb32189a598b59fc0113</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running loadm tests</title>
<updated>2025-01-24T20:34:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-20T21:25:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=822cb558e1a9415c3b4b8069fd62734d3d37ddfe'/>
<id>urn:sha1:822cb558e1a9415c3b4b8069fd62734d3d37ddfe</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running addrmap tests</title>
<updated>2025-01-24T20:34:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-20T21:25:50Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e6959512b6f5e68314718b3ccd44608017bfb305'/>
<id>urn:sha1:e6959512b6f5e68314718b3ccd44608017bfb305</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
<entry>
<title>test: Drop the function for running setexpr tests</title>
<updated>2025-01-24T20:34:40Z</updated>
<author>
<name>Simon Glass</name>
<email>sjg@chromium.org</email>
</author>
<published>2025-01-20T21:25:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=cebdc5376f9663254387c5c59c095f9f64b3eb99'/>
<id>urn:sha1:cebdc5376f9663254387c5c59c095f9f64b3eb99</id>
<content type='text'>
Use the new suite-runner to run these tests instead.

Signed-off-by: Simon Glass &lt;sjg@chromium.org&gt;
</content>
</entry>
</feed>
