guix-kreyren/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
base64.scm
bournish.scm
build-utils.scm
builders.scm
cache.scm
challenge.scm
channels.scm
combinators.scm
containers.scm
cpan.scm
cpio.scm
cran.scm
crate.scm
cve-sample.xml
cve.scm
debug-link.scm
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
gexp.scm
glob.scm
gnu-maintenance.scm
grafts.scm
graph.scm
gremlin.scm
guix-archive.sh
guix-authenticate.sh
guix-build-branch.sh
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
guix-download.sh
guix-environment-container.sh
guix-environment.sh
guix-gc.sh
guix-graph.sh
guix-hash.sh
guix-lint.sh
guix-pack-localstatedir.sh
guix-pack-relocatable.sh
guix-pack.sh
guix-package-net.sh
guix-package.sh profiles: Raise an error for unmatched patterns. 2019-02-07 15:46:45 +01:00
guix-system.sh
hackage.scm
import-utils.scm
inferior.scm
lint.scm
modules.scm
monads.scm
nar.scm
opam.scm import: opam: Fix conditions. 2019-02-05 22:33:06 +01:00
pack.scm
packages.scm packages: Add 'package-closure'. 2019-01-25 14:06:37 +01:00
pki.scm
print.scm
processes.scm
profiles.scm profiles: Raise an error for unmatched patterns. 2019-02-07 15:46:45 +01:00
publish.scm
pypi.scm
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
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
store.scm daemon: Emit a 'build-succeeded' event in check mode. 2019-02-06 23:06:18 +01:00
substitute.scm
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