From cc28b17bb59411e6031a8273b784e9d1d3a9490d Mon Sep 17 00:00:00 2001 From: Neelesh Gupta Date: Mon, 28 Oct 2013 12:45:59 +0530 Subject: test/parser: Update test cases as per new parser requesting conf files Update the parser test code/cases as per new prototyping of parse() function which doesn't require buf and len to be passed from the caller, instead reading the configuration data either embedded or from file to a parser's known conffile. Signed-off-by: Neelesh Gupta Signed-off-by: Jeremy Kerr --- test/parser/test-yaboot-external.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/parser/test-yaboot-external.c') diff --git a/test/parser/test-yaboot-external.c b/test/parser/test-yaboot-external.c index bd09b44..713145f 100644 --- a/test/parser/test-yaboot-external.c +++ b/test/parser/test-yaboot-external.c @@ -15,7 +15,8 @@ void run_test(struct parser_test *test) struct discover_context *ctx; struct discover_device *dev; - test_read_conf_embedded(test); + test_read_conf_embedded(test, "/yaboot.conf"); + test_run_parser(test, "yaboot"); ctx = test->ctx; -- cgit v1.2.1