Blame SOURCES/net-snmp-5.6-test-debug.patch

8a419f
Don't check tests which depend on DNS - it's disabled in Koji
8a419f
8a419f
diff -up net-snmp-5.7.2/testing/fulltests/default/T070com2sec_simple.debug net-snmp-5.7.2/testing/fulltests/default/T070com2sec_simple
8a419f
--- net-snmp-5.7.2/testing/fulltests/default/T070com2sec_simple.debug	2012-10-10 00:28:58.000000000 +0200
8a419f
+++ net-snmp-5.7.2/testing/fulltests/default/T070com2sec_simple	2012-10-18 10:16:39.276416510 +0200
8a419f
@@ -134,6 +134,10 @@ SAVECHECKAGENT '<"c406a", 255.255.255.25
8a419f
 SAVECHECKAGENT 'line 30: Error:' # msg from h_strerror so it varies
8a419f
 SAVECHECKAGENT 'line 31: Error:' # msg from h_strerror so it varies
8a419f
 
8a419f
+FINISHED
8a419f
+
8a419f
+# don't test the later, it depends on DNS, which is not available in Koji
8a419f
+
8a419f
 CHECKAGENT '<"c408a"'
8a419f
 if [ "$snmp_last_test_result" -eq 0 ] ; then
8a419f
   CHECKAGENT 'line 32: Error:'
8a419f
diff -up net-snmp-5.7.2/testing/fulltests/default/T071com2sec6_simple.debug net-snmp-5.7.2/testing/fulltests/default/T071com2sec6_simple
8a419f
--- net-snmp-5.7.2/testing/fulltests/default/T071com2sec6_simple.debug	2012-10-10 00:28:58.000000000 +0200
8a419f
+++ net-snmp-5.7.2/testing/fulltests/default/T071com2sec6_simple	2012-10-18 10:16:39.276416510 +0200
8a419f
@@ -132,6 +132,9 @@ SAVECHECKAGENT '<"c606a", ffff:ffff:ffff
8a419f
 SAVECHECKAGENT 'line 27: Error:'
8a419f
 SAVECHECKAGENT 'line 28: Error:'
8a419f
 
8a419f
+FINISHED
8a419f
+
8a419f
+# don't test the later, it depends on DNS, which is not available in Koji
8a419f
 # 608
8a419f
 CHECKAGENT '<"c608a"'
8a419f
 if [ "$snmp_last_test_result" -eq 0 ] ; then