[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: restic: Fix tests.
From: |
Oleg Pykhalov |
Subject: |
01/01: gnu: restic: Fix tests. |
Date: |
Wed, 8 Aug 2018 13:57:49 -0400 (EDT) |
wigust pushed a commit to branch master
in repository guix.
commit 4976ebddf1a4735ee12808083876f573121993bf
Author: Oleg Pykhalov <address@hidden>
Date: Wed Aug 8 08:25:05 2018 +0300
gnu: restic: Fix tests.
* gnu/packages/backup.scm (restic)[arguments]: Replace 'check' phase.
---
gnu/packages/backup.scm | 9 +++++++++
1 file changed, 9 insertions(+)
diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index 0733d9c..251dadf 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -862,6 +862,15 @@ is like a time machine for your data. ")
,version)
(invoke "go" "run" "build.go"))))
+ (replace 'check
+ (lambda _
+ (with-directory-excursion (string-append
+ "src/github.com/restic/restic-"
+ ,version)
+ ;; unexpected error: fusermount: exit status 1
+ (delete-file "cmd/restic/integration_fuse_test.go")
+ (invoke "go" "run" "build.go" "--test"))))
+
(replace 'install
(lambda* (#:key outputs #:allow-other-keys)
(let ((out (assoc-ref outputs "out"))