<feed xmlns='http://www.w3.org/2005/Atom'>
<title>talos-petitboot/test/urls/data, 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-07-10T04:00:08+00:00</updated>
<entry>
<title>lib: Add support and helpers for IPv6 host addresses</title>
<updated>2018-07-10T04:00:08+00:00</updated>
<author>
<name>Samuel Mendoza-Jonas</name>
<email>sam@mendozajonas.com</email>
</author>
<published>2018-05-09T01:13:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=becf2b28d8b0aa561ac7e42db519071f8065d37f'/>
<id>urn:sha1:becf2b28d8b0aa561ac7e42db519071f8065d37f</id>
<content type='text'>
Recognise IPv6 addresses and URLs, and allow an interface_info struct to
have both an IPv4 and IPv6 address.
The addr_scheme() helper returns the address family of a given address.

Signed-off-by: Samuel Mendoza-Jonas &lt;sam@mendozajonas.com&gt;
</content>
</entry>
<entry>
<title>lib/url: fix no-scheme URL parsing</title>
<updated>2013-05-06T01:02:12+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-05-02T09:30:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=a8f70e4bb930253065a0596a3b1f4d7894b074a9'/>
<id>urn:sha1:a8f70e4bb930253065a0596a3b1f4d7894b074a9</id>
<content type='text'>
We were incorrectly dropping the first strlen("file://") characters from
URLs with no scheme:

--- test/urls/data/localpath.test	2013-05-02 17:26:48.826359036 +0800
+++ /tmp/tmp.gn4JsWLw5o	2013-05-02 17:26:50.262364613 +0800
@@ -2,6 +2,6 @@
 scheme	file
 host	(null)
 port	(null)
-path	/test/path/to/local/file
-dir	/test/path/to/local/
+path	ath/to/local/file
+dir	ath/to/local/
 file	file

This change fixes the issue by indicating "no scheme found" by a NULL
return from pb_url_find_scheme, and hadling it appropriately. We add a
testcase too.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>test/url: Add uncommitted data files</title>
<updated>2013-05-06T00:55:56+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-05-06T00:55:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=2b4cd9a9e8474b6c0d1e74cf3931082179889edf'/>
<id>urn:sha1:2b4cd9a9e8474b6c0d1e74cf3931082179889edf</id>
<content type='text'>
Add a couple of data files for test that'd I'd ommitted from an earlier
commit.

Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
</content>
</entry>
<entry>
<title>test/url: Add http-simple.test</title>
<updated>2013-03-06T14:07:01+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-03-06T05:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=6b2d8ff75f1b9554d01dc6872b4498d660827e58'/>
<id>urn:sha1:6b2d8ff75f1b9554d01dc6872b4498d660827e58</id>
<content type='text'>
Signed-off-by: Jeremy Kerr &lt;jk@ozlabs.org&gt;
Signed-off-by: Geoff Levand &lt;geoff@infradead.org&gt;
</content>
</entry>
<entry>
<title>test: Add URL parser test infrastructure</title>
<updated>2013-03-06T14:06:36+00:00</updated>
<author>
<name>Jeremy Kerr</name>
<email>jk@ozlabs.org</email>
</author>
<published>2013-03-06T05:42:15+00:00</published>
<link rel='alternate' type='text/html' href='https://git.raptorcs.com/git/talos-petitboot/commit/?id=bf40f5fbd759241d1505c985fa02441cd6febd64'/>
<id>urn:sha1:bf40f5fbd759241d1505c985fa02441cd6febd64</id>
<content type='text'>
This change adds some simple testing infrastrcture to the URL parser.
We use a small C binary (parse-url) to run the url parser on its
argument, and compare the output with an expected datafile.

An initial test is included, to check the behaviour of URLs with
multiple slashes between host and pathname. This test currently fails.

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