summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)AuthorFilesLines
2023-12-11tests: Fix bootloader testA. Wilcox2-2/+2
Now that ARMv7 supports EFI, we need to use MIPS for the 'no default' case. Fixes: 39dd5776f7 ("hscript: bootloader: Support EFI boot on ARMv7")
2023-12-01Add 'rootshell' key to determine root's shellA. Wilcox4-0/+37
* Key added to code and documentation. * Tests added and pass locally on gwyn (ppc64) and fran (aarch64). * Qt UI automatically sets /bin/zsh as root's shell (ref: packages#206). * ISO image creator backend no longer has root shell hack.
2023-10-20tests: Update simulation spec for default keysA. Wilcox1-1/+1
We don't use the old style keys by default any more, so we need to update the test to ensure it doesn't fail. Fixes: 85ab4eb730 ("hscript: Use mirror keys by default")
2023-10-10hscript: Allow multiple inheritanceA. Wilcox7-5/+46
This allows a HorizonScript to inherit from multiple files. Files are parsed in a system-defined, unspecified order, but all scripts of a given depth are guaranteed to be parsed before the next depth.
2022-07-05tests: Fix, once and for allA. Wilcox1-1/+1
2022-07-05tests: Add an stdout check to the simulator checkA. Wilcox1-0/+1
There's a weird failure that is hard to debug, and this will help. Additionally, this shouldn't cause any issues on passing builds.
2022-07-05tests: Ensure Ruby is always in UTF-8 modeA. Wilcox3-0/+7
This ensures that tests pass even when run in other locales.
2020-10-15tests: Don't depend on any ordering of /e/c/netA. Wilcox1-8/+8
2020-10-15Add many more various test casesA. Wilcox14-14/+183
2020-09-20tests: Update Simulator spec for new mke2fs paramA. Wilcox1-3/+3
2020-08-30Rearchitect how 'bootloader' key worksA. Wilcox5-5/+5
2020-08-22Improve test coverage of metadata keysA. Wilcox9-4/+87
2020-08-21hscript: Parted uses 'mac' for APM labelsA. Wilcox1-1/+1
2020-07-04hscipt: Implement parse and validation of 'pppoe' keyA. Wilcox6-2/+63
2020-06-23hscript: Implement runlevel support in svcenable keyA. Wilcox4-1/+26
2020-06-23tests: Fix fixture for test 24A. Wilcox1-1/+1
2020-06-23Change Runner.Validate.hostname.Begin to allow numeric charactersA. Wilcox1-1/+2
2020-06-06tests: Update simulator spec for new keymap outputA. Wilcox1-1/+1
2020-05-26tests: Update for new keys-dir behaviourA. Wilcox1-3/+3
2020-05-26hscript: Implement (currently undocumented) 'inherit' key and testsA. Wilcox7-0/+20
2020-05-24Fix CI since printowner is no longer built for REA. Wilcox1-0/+1
2020-05-24hscript: Implement 'svcenable' key and testsA. Wilcox5-0/+44
2020-05-17tests: Add --version tests, fix required installfile testsA. Wilcox2-12/+20
2020-05-15hscript: Ensure user commands are correct in simulatorA. Wilcox1-11/+11
2020-05-15JSON: Handle user account creationA. Wilcox1-0/+18
2020-05-13tools: Add new hscript-fromjson toolA. Wilcox5-0/+85
2020-04-01Tests: Update APK tests for --keys-dirA. Wilcox1-3/+3
2020-03-24tests: Update Simulator test's parted MBR label type nameA. Wilcox1-1/+1
2020-03-18hscript: Support creation of /etc/network/interfacesA. Wilcox2-2/+12
2020-03-17hscript: Add new netconfigtype key and associated testsA. Wilcox4-0/+79
Not wired up to netaddress et al, but does parse properly.
2020-03-15tests: Remove undo file from extfs testingA. Wilcox1-3/+3
2020-03-11tests: Update simulator spec for proper language scriptA. Wilcox1-3/+3
2020-02-11Use Boost's program_options instead of vendoring clippCalvin Buckley2-4/+4
This changes how options are parsed a bit, but tests are happy and typical usage is unaffected; just the usage screen is different. This was intended for post-1.0, but turns out I decided to do it. Boost is already required for pre-C++11, so it doesn't seem like a big deal to use. If you don't build the tools, it won't be required.
2020-02-09tests: Add test for IPv4 subnet -> CIDR conversionA. Wilcox1-1/+7
2019-12-19hscript: Add 'arch' key implementation and related testsA. Wilcox5-0/+43
2019-11-08hscript: Implement UserIcon::execute, add testsA. Wilcox1-0/+17
2019-11-07owner: New utilityA. Wilcox1-0/+26
2019-11-07hscript: Implement Runner.Execute.UserAccounts, add testsA. Wilcox1-0/+36
2019-11-06tests: Ensure execution failure when validation failsA. Wilcox1-0/+5
2019-11-06tests: Write more network testsA. Wilcox4-11/+52
2019-11-06tests: Add more corner case testingA. Wilcox4-0/+59
2019-11-06tests: Add pkginstall duplicate package testsA. Wilcox3-0/+23
2019-11-06tests: Add usergroup group length testA. Wilcox2-0/+12
2019-11-06tests: Add more LVM behavioural testsA. Wilcox10-0/+131
2019-11-06tests: Add duplicate value tests for keymap, timezone, fsA. Wilcox4-0/+39
2019-11-06tests: Add more nameserver behavioural testsA. Wilcox5-0/+41
2019-11-06hscript: Implement Runner.Execute.netaddress.OpenRCA. Wilcox2-0/+16
2019-11-04tests: More validity tests for keymap and languageA. Wilcox3-0/+22
2019-11-04tests: Add tests for all supported FSesA. Wilcox6-0/+87
2019-11-04tests: Add even more simulator testsA. Wilcox1-0/+72