aboutsummaryrefslogtreecommitdiff
path: root/gnu/tests/base.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-03-04 12:22:54 +0100
committerLudovic Courtès <ludo@gnu.org>2019-03-04 15:22:58 +0100
commitba926e35341c355fbfaf51d074269982a1e1ad8d (patch)
tree7dbbd8db8a3fa171020ac6b40193bdd4867a1ef5 /gnu/tests/base.scm
parent3a0babacdcd1f6d3691c777b64d8fd3527eefb42 (diff)
downloadpatches-ba926e35341c355fbfaf51d074269982a1e1ad8d.tar
patches-ba926e35341c355fbfaf51d074269982a1e1ad8d.tar.gz
tests: Use non-deprecated (guix store) API.
This is a followup to f9e8a12379c6fefc9e5c3c7fc3926599bbefc013. * gnu/tests/base.scm (run-basic-test)["/run/current-system is a GC root"]: Use 'store-protocol-error?' instead of 'nix-protocol-error?'.
Diffstat (limited to 'gnu/tests/base.scm')
-rw-r--r--gnu/tests/base.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/tests/base.scm b/gnu/tests/base.scm
index 0f8fb7f456..cc8b273c98 100644
--- a/gnu/tests/base.scm
+++ b/gnu/tests/base.scm
@@ -397,7 +397,7 @@ info --version")
(use-modules (srfi srfi-34) (guix store))
(let ((system (readlink "/run/current-system")))
- (guard (c ((nix-protocol-error? c)
+ (guard (c ((store-protocol-error? c)
(and (file-exists? system)
'success!)))
(with-store store