summaryrefslogtreecommitdiff
path: root/tests/spec/validator_spec.rb
AgeCommit message (Collapse)AuthorFilesLines
2023-12-11tests: Fix bootloader testA. Wilcox1-1/+1
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. Wilcox1-0/+18
* 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-10hscript: Allow multiple inheritanceA. Wilcox1-0/+29
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: Ensure Ruby is always in UTF-8 modeA. Wilcox1-0/+2
This ensures that tests pass even when run in other locales.
2020-10-15Add many more various test casesA. Wilcox1-0/+26
2020-08-22Improve test coverage of metadata keysA. Wilcox1-4/+41
2020-07-04hscipt: Implement parse and validation of 'pppoe' keyA. Wilcox1-2/+33
2020-06-23hscript: Implement runlevel support in svcenable keyA. Wilcox1-0/+6
2020-06-23Change Runner.Validate.hostname.Begin to allow numeric charactersA. Wilcox1-1/+2
2020-05-24hscript: Implement 'svcenable' key and testsA. Wilcox1-0/+18
2020-05-17tests: Add --version tests, fix required installfile testsA. Wilcox1-1/+5
2020-03-17hscript: Add new netconfigtype key and associated testsA. Wilcox1-0/+19
Not wired up to netaddress et al, but does parse properly.
2020-02-11Use Boost's program_options instead of vendoring clippCalvin Buckley1-2/+2
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.
2019-12-19hscript: Add 'arch' key implementation and related testsA. Wilcox1-0/+18
2019-11-06tests: Add more corner case testingA. Wilcox1-0/+15
2019-11-06tests: Add pkginstall duplicate package testsA. Wilcox1-0/+12
2019-11-06tests: Add usergroup group length testA. Wilcox1-0/+5
2019-11-06tests: Add more LVM behavioural testsA. Wilcox1-0/+29
2019-11-06tests: Add duplicate value tests for keymap, timezone, fsA. Wilcox1-0/+15
2019-11-06tests: Add more nameserver behavioural testsA. Wilcox1-0/+15
2019-11-04tests: More validity tests for keymap and languageA. Wilcox1-0/+10
2019-10-31hscript: Implement Encrypt, add testsA. Wilcox1-0/+24
2019-10-31hscript: Implement SigningKey, add testsA. Wilcox1-0/+19
2019-10-31hscript: Implement Nameserver, add testsA. Wilcox1-0/+18
2019-10-31hscript: Implement fs, add testsA. Wilcox1-0/+23
2019-10-31hscript: Implement stub Keymap key, add simple testA. Wilcox1-0/+8
2019-10-31hscript: Implement lvm_lv, add testsA. Wilcox1-0/+39
2019-10-29hscript: Implement lvm_vg, add testsA. Wilcox1-0/+28
2019-10-26hscript: Implement lvm_pv, add testsA. Wilcox1-0/+18
2019-10-25hscript: Implement Partition, add testsA. Wilcox1-0/+159
2019-10-24hscript: Fully implement Timezone, add testsA. Wilcox1-25/+53
2019-10-24hscript: Ensure netaddress iface name is < IFNAMSIZA. Wilcox1-0/+5
2019-10-21hscript: Implement DiskLabel, add testsA. Wilcox1-0/+48
2019-10-21hscript: Implement Language, add testsA. Wilcox1-0/+43
2019-10-20tests: Explicitly require spec_helper in specsA. Wilcox1-0/+2
2019-10-20Fix tests when install env code is disabledA. Wilcox1-0/+3
2019-10-19tests: Rework RSpec stuff entirelyA. Wilcox1-0/+739