File: 0003-Skip-TestArchiveFormat-which-needs-git-command.patch

package info (click to toggle)
golang-github-vmware-govmomi 0.24.2-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 11,848 kB
  • sloc: sh: 2,285; lisp: 1,560; ruby: 948; xml: 139; makefile: 54
file content (20 lines) | stat: -rw-r--r-- 575 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
From: Shengjing Zhu <zhsj@debian.org>
Date: Sun, 24 Oct 2021 23:01:58 +0800
Subject: Skip TestArchiveFormat which needs git command

---
 toolbox/hgfs/archive_test.go | 1 +
 1 file changed, 1 insertion(+)

diff --git a/toolbox/hgfs/archive_test.go b/toolbox/hgfs/archive_test.go
index 7a5d058..95beb60 100644
--- a/toolbox/hgfs/archive_test.go
+++ b/toolbox/hgfs/archive_test.go
@@ -324,6 +324,7 @@ func cpTar(tr *tar.Reader, tw *tar.Writer) error {
 }
 
 func TestArchiveFormat(t *testing.T) {
+	t.Skip("git is not installed")
 	gzipTrailer = false
 
 	var buf bytes.Buffer