Subject: bug#32453: closed (Re: [bug#32453] [PATCH] gnu: restic: Set a variable to disable FUSE tests.)

From: [email-masked] (GNU bug Tracking System)
Date: Fri, 17 Aug 2018 08:36:02 +0000

Your bug report

#32453: [PATCH] gnu: restic: Set a variable to disable FUSE tests.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
32453: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=32453
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: [bug#32453] [PATCH] gnu: restic: Set a variable to disable FUSE tests.
From: Oleg Pykhalov <[email-masked]>
To: Danny Milosavljevic <[email-masked]>
Cc: [email-masked]
Date: Fri, 17 Aug 2018 11:35:29 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Danny Milosavljevic <[email-masked]> writes:

> LGTM!

Pushed as 773899112b39da062d7905a57681c4cd112d77fe

Thanks,
Oleg.

Subject: [PATCH] gnu: restic: Set a variable to disable FUSE tests.
From: Oleg Pykhalov <[email-masked]>
To: [email-masked]
Date: Thu, 16 Aug 2018 15:38:46 +0300
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello Guix,

Apologize for a broken Restic by upgrading to 0.9.2 in
64140c95c89764a9fdc6a32ebd8c9476eab1d3bb

I probably forgot about my GUIX_PACKAGE_PATH which includes Restic with
disabled tests.  Good news I've found an environment variable to handle
our FUSE test problem.  The patch is attached below.

From 302673432387702ddd58a0992640f55e9f49fdc8 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <[email-masked]>
Date: Thu, 16 Aug 2018 15:30:44 +0300
Subject: [PATCH] gnu: restic: Set a variable to disable FUSE tests.

* gnu/packages/backup.scm (restic): Set a variable to disable FUSE tests.
---
 gnu/packages/backup.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/backup.scm b/gnu/packages/backup.scm
index d95ed9a0a..eaffa4fdb 100644
--- a/gnu/packages/backup.scm
+++ b/gnu/packages/backup.scm
@@ -868,8 +868,8 @@ is like a time machine for your data. ")
              (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")
+               ;; Disable FUSE tests.
+               (setenv "RESTIC_TEST_FUSE" "0")
                (invoke "go" "run" "build.go" "--test"))))
 
          (replace 'install
-- 
2.18.0

Oleg.