tailscale: build derpprobe (#364918)
[NixPkgs.git] / pkgs / tools / backup / restic / 0001-Skip-testing-restore-with-permission-failure.patch
blob10664b57254c8ca40efee19dbf93d184a8907168
1 From 72f7d8abee34107b815e49540f2fad7f1ab0b2cc Mon Sep 17 00:00:00 2001
2 From: Simon Bruder <simon@sbruder.de>
3 Date: Thu, 25 Feb 2021 09:20:51 +0100
4 Subject: [PATCH] Skip testing restore with permission failure
6 The test fails in sandboxed builds.
7 ---
8 cmd/restic/cmd_restore_integration_test.go | 1 +
9 1 file changed, 1 insertion(+)
11 diff --git a/cmd/restic/cmd_restore_integration_test.go b/cmd/restic/cmd_restore_integration_test.go
12 index 2c7cbe1fb..f25f13754 100644
13 --- a/cmd/restic/cmd_restore_integration_test.go
14 +++ b/cmd/restic/cmd_restore_integration_test.go
15 @@ -200,6 +200,7 @@ func TestRestoreLatest(t *testing.T) {
18 func TestRestoreWithPermissionFailure(t *testing.T) {
19 + t.Skip("Skipping testing restore with permission failure")
20 env, cleanup := withTestEnvironment(t)
21 defer cleanup()
23 --
24 2.41.0