all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [bug#32453] [PATCH] gnu: restic: Set a variable to disable FUSE tests.
@ 2018-08-16 12:38 Oleg Pykhalov
  2018-08-16 19:02 ` Danny Milosavljevic
  0 siblings, 1 reply; 3+ messages in thread
From: Oleg Pykhalov @ 2018-08-16 12:38 UTC (permalink / raw)
  To: 32453


[-- Attachment #1.1: Type: text/plain, Size: 308 bytes --]

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.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1.2: [PATCH] gnu: restic: Set a variable to disable FUSE tests. --]
[-- Type: text/x-patch, Size: 1126 bytes --]

From 302673432387702ddd58a0992640f55e9f49fdc8 Mon Sep 17 00:00:00 2001
From: Oleg Pykhalov <go.wigust@gmail.com>
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


[-- Attachment #1.3: Type: text/plain, Size: 7 bytes --]


Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply related	[flat|nested] 3+ messages in thread

* [bug#32453] [PATCH] gnu: restic: Set a variable to disable FUSE tests.
  2018-08-16 12:38 [bug#32453] [PATCH] gnu: restic: Set a variable to disable FUSE tests Oleg Pykhalov
@ 2018-08-16 19:02 ` Danny Milosavljevic
  2018-08-17  8:35   ` bug#32453: " Oleg Pykhalov
  0 siblings, 1 reply; 3+ messages in thread
From: Danny Milosavljevic @ 2018-08-16 19:02 UTC (permalink / raw)
  To: Oleg Pykhalov; +Cc: 32453

[-- Attachment #1: Type: text/plain, Size: 7 bytes --]

LGTM!

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 488 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* bug#32453: [PATCH] gnu: restic: Set a variable to disable FUSE tests.
  2018-08-16 19:02 ` Danny Milosavljevic
@ 2018-08-17  8:35   ` Oleg Pykhalov
  0 siblings, 0 replies; 3+ messages in thread
From: Oleg Pykhalov @ 2018-08-17  8:35 UTC (permalink / raw)
  To: Danny Milosavljevic; +Cc: 32453-done

[-- Attachment #1: Type: text/plain, Size: 129 bytes --]

Danny Milosavljevic <dannym@scratchpost.org> writes:

> LGTM!

Pushed as 773899112b39da062d7905a57681c4cd112d77fe

Thanks,
Oleg.

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2018-08-17  8:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-16 12:38 [bug#32453] [PATCH] gnu: restic: Set a variable to disable FUSE tests Oleg Pykhalov
2018-08-16 19:02 ` Danny Milosavljevic
2018-08-17  8:35   ` bug#32453: " Oleg Pykhalov

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.