summary refs log tree commit diff
path: root/pkgs/development/tools/buf/skip_test_requiring_dotgit.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/tools/buf/skip_test_requiring_dotgit.patch')
-rw-r--r--pkgs/development/tools/buf/skip_test_requiring_dotgit.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/pkgs/development/tools/buf/skip_test_requiring_dotgit.patch b/pkgs/development/tools/buf/skip_test_requiring_dotgit.patch
new file mode 100644
index 00000000000..c4a7803661a
--- /dev/null
+++ b/pkgs/development/tools/buf/skip_test_requiring_dotgit.patch
@@ -0,0 +1,14 @@
+diff --git a/internal/buf/cmd/buf/workspace_test.go b/internal/buf/cmd/buf/workspace_test.go
+index e051690..8887837 100644
+--- a/internal/buf/cmd/buf/workspace_test.go
++++ b/internal/buf/cmd/buf/workspace_test.go
+@@ -335,6 +335,9 @@ func TestWorkspaceNestedArchive(t *testing.T) {
+ }
+ 
+ func TestWorkspaceGit(t *testing.T) {
++	// Requires .git directory which we do not retain due to
++	// `leaveDotGit` non-determinism
++	t.Skip()
+ 	// Directory paths specified as a git reference within a workspace.
+ 	t.Parallel()
+ 	testRunStdout(