<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/test/lib, branch master</title>
<subtitle>Blackbird™ petitboot sources</subtitle>
<id>https://git.raptorcs.com/git/talos-petitboot/atom?h=master</id>
<link rel='self' href='https://git.raptorcs.com/git/talos-petitboot/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/'/>
<updated>2018-08-15T00:11:23+00:00</updated>
<entry>
<title>test/efivar: Rework for efi_mount</title>
<updated>2018-08-15T00:11:23+00:00</updated>
<author>
<name>Geoff Levand</name>
<email>geoff@infradead.org</email>
</author>
<published>2018-08-14T14:25:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=90d8f735cf65e33699ec19b8b5d8200fe889ca14'/>
<id>urn:sha1:90d8f735cf65e33699ec19b8b5d8200fe889ca14</id>
<content type='text'>
Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>test-efivar: Update to latest lib/efi routines</title>
<updated>2018-08-07T01:30:36+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-08-02T17:29:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=c44d4f11162d90c244b16375c3ff9a8a4a02bff6'/>
<id>urn:sha1:c44d4f11162d90c244b16375c3ff9a8a4a02bff6</id>
<content type='text'>
From: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/efi: Add new routines to access efi variables</title>
<updated>2018-08-07T01:30:36+00:00</updated>
<author>
<name>Ge Song</name>
<email>ge.song@hxt-semitech.com</email>
</author>
<published>2018-08-02T17:29:36+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=a915889b7fbbc4be11f9a37ea7afb5b3f3d41173'/>
<id>urn:sha1:a915889b7fbbc4be11f9a37ea7afb5b3f3d41173</id>
<content type='text'>
Provide methods to load/store petitboot's configuration on efi-based
platforms. A test case is also provided.

Signed-off-by: Ge Song &lt;ge.song@hxt-semitech.com&gt;
[Cleanup file comments, make efivarfs_path static.]
Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>test/lib: Add OpenSSL verify and decrypt tests</title>
<updated>2018-05-30T04:23:47+00:00</updated>
<author>
<name>Brett Grandbois</name>
<email>brett.grandbois@opengear.com</email>
</author>
<published>2018-05-15T00:55:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=d47114df83e88f1b5ae65747001fc13d5dae525b'/>
<id>urn:sha1:d47114df83e88f1b5ae65747001fc13d5dae525b</id>
<content type='text'>
Signed-off-by: Brett Grandbois &lt;brett.grandbois@opengear.com&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>test/lib: Avoid array overflow of child_argv[]</title>
<updated>2016-03-22T21:58:52+00:00</updated>
<author>
<name>Anton Blanchard</name>
<email>anton@samba.org</email>
</author>
<published>2016-01-03T10:37:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=d8c292e7e39f038374d2a6aecf6383f91a236ebc'/>
<id>urn:sha1:d8c292e7e39f038374d2a6aecf6383f91a236ebc</id>
<content type='text'>
We allocate 3 elements in child_argv, but write 4.

Signed-off-by: Anton Blanchard &lt;anton@samba.org&gt;
Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>tests/lib/test-fold: Add mbs test with separators</title>
<updated>2014-09-23T07:09:21+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2014-09-23T07:07:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=2b49a92ff84a8ec06ec0f97e36f0f813eaa46764'/>
<id>urn:sha1:2b49a92ff84a8ec06ec0f97e36f0f813eaa46764</id>
<content type='text'>
Ensure we're doing the correct thing with mbs + separators in the fold
code.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>lib/fold: Add support for multibyte strings</title>
<updated>2014-09-23T06:47:58+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2014-09-23T06:46:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=3aef1b6d1f465596ebf7883a50efcf4d6f0ffcf4'/>
<id>urn:sha1:3aef1b6d1f465596ebf7883a50efcf4d6f0ffcf4</id>
<content type='text'>
Currently, the fold_text function doesn't understand multibyte strings,
so may break a line in the middle of a multibyte sequence.

This change adds multibyte-awareness to the fold code, and uses proper
width calculations for the contents of the folded string.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>autotools: Use non-recursive make</title>
<updated>2014-08-01T03:24:26+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2014-07-28T08:20:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=c43847fe14e6b32cc58b8e8168f78e72ef94316d'/>
<id>urn:sha1:c43847fe14e6b32cc58b8e8168f78e72ef94316d</id>
<content type='text'>
With the current testing infrastructure, we don't have a strictly
hierarchical set of dependencies. This causes problems with a recursive
make, and means we have to hack around some of the dependencies.

This change generates a single, top-level makefile from all of the
Makefile.am fragments. We still need the po/ directory as a separate
SUBDIR, but all others can be converted to non-recursive.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>lib/process: Don't abort stdout reads on EINTR</title>
<updated>2014-02-20T02:11:52+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2014-02-20T01:22:58+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=ffb84fc1bf1d138d1ac1bb8ece0b7d625f288d97'/>
<id>urn:sha1:ffb84fc1bf1d138d1ac1bb8ece0b7d625f288d97</id>
<content type='text'>
If our read() of the process stdout pipe fails with EINTR (eg, if we
receive a SIGCHLD because the process exited), then
process_read_stdout_once will return a non-zero exit code, and we'll
abort any further stdout collection.

Instead, we should check for EINTR, and allow the reads to continue.

This change normalises the return value from process_read_stdout_once to
return positive on success, negative on failure, and zero on competion.
We use a positive return value for the non-error EINTR case.

Also, add a pb_log if the read fails for non-EINTR reasons.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>lib/fold: Add text fold utility</title>
<updated>2014-01-31T00:46:34+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-12-10T06:12:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=485680a5bfeb952fd652a59efcce35636d6aec00'/>
<id>urn:sha1:485680a5bfeb952fd652a59efcce35636d6aec00</id>
<content type='text'>
We want to fold help text into the ncurses UI, so add a little module to
split text into lines.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
</feed>
