summaryrefslogtreecommitdiffstats
path: root/test/parser/data
Commit message (Collapse)AuthorAgeFilesLines
* test/parser: Add RHEL8 grub config testJeremy Kerr2019-11-291-0/+190
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* test/parser: Add test for recent RHCOS grub2 configJeremy Kerr2019-11-291-0/+194
| | | | | | | Add a test for a RHCOS grub2 boot config, using the ignition firstboot facility. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* discover: Reimplement native-parser as a Bison parserSamuel Mendoza-Jonas2018-11-161-0/+4
| | | | | | | | | | | | | | | | | | | Occasionally you look at some code and realise that a) this never gets built, and b) even if it did it would never compile. Today's example is native-parser.c which we must have just assumed worked for quite a while. The native parser has bitrotted entirely and needs to be brought up to date. While we're here, lets take the chance to implement a proper grammar for it. This helps us reason more effectively about the parser, lets us extend it easily in the future, and.. I wanted to write a Bison parser too. This implements most of the old functionality, but drops off some smaller details like settings icons which needs some separate attention to bring up to date. Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* syslinux: add syslinux parser supportBrett Grandbois2018-02-093-0/+31
| | | | | Signed-off-by: Brett Grandbois <brett.grandbois@opengear.com> Signed-off-by: Samuel Mendoza-Jonas <sam@mendozajonas.com>
* test/parser: Add Fedora 20 ppc64 parser testcaseJeremy Kerr2014-01-301-0/+34
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* test/parser: Add ubuntu grub testsGeoff Levand2013-05-171-0/+242
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* test/parser: Add yaboot test from a ppc64 RH8 machineJeremy Kerr2013-05-161-0/+10
| | | | Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* test/parser: Add f18 grub config testJeremy Kerr2013-05-161-0/+155
| | | | | | Add a real-world config file from a f18 ppc64 machine. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* test: Replace parser tests with empty frameworkJeremy Kerr2013-05-1622-597/+0
| | | | | | | | | | | | | | | | | This change is a major rework of the parser tests. Currently, the parser tests just run the parsers on each subdir of data/, but we don't actually check the results. Rather than just running parsers and expecting a certain fixed output, the new tests are arbitraty (short!) C programs. This allows us to set up the device configuration / discover context etc in whatever manner necessary, and check that the boot options that the parsers emit are correct. This change removes all of the old tests, and adds a new "null" test. Actual tests will be added in subsequent changes. Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
* Add grub.cfg from opensuse installGeoff Levand2012-03-261-0/+35
| | | | Signed-off-by: Geoff Levand <geoff@infradead.org>
* Add grub2 conf file parserGeoff Levand2012-03-181-0/+300
| | | | | | | | Add grub2 parser and sample config file. Reorder parser priorities: From (yaboot -> kboot) to (kboot -> grub2 -> yaboot). Signed-off-by: Geoff Levand <geoff@infradead.org>
* Parser test cleanupGeoff Levand2012-03-1820-0/+262
Major cleanup of parser tests. * Change test data directory layout to ease test automation. * Remove some unneeded files. * Re-write test wraper script, rename to run-parser-tests. * Rework for autotools. Signed-off-by: Geoff Levand <geoff@infradead.org>
OpenPOWER on IntegriCloud