diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-03-04 12:22:54 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-03-04 15:22:58 +0100 |
commit | ba926e35341c355fbfaf51d074269982a1e1ad8d (patch) | |
tree | 7dbbd8db8a3fa171020ac6b40193bdd4867a1ef5 | |
parent | 3a0babacdcd1f6d3691c777b64d8fd3527eefb42 (diff) | |
download | patches-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?'.
-rw-r--r-- | gnu/tests/base.scm | 2 |
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 |