david/ipxe
Archived
1
0
This repository has been archived on 2020-12-06. You can view files and clone it, but cannot push or open issues or pull requests.
ipxe/src/tests
Michael Brown 7667536527 [uri] Refactor URI parsing and formatting
Add support for parsing of URIs containing literal IPv6 addresses
(e.g. "http://[fe80::69ff:fe50:5845%25net0]/boot.ipxe").

Duplicate URIs by directly copying the relevant fields, rather than by
formatting and reparsing a URI string.  This relaxes the requirements
on the URI formatting code and allows it to focus on generating
human-readable URIs (e.g. by not escaping ':' characters within
literal IPv6 addresses).  As a side-effect, this allows relative URIs
containing parameter lists (e.g. "../boot.php##params") to function
as expected.

Add validity check for FTP paths to ensure that only printable
characters are accepted (since FTP is a human-readable line-based
protocol with no support for character escaping).

Construct TFTP next-server+filename URIs directly, rather than parsing
a constructed "tftp://..." string,

Add self-tests for URI functions.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
2014-02-27 13:32:53 +00:00
..
comboot [comboot] Add COMBOOT and COM32 support 2008-08-28 23:52:19 +01:00
aes_cbc_test.c [test] Add speed tests for cipher algorithms 2012-09-26 15:27:33 +01:00
base16_test.c [test] Add self-tests for base16 2013-07-12 15:14:36 +02:00
base64_test.c [test] Add self-tests for base64 2012-05-20 17:12:42 +01:00
bigint_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
bofm_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
byteswap_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
cbc_test.c [test] Add speed tests for cipher algorithms 2012-09-26 15:27:33 +01:00
cbc_test.h [test] Add speed tests for cipher algorithms 2012-09-26 15:27:33 +01:00
cms_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
crc32_test.c [test] Add self-tests for crc32_le() 2012-05-07 16:56:50 +01:00
deflate_test.c [deflate] Fix literal data length calculation 2014-01-12 22:53:10 +01:00
digest_test.c [test] Add speed tests for digest algorithms 2012-09-26 14:54:02 +01:00
digest_test.h [test] Add speed tests for digest algorithms 2012-09-26 14:54:02 +01:00
dns_test.c [dns] Support DNS search lists 2014-02-05 14:56:49 +00:00
entropy_sample.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
gdbstub_test.gdb [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
gdbstub_test.S [i386] Add explicit flags and type on all .section declarations 2009-02-15 10:59:53 +00:00
hash_df_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
hmac_drbg_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
ipv6_test.c [ipv6] Add inet6_aton() 2013-09-11 11:27:13 +01:00
linebuf_test.c [build] Rename gPXE to iPXE 2010-04-19 23:43:39 +01:00
list_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
md5_test.c [test] Add speed tests for digest algorithms 2012-09-26 14:54:02 +01:00
memcpy_test.c [test] Add memcpy() self-tests 2012-06-27 19:15:16 +01:00
ocsp_test.c [crypto] Construct OCSP check URI 2012-05-21 23:21:38 +01:00
pixbuf_test.c [test] Generalise pnm_ok() to pixbuf_ok() 2014-01-12 22:53:16 +01:00
pixbuf_test.h [test] Generalise pnm_ok() to pixbuf_ok() 2014-01-12 22:53:16 +01:00
png_test.c [png] Add support for PNG images 2014-01-12 22:53:16 +01:00
pnm_test.c [test] Generalise pnm_ok() to pixbuf_ok() 2014-01-12 22:53:16 +01:00
pubkey_test.h [test] Add self-tests for RSA 2012-03-18 13:37:56 +00:00
rsa_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
settings_test.c [settings] Remove "uristring" setting type 2014-02-26 23:34:07 +00:00
sha1_test.c [test] Add speed tests for digest algorithms 2012-09-26 14:54:02 +01:00
sha256_test.c [test] Add speed tests for digest algorithms 2012-09-26 14:54:02 +01:00
string_test.c [test] Add self-tests for string functions 2012-11-12 16:58:49 +00:00
tcpip_test.c [test] Add self-tests for TCP/IP checksum calculation 2012-06-27 19:15:18 +01:00
test.c [test] Include failing code within failed test result output 2013-11-27 11:27:45 +00:00
tests.c [uri] Refactor URI parsing and formatting 2014-02-27 13:32:53 +00:00
time_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00
umalloc_test.c [ioapi] Move get_memmap() to the I/O API group 2010-08-16 16:54:03 +01:00
uri_test.c [uri] Refactor URI parsing and formatting 2014-02-27 13:32:53 +00:00
vsprintf_test.c [test] Add self-tests for snprintf() 2013-08-12 17:02:50 +01:00
x509_test.c [legal] Update FSF mailing address in GPL licence texts 2012-07-20 19:55:45 +01:00