test/parser: Add test_set_conf_source()
authorJeremy Kerr <jk@ozlabs.org>
Thu, 4 Jul 2013 07:27:01 +0000 (15:27 +0800)
committerJeremy Kerr <jk@ozlabs.org>
Thu, 4 Jul 2013 07:27:01 +0000 (15:27 +0800)
commit45a091bf404b641b7d3570fd72dd1582689a1f7d
tree16a7103f06ca57fc97a68e80f6c4a6f4a060bb37
parent9d9f5fafe1ab15683601c03b14c35fe6a405ba45
test/parser: Add test_set_conf_source()

For non-local parsers (ie, PXE), we need to have the conf_url set. This
change adds a function to provide the originating URL.

Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
test/parser/parser-test.h
test/parser/utils.c