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
..
keys
services
accounts.scm
base16.scm
base32.scm
base64.scm
boot-parameters.scm system: Improve 'read-boot-parameters' incompatibility diagnostic. 2022-03-16 15:48:52 +01:00
bournish.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
channels.scm git-authenticate: Ensure the target is a descendant of the introductory commit. 2022-02-14 11:23:08 +01:00
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm
cve-sample.json
cve.scm
debug-link.scm
derivations.scm derivations: Coalesce inputs that have the same output path. 2022-03-07 22:49:27 +01:00
discovery.scm
egg.scm
elpa.scm
file-systems.scm
gem.scm
gexp.scm gexp: Correctly handle #$output in 'gexp->approximate-sexp'. 2022-03-13 23:20:07 +01:00
git-authenticate.scm git-authenticate: Ensure the target is a descendant of the introductory commit. 2022-02-14 11:23:08 +01:00
git.scm git: Add 'commit-descendant?'. 2022-02-14 11:23:07 +01:00
glob.scm
gnu-maintenance.scm
go.scm
grafts.scm
graph.scm tests: Assert that cyclic graphs can be produced. 2022-02-05 08:02:30 +01:00
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh
guix-build.sh guix build: Warn when attempting to build an unsupported package. 2022-02-18 14:14:38 +01:00
guix-daemon.sh
guix-describe.sh
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-git-authenticate.sh git-authenticate: Ensure the target is a descendant of the introductory commit. 2022-02-14 11:23:08 +01:00
guix-graph.sh
guix-hash.sh
guix-home.sh tests: Check 'guix home reconfigure' for a second generation. 2022-03-10 11:43:14 +01:00
guix-lint.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh
guix-pack.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
guix-package-aliases.sh
guix-package-net.sh
guix-package.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
guix-repl.sh
guix-shell.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
guix-system.sh profiles: 'profile-derivation' rejects unsupported packages. 2022-02-18 14:14:38 +01:00
hackage.scm
home-import.scm
http-client.scm tests: Add (guix http-client) tests. 2022-03-06 22:49:46 +01:00
import-git.scm
import-github.scm tests: Adjust to (guix import github) changes. 2022-03-07 22:49:27 +01:00
import-utils.scm
inferior.scm
ipfs.scm
lint.scm lint: check-tests-true: Allow #:tests? #t for some build systems. 2022-03-11 23:34:47 -05:00
minetest.scm
modules.scm
monads.scm
nar.scm
networking.scm
offload.scm
opam.scm
openpgp.scm
pack.scm
packages.scm packages: 'modify-inputs' preserves outputs in 'replace' clauses. 2022-03-16 15:48:51 +01:00
pki.scm
print.scm
processes.scm
profiles.scm tests: Pass #:guile to 'computed-file' & co. 2022-02-11 23:51:39 +01:00
publish.scm publish: Do not sign the URL/Compression/FileSize narinfo fields. 2022-02-14 11:23:56 +01:00
pypi.scm tests: Adjust pypi test to recent changes. 2022-02-11 23:51:39 +01:00
records.scm
scripts.scm
search-paths.scm
services.scm
sets.scm
size.scm
status.scm
store-database.scm
store-deduplication.scm
store-roots.scm
store.scm
style.scm
substitute.scm publish: Do not sign the URL/Compression/FileSize narinfo fields. 2022-02-14 11:23:56 +01:00
swh.scm
syscalls.scm
system.scm
test.drv
texlive.scm
transformations.scm
ui.scm
union.scm
upstream.scm
utils.scm
uuid.scm
workers.scm