guix/tests
Ludovic Courtès 487cbb0164
profiles: Raise an error for unmatched patterns.
Previously, "guix package -r something-not-installed" would silently
complete.  Now an error is raised.

* guix/profiles.scm (&unmatched-pattern-error): New condition type.
(manifest-matching-entries): Rewrite to raise an error when one of
PATTERNS is not matched.
* guix/ui.scm (call-with-error-handling): Handle 'unmatched-pattern-error?'.
* tests/guix-package.sh: Add test.
* tests/profiles.scm ("manifest-matching-entries"): Don't try to remove
unmatched pattern.
("manifest-matching-entries, no match"): New test.
("manifest-transaction-effects"): Remove 'remove' field.
2019-02-07 15:46:45 +01:00
..
base16.scm
base32.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
base64.scm
bournish.scm
build-utils.scm
builders.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cache.scm
challenge.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
channels.scm inferior: 'gexp->derivation-in-inferior' honors EXP's load path. 2019-01-20 17:57:14 +01:00
combinators.scm
containers.scm
cpan.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cpio.scm
cran.scm
crate.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
cve-sample.xml
cve.scm
debug-link.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
derivations.scm daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables. 2019-02-04 00:03:30 +01:00
discovery.scm
elpa.scm
file-systems.scm
gem.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
gexp.scm store: Rename '&nix-error' to '&store-error'. 2019-01-21 23:09:55 +01:00
glob.scm
gnu-maintenance.scm
grafts.scm grafts: Record metadata as derivation properties. 2018-11-28 10:39:58 +01:00
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh git: Nicely report '--with-commit' errors. 2018-11-30 17:03:04 +01:00
guix-build.sh daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables. 2019-02-04 00:03:30 +01:00
guix-daemon.sh daemon: Rename 'NIX_STATE_DIR' and 'NIX_DB_DIR' environment variables. 2019-02-04 00:03:30 +01:00
guix-describe.sh Add 'guix describe'. 2018-09-07 11:40:22 +02:00
guix-download.sh
guix-environment-container.sh
guix-environment.sh environment: Support package transformation options. 2018-12-17 23:33:42 +01:00
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-pack-localstatedir.sh pack: Add '--profile-name'. 2018-11-23 15:42:01 +01:00
guix-pack-relocatable.sh pack: Add test for '--relocatable'. 2018-11-06 23:21:24 +01:00
guix-pack.sh store-copy: Canonicalize the mtime and permissions of the store copy. 2018-11-06 23:21:24 +01:00
guix-package-net.sh guix package: '--upgrade' preserves package order. 2019-01-15 12:05:25 +01:00
guix-package.sh profiles: Raise an error for unmatched patterns. 2019-02-07 15:46:45 +01:00
guix-system.sh tests: Adjust for removal of 'device' field in <bootloader-configuration>. 2019-01-21 23:09:55 +01:00
hackage.scm
import-utils.scm
inferior.scm inferior: Add 'inferior-eval-with-store'. 2018-11-28 10:39:58 +01:00
lint.scm tests: More adjustments to python.scm split. 2019-01-20 11:49:10 +02:00
modules.scm
monads.scm
nar.scm serialization: 'restore-file' errors out upon non-convertible file names. 2019-01-18 17:51:34 +01:00
opam.scm import: opam: Fix conditions. 2019-02-05 22:33:06 +01:00
pack.scm store-copy: Canonicalize the mtime and permissions of the store copy. 2018-11-06 23:21:24 +01:00
packages.scm packages: Add 'package-closure'. 2019-01-25 14:06:37 +01:00
pki.scm Switch to Guile-Gcrypt. 2018-09-04 17:25:11 +02:00
print.scm
processes.scm Add 'guix processes'. 2018-10-29 00:13:38 +01:00
profiles.scm profiles: Raise an error for unmatched patterns. 2019-02-07 15:46:45 +01:00
publish.scm Remove most uses of the _IO*F constants. 2019-01-09 14:47:53 +01:00
pypi.scm gnu: Use pypi.org. 2018-10-18 23:46:33 -04:00
records.scm records: Detect duplicate field initializers. 2019-01-22 23:04:05 +01:00
scripts-build.scm
scripts.scm
search-paths.scm
services.scm tests: Remove duplicate field initializers. 2019-01-24 20:47:21 +01:00
sets.scm
signing-key.pub
signing-key.sec
size.scm tests: Add 'test-assertm' to (guix tests). 2018-11-12 23:37:13 +01:00
snix.scm
status.scm status: Keep track of the current build phase. 2019-02-05 12:03:25 +01:00
store-database.scm
store-deduplication.scm deduplication: Gracefully handle ENOSPC raised by 'link' calls. 2018-12-14 12:07:24 +01:00
store.scm daemon: Emit a 'build-succeeded' event in check mode. 2019-02-06 23:06:18 +01:00
substitute.scm substitute: Ignore irrelevant narinfo signatures. 2018-12-14 00:02:59 +01:00
syscalls.scm
system.scm
test.drv
texlive.scm
ui.scm
union.scm
upstream.scm upstream: Temporarily skip failing test. 2019-01-28 23:13:40 +01:00
utils.scm
uuid.scm
workers.scm
zlib.scm