[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/18: tests: store-roots: Initial gc-roots should be empty.
From: |
guix-commits |
Subject: |
01/18: tests: store-roots: Initial gc-roots should be empty. |
Date: |
Fri, 21 Jul 2023 07:27:01 -0400 (EDT) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 9a8cef1d72d6c55ed2d43a7d925e1a5ca5243a34
Author: Josselin Poiret <dev@jpoiret.xyz>
AuthorDate: Fri Jul 21 12:14:58 2023 +0200
tests: store-roots: Initial gc-roots should be empty.
* tests/store-roots.scm ("gc-roots, initial"): Set expected result to empty.
Also do not error out if /profiles doesn't exist.
---
tests/store-roots.scm | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/tests/store-roots.scm b/tests/store-roots.scm
index 9877987a65..d82a29e313 100644
--- a/tests/store-roots.scm
+++ b/tests/store-roots.scm
@@ -31,10 +31,11 @@
(test-begin "store-roots")
(test-equal "gc-roots, initial"
- (list (string-append %state-directory "/profiles"))
+ '()
(begin
;; 'gc-roots' should gracefully handle lack of that directory.
- (delete-file-recursively (string-append %state-directory "/profiles"))
+ (false-if-exception
+ (delete-file-recursively (string-append %state-directory "/profiles")))
(gc-roots)))
;; The 'open-connection' call below gets guix-daemon to create
- branch hurd-team created (now 371f18bc1a), guix-commits, 2023/07/21
- 04/18: gnu: guix: Disable some test on 32bit., guix-commits, 2023/07/21
- 01/18: tests: store-roots: Initial gc-roots should be empty.,
guix-commits <=
- 03/18: tests: texlive: Remove texlive-texworks from propagated-inputs., guix-commits, 2023/07/21
- 02/18: tests: packages: Set system for expected result of package->bag., guix-commits, 2023/07/21
- 05/18: gnu: guix: Disable some tests on the Hurd., guix-commits, 2023/07/21
- 06/18: build: Build gnu/packages/*.go in five steps., guix-commits, 2023/07/21
- 07/18: self: Build gnu/packages/*.go in 26 steps on the Hurd., guix-commits, 2023/07/21
- 12/18: system: hurd: Add procps to %base-packages/hurd., guix-commits, 2023/07/21
- 10/18: hurd: Support system init in /libexec/runsystem., guix-commits, 2023/07/21
- 13/18: system: hurd: Add swap-services to hurd-default-essential-services., guix-commits, 2023/07/21
- 16/18: DRAFT system: examples: Add devel-hurd.tmpl., guix-commits, 2023/07/21
- 08/18: gnu: guix: Update to 1.4.0-8.cc46b5574c., guix-commits, 2023/07/21