unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
blob c1869a9b15459f673f3dc664e1805be2bf445cda 3041 bytes (raw)
name: gnu/packages/patches/net-snmp-disable-network-tests.patch 	 # note: path name is non-authoritative(*)

 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
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
 
Drop tests that require network access.

--- a/testing/fulltests/default/T070com2sec_simple
+++ b/testing/fulltests/default/T070com2sec_simple
@@ -80,12 +80,6 @@
 # 407b Test maximally long host name/mask
 CONFIGAGENT 'com2sec t407b a23456789012345678901234567890123456789012345678901234567890123.a23456789012345678901234567890123456789012345678901234567890123.a23456789012345678901234567890123456789012345678901234567890123.a234567890123456789012345678901234567890123456789012345678901./255.255.255.255 c407b'
 
-# 408 Lookup tests, require network access
-# 408a Test lookup returning a single host
-CONFIGAGENT 'com2sec t408a onea.net-snmp.org c408a'
-# 408a Test lookup returning multiple hosts
-CONFIGAGENT 'com2sec t408b twoa.net-snmp.org c408b'
-
 # Default agent setup
 CONFIGAGENT "[snmp] persistentdir $SNMP_TMP_PERSISTENTDIR"
 # Dummy config to prevent the basic_setup warning
@@ -134,26 +128,4 @@
 SAVECHECKAGENT 'line 30: Error:' # msg from h_strerror so it varies
 SAVECHECKAGENT 'line 31: Error:' # msg from h_strerror so it varies
 
-CHECKAGENT '<"c408a"'
-if [ "$snmp_last_test_result" -eq 0 ] ; then
-  CHECKAGENT 'line 32: Error:'
-  if [ "$snmp_last_test_result" -ne 1 ] ; then
-    return_value=1
-    FINISHED
-  fi
-elif [ "$snmp_last_test_result" -ne 1 ] ; then
-  return_value=1
-  FINISHED
-fi
-
-CHECKAGENT '<"c408b"'
-if [ "$snmp_last_test_result" -eq 0 ] ; then
-  CHECKAGENT 'line 33: Error:'
-  if [ "$snmp_last_test_result" -ne 1 ] ; then
-    return_value=1
-  fi
-elif [ "$snmp_last_test_result" -ne 1 ] ; then
-  return_value=1
-fi
-
 FINISHED
--- a/testing/fulltests/default/T071com2sec6_simple
+++ b/testing/fulltests/default/T071com2sec6_simple
@@ -74,12 +74,6 @@
 # 607b Test maximally long host name/mask
 CONFIGAGENT 'com2sec6 t607b a23456789012345678901234567890123456789012345678901234567890123.a23456789012345678901234567890123456789012345678901234567890123.a23456789012345678901234567890123456789012345678901234567890123.a234567890123456789012345678901234567890123456789012345678901./ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff c607b'
 
-# 608 Lookup tests, require network access
-# 608a Test lookup returning a single host
-CONFIGAGENT 'com2sec6 t608a oneAAAA.net-snmp.org c608a'
-# 608b Test lookup returning multiple hosts
-CONFIGAGENT 'com2sec6 t608b twoAAAA.net-snmp.org c608b'
-
 # Default agent setup
 CONFIGAGENT "[snmp] persistentdir $SNMP_TMP_PERSISTENTDIR"
 # Dummy config to prevent the basic_setup warning
@@ -132,24 +126,4 @@
 SAVECHECKAGENT 'line 27: Error:'
 SAVECHECKAGENT 'line 28: Error:'
 
-# 608
-CHECKAGENT '<"c608a"'
-if [ "$snmp_last_test_result" -eq 0 ] ; then
-  CHECKAGENT 'line 29: Error:'
-  errnum=`expr $errnum - 1`
-  if [ "$snmp_last_test_result" -ne 1 ] ; then
-    FINISHED
-  fi
-elif [ "$snmp_last_test_result" -ne 1 ] ; then
-  FINISHED
-fi
-
-CHECKAGENTCOUNT atleastone '<"c608b"'
-if [ "$snmp_last_test_result" -eq 0 ] ; then
-  CHECKAGENT 'line 30: Error:'
-  if [ "$snmp_last_test_result" -eq 1 ] ; then
-    errnum=`expr $errnum - 1`
-  fi
-fi
-
 FINISHED

debug log:

solving c1869a9b1 ...
found c1869a9b1 in https://yhetil.org/guix-patches/871sbl4s3d.fsf@fastmail.com/

applying [1/1] https://yhetil.org/guix-patches/871sbl4s3d.fsf@fastmail.com/
diff --git a/gnu/packages/patches/net-snmp-disable-network-tests.patch b/gnu/packages/patches/net-snmp-disable-network-tests.patch
new file mode 100644
index 000000000..c1869a9b1

1:14: trailing whitespace.
 
1:27: trailing whitespace.
 
1:56: trailing whitespace.
 
1:69: trailing whitespace.
 
Checking patch gnu/packages/patches/net-snmp-disable-network-tests.patch...
Applied patch gnu/packages/patches/net-snmp-disable-network-tests.patch cleanly.
warning: 4 lines add whitespace errors.

index at:
100644 c1869a9b15459f673f3dc664e1805be2bf445cda	gnu/packages/patches/net-snmp-disable-network-tests.patch

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).