diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-01-28 14:00:58 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-01-28 14:00:58 +0100 |
commit | 8fbf530260ec4b269e224de272727a3b4987296b (patch) | |
tree | a27cb17808e24974b5423bf0402bf01d22bbe286 /tests | |
parent | 30347040de9b1ffe9c8c9c26ebf0ed4254fb6fd6 (diff) | |
download | guix-8fbf530260ec4b269e224de272727a3b4987296b.tar.gz |
lint: Fix argument parsing when several packages are specified.
* guix/scripts/lint.scm (%options) <--checkers>: Remove 'arg-handler' parameter, and return a single value. (guix-lint)[parse-options]: Remove 'arg-handler' parameter from handlers. Remove second seed to 'args-fold*'. * tests/guix-lint.sh: Add test.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-lint.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/guix-lint.sh b/tests/guix-lint.sh index b48cd4e120..5015b5cfb5 100644 --- a/tests/guix-lint.sh +++ b/tests/guix-lint.sh @@ -73,3 +73,6 @@ then false; else true; fi if guix lint -c synopsis,invalid-checker dummy 2>&1 | \ grep -q 'invalid-checker: invalid checker' then true; else false; fi + +# Make sure specifying multiple packages works. +guix lint -c inputs-should-be-native dummy dummy-42 dummy |