test/parser: Update test cases as per new parser requesting conf files
authorNeelesh Gupta <neelegup@linux.vnet.ibm.com>
Mon, 28 Oct 2013 07:15:59 +0000 (12:45 +0530)
committerJeremy Kerr <jk@ozlabs.org>
Wed, 6 Nov 2013 08:34:26 +0000 (16:34 +0800)
commitcc28b17bb59411e6031a8273b784e9d1d3a9490d
tree79c4b48746a3541a1b95347dc413e9f8ca387ec6
parentb8e53cb4b96eb17dc7fa0ffc505dfebae37e6cbf
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 <neelegup@linux.vnet.ibm.com>
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
28 files changed:
test/parser/Makefile.am
test/parser/parser-test.h
test/parser/test-grub2-default-index.c
test/parser/test-grub2-default-multiword.c
test/parser/test-grub2-default.c
test/parser/test-grub2-f18-ppc64.c
test/parser/test-grub2-lexer-error.c
test/parser/test-grub2-load-env.c
test/parser/test-grub2-multiple-resolve.c
test/parser/test-grub2-parser-error.c
test/parser/test-grub2-save-env.c
test/parser/test-grub2-single-line-if.c
test/parser/test-grub2-single.c
test/parser/test-grub2-ubuntu-13_04-x86.c
test/parser/test-kboot-single.c
test/parser/test-pxe-empty.c
test/parser/test-pxe-initrd-in-append.c
test/parser/test-pxe-single.c
test/parser/test-yaboot-default.c
test/parser/test-yaboot-device-override.c
test/parser/test-yaboot-external.c
test/parser/test-yaboot-partition-override.c
test/parser/test-yaboot-partition.c
test/parser/test-yaboot-rh8-ppc64.c
test/parser/test-yaboot-root-global.c
test/parser/test-yaboot-root-override.c
test/parser/test-yaboot-single.c
test/parser/utils.c