[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
05/10: lint: Update tests to (guix lint) migration.
From: |
guix-commits |
Subject: |
05/10: lint: Update tests to (guix lint) migration. |
Date: |
Fri, 19 Jul 2019 19:32:30 -0400 (EDT) |
civodul pushed a commit to branch master
in repository guix.
commit 571f6e7f4f75a01746a0880c99e0cc33fbafbe2a
Author: Ludovic Courtès <address@hidden>
Date: Sat Jul 20 01:04:49 2019 +0200
lint: Update tests to (guix lint) migration.
This is a followup to f363c836e0b4c416dae594af4257459da592b35c.
* tests/lint.scm ("cve")
("cve: one vulnerability")
("cve: one patched vulnerability")
("cve: known safe from vulnerability")
("cve: vulnerability fixed in replacement version")
("cve: patched vulnerability in replacement"): Refer to
'package-vulnerabilities' from (guix lint), not (guix scripts lint).
---
tests/lint.scm | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/tests/lint.scm b/tests/lint.scm
index 59be061..5127a84 100644
--- a/tests/lint.scm
+++ b/tests/lint.scm
@@ -1,7 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013 Cyril Roelandt <address@hidden>
;;; Copyright © 2014, 2015, 2016 Eric Bavier <address@hidden>
-;;; Copyright © 2014, 2015, 2016, 2017, 2018 Ludovic Courtès <address@hidden>
+;;; Copyright © 2014, 2015, 2016, 2017, 2018, 2019 Ludovic Courtès
<address@hidden>
;;; Copyright © 2015, 2016 Mathieu Lirzin <address@hidden>
;;; Copyright © 2016 Hartmut Goebel <address@hidden>
;;; Copyright © 2017 Alex Kost <address@hidden>
@@ -710,12 +710,12 @@
(test-equal "cve"
'()
- (mock ((guix scripts lint) package-vulnerabilities (const '()))
+ (mock ((guix lint) package-vulnerabilities (const '()))
(check-vulnerabilities (dummy-package "x"))))
(test-equal "cve: one vulnerability"
"probably vulnerable to CVE-2015-1234"
- (mock ((guix scripts lint) package-vulnerabilities
+ (mock ((guix lint) package-vulnerabilities
(lambda (package)
(list (make-struct (@@ (guix cve) <vulnerability>) 0
"CVE-2015-1234"
@@ -726,7 +726,7 @@
(test-equal "cve: one patched vulnerability"
'()
- (mock ((guix scripts lint) package-vulnerabilities
+ (mock ((guix lint) package-vulnerabilities
(lambda (package)
(list (make-struct (@@ (guix cve) <vulnerability>) 0
"CVE-2015-1234"
@@ -742,7 +742,7 @@
(test-equal "cve: known safe from vulnerability"
'()
- (mock ((guix scripts lint) package-vulnerabilities
+ (mock ((guix lint) package-vulnerabilities
(lambda (package)
(list (make-struct (@@ (guix cve) <vulnerability>) 0
"CVE-2015-1234"
@@ -755,7 +755,7 @@
(test-equal "cve: vulnerability fixed in replacement version"
'()
- (mock ((guix scripts lint) package-vulnerabilities
+ (mock ((guix lint) package-vulnerabilities
(lambda (package)
(match (package-version package)
("0"
@@ -772,7 +772,7 @@
(test-equal "cve: patched vulnerability in replacement"
'()
- (mock ((guix scripts lint) package-vulnerabilities
+ (mock ((guix lint) package-vulnerabilities
(lambda (package)
(list (make-struct (@@ (guix cve) <vulnerability>) 0
"CVE-2015-1234"
- branch master updated (dd9560a -> 3d33c93), guix-commits, 2019/07/19
- 01/10: gnu: python-jupyter-client: Patch file name of 'ip'., guix-commits, 2019/07/19
- 03/10: ui: 'warn-about-load-error' provides hints for unbound variables., guix-commits, 2019/07/19
- 02/10: ui: 'warn-about-load-error' warns about file/module name mismatches., guix-commits, 2019/07/19
- 04/10: gnu: Add emacs-zerodark-theme., guix-commits, 2019/07/19
- 05/10: lint: Update tests to (guix lint) migration.,
guix-commits <=
- 06/10: lint: 'source' check no longer complains about unavailable mirrors., guix-commits, 2019/07/19
- 08/10: lint: Remove unused imports., guix-commits, 2019/07/19
- 07/10: lint: Add test for 'source'., guix-commits, 2019/07/19
- 10/10: lint: Use the 'warning' procedure for messages., guix-commits, 2019/07/19
- 09/10: lint: source: Stop as soon as a valid URL is found., guix-commits, 2019/07/19