diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2019-11-14 15:06:26 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2019-11-29 13:54:10 +0800 |
commit | 967cfa7e5c1bfb4d2cf78bb3de3dc6d36b78c440 (patch) | |
tree | 880bc62b0e2aeacb70105f923a19821fb1bd4291 /test/parser/Makefile.am | |
parent | 9711179694bb0e52c5951dc7222f1f79fcba814d (diff) | |
download | talos-petitboot-967cfa7e5c1bfb4d2cf78bb3de3dc6d36b78c440.tar.gz talos-petitboot-967cfa7e5c1bfb4d2cf78bb3de3dc6d36b78c440.zip |
discover/grub2: implement 'source' command
This change add support for the grub2 'source' command, executing a
referenced script in the current parse context.
We impose a limit of 10 (concurrent) source commands, to prevent
infinite recursion.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'test/parser/Makefile.am')
-rw-r--r-- | test/parser/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/parser/Makefile.am b/test/parser/Makefile.am index c8e059b..5f1a93b 100644 --- a/test/parser/Makefile.am +++ b/test/parser/Makefile.am @@ -46,6 +46,10 @@ parser_TESTS = \ test/parser/test-grub2-lexer-error \ test/parser/test-grub2-parser-error \ test/parser/test-grub2-test-file-ops \ + test/parser/test-grub2-source \ + test/parser/test-grub2-source-functions \ + test/parser/test-grub2-source-recursion \ + test/parser/test-grub2-source-recursion-infinite \ test/parser/test-grub2-single-yocto \ test/parser/test-grub2-blscfg-default-filename \ test/parser/test-grub2-blscfg-default-index \ |