nixpkgs/pkgs/tools/backup/restic/0001-Skip-testing-restore-with-permission-failure.patch

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
819 B
Diff
Raw Normal View History

From 72f7d8abee34107b815e49540f2fad7f1ab0b2cc Mon Sep 17 00:00:00 2001
2021-02-25 22:00:20 +00:00
From: Simon Bruder <simon@sbruder.de>
Date: Thu, 25 Feb 2021 09:20:51 +0100
Subject: [PATCH] Skip testing restore with permission failure
The test fails in sandboxed builds.
---
cmd/restic/cmd_restore_integration_test.go | 1 +
2021-02-25 22:00:20 +00:00
1 file changed, 1 insertion(+)
diff --git a/cmd/restic/cmd_restore_integration_test.go b/cmd/restic/cmd_restore_integration_test.go
index 2c7cbe1fb..f25f13754 100644
--- a/cmd/restic/cmd_restore_integration_test.go
+++ b/cmd/restic/cmd_restore_integration_test.go
@@ -200,6 +200,7 @@ func TestRestoreLatest(t *testing.T) {
2021-02-25 22:00:20 +00:00
}
func TestRestoreWithPermissionFailure(t *testing.T) {
+ t.Skip("Skipping testing restore with permission failure")
env, cleanup := withTestEnvironment(t)
defer cleanup()
--
2.41.0
2021-02-25 22:00:20 +00:00