File: 0001-disable-dhcp-test.patch

package info (click to toggle)
golang-github-containernetworking-plugins 0.9.1%2Bds1-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 1,512 kB
  • sloc: sh: 124; makefile: 18
file content (28 lines) | stat: -rw-r--r-- 744 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
From: Shengjing Zhu <zhsj@debian.org>
Date: Mon, 25 Jan 2021 00:47:12 +0800
Subject: disable dhcp test

It needs github.com/d2g/dhcp4server, which is not packaged.

Forwarded: not-needed
---
 plugins/ipam/dhcp/dhcp2_test.go | 2 ++
 plugins/ipam/dhcp/dhcp_test.go  | 2 ++
 2 files changed, 4 insertions(+)

--- a/plugins/ipam/dhcp/dhcp2_test.go
+++ b/plugins/ipam/dhcp/dhcp2_test.go
@@ -1,3 +1,5 @@
+// +build ignore
+
 // Copyright 2015-2018 CNI authors
 //
 // Licensed under the Apache License, Version 2.0 (the "License");
--- a/plugins/ipam/dhcp/dhcp_test.go
+++ b/plugins/ipam/dhcp/dhcp_test.go
@@ -1,3 +1,5 @@
+// +build ignore
+
 // Copyright 2015-2018 CNI authors
 //
 // Licensed under the Apache License, Version 2.0 (the "License");