diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2013-09-06 11:46:56 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2013-09-06 13:23:35 +0800 |
commit | 15c8cadd1173f681142a3f48319a203d7b917850 (patch) | |
tree | 7e9e39bb89c14412063e48e784a9857546253d64 /test/parser/Makefile.am | |
parent | d28b706489cfd2c11e281ff3eaeb136ca154a1ee (diff) | |
download | talos-petitboot-15c8cadd1173f681142a3f48319a203d7b917850.tar.gz talos-petitboot-15c8cadd1173f681142a3f48319a203d7b917850.zip |
discover/pxe: check for a valid boot option before adding
If we didn't find any valid boot options in the pxe buffer, we'll call
discover_context_add_boot_option with a NULL boot option.
This change adds a check before we try to add the boot option, and a
test to verify this situation.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test/parser/Makefile.am')
-rw-r--r-- | test/parser/Makefile.am | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index 9029544..e221bf2 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -41,6 +41,7 @@ TESTS = \ test-yaboot-device-override \ test-yaboot-default \ test-yaboot-rh8-ppc64 \ + test-pxe-empty \ test-pxe-single \ test-pxe-initrd-in-append |