summaryrefslogtreecommitdiffstats
path: root/test/parser/Makefile.am
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javierm@redhat.com>2019-06-20 18:09:56 +0200
committerSamuel Mendoza-Jonas <sam@mendozajonas.com>2019-06-21 13:42:20 +1000
commit7edc34c4ee8dc0913ea1a4ec64d3fbe6d64afc6d (patch)
treeab7abfb620d9606c09a9c10901e50239470cea8b /test/parser/Makefile.am
parent53e0f3ef35ac694220dce135f01a4f736cbd1c19 (diff)
downloadtalos-petitboot-7edc34c4ee8dc0913ea1a4ec64d3fbe6d64afc6d.tar.gz
talos-petitboot-7edc34c4ee8dc0913ea1a4ec64d3fbe6d64afc6d.zip
discover/grub2: Allow to separate the --id argument using a space char
The GRUB menuentry command allows to separate the arguments for options using either a '=' or a ' '. The latter is the convention used when the menu entries are defined in the GRUB config file, but this is currently not supported by Petitboot. Add tests to cover both using '--id=foo' and '--id foo' as options. Signed-off-by: Javier Martinez Canillas <javierm@redhat.com> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
Diffstat (limited to 'test/parser/Makefile.am')
-rw-r--r--test/parser/Makefile.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am
index f9083bd..748c836 100644
--- a/test/parser/Makefile.am
+++ b/test/parser/Makefile.am
@@ -19,6 +19,8 @@ parser_TESTS = \
test/parser/test-grub2-noeol \
test/parser/test-grub2-menuentry-formats \
test/parser/test-grub2-if-formats \
+ test/parser/test-grub2-default-id \
+ test/parser/test-grub2-default-id-space \
test/parser/test-grub2-default-index \
test/parser/test-grub2-default-multiword \
test/parser/test-grub2-implicit-default-unset \
OpenPOWER on IntegriCloud