aboutsummaryrefslogtreecommitdiff
path: root/src/tests
diff options
context:
space:
mode:
authorMichael Brown <mcb30@ipxe.org>2016-03-14 17:39:17 +0000
committerMichael Brown <mcb30@ipxe.org>2016-03-14 18:03:13 +0000
commit75496817c2d28aef8b91fce8185814f8d39f69ab (patch)
tree75289d6cf753f3eebad79bc9c735a0fd3e520d57 /src/tests
parent17c1488a441756974d77d52a2b84c9c439327b47 (diff)
downloadipxe-75496817c2d28aef8b91fce8185814f8d39f69ab.zip
ipxe-75496817c2d28aef8b91fce8185814f8d39f69ab.tar.gz
ipxe-75496817c2d28aef8b91fce8185814f8d39f69ab.tar.bz2
[uri] Support "file:" URIs describing relative paths
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/tests')
-rw-r--r--src/tests/uri_test.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/uri_test.c b/src/tests/uri_test.c
index add6e46..92c2f90 100644
--- a/src/tests/uri_test.c
+++ b/src/tests/uri_test.c
@@ -612,10 +612,10 @@ static struct uri_test uri_iscsi = {
/** File URI with relative (opaque) path */
static struct uri_test uri_file_relative = {
- "file:script.ipxe",
+ "file:boot/script.ipxe",
{
.scheme = "file",
- .opaque = "script.ipxe",
+ .opaque = "boot/script.ipxe",
},
};