1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-04-07 05:30:38 +02:00
Files
guix/tests
Ludovic Courtès 47960b5526 system: Improve 'read-boot-parameters' incompatibility diagnostic.
Previously, when reading an incompatible "parameters" file, 'guix
system' would print a warning and then crash with a wrong-type-arg
backtrace because code expects 'read-boot-parameters' to always return a
<boot-parameters> record.

* gnu/system.scm (read-boot-parameters): Upon incompatibility, raise an
error instead of returning #f.  Also raise a '&fix-hint' condition.
* tests/boot-parameters.scm ("read, construction, mandatory fields"):
Define 'test-read-boot-parameters' as a macro; expect
'formatted-message?' exceptions rather than #f returns.
2022-03-16 15:48:52 +01:00
..
2021-09-17 01:27:40 +02:00
2022-02-14 11:23:07 +01:00
2021-09-28 22:00:47 +02:00
2021-04-12 18:42:22 +02:00
2021-12-23 10:54:00 +01:00
2021-08-12 12:34:13 +02:00