mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
guix gc: '--verify=foo' is reported as an error.
Fixes <https://bugs.gnu.org/29761>. Reported by Martin Castillo <castilma@uni-bremen.de>. * guix/scripts/gc.scm (argument->verify-options): New procedure. (%options) ["verify"]: Adjust to use it. * tests/guix-gc.sh: Add test.
This commit is contained in:
@@ -39,6 +39,9 @@ do
|
||||
if guix gc $option whatever; then false; else true; fi
|
||||
done
|
||||
|
||||
# This should fail.
|
||||
if guix gc --verify=foo; then false; else true; fi
|
||||
|
||||
# Check the references of a .drv.
|
||||
drv="`guix build guile-bootstrap -d`"
|
||||
out="`guix build guile-bootstrap`"
|
||||
|
||||
Reference in New Issue
Block a user