|
|
962144 |
diff --git a/testing/fulltests/default/T070com2sec_simple b/testing/fulltests/default/T070com2sec_simple
|
|
|
962144 |
index 6c07f74..7df0b51 100644
|
|
|
962144 |
--- a/testing/fulltests/default/T070com2sec_simple
|
|
|
962144 |
+++ b/testing/fulltests/default/T070com2sec_simple
|
|
|
962144 |
@@ -134,34 +134,30 @@ SAVECHECKAGENT '<"c406a", 255.255.255.255/255.255.255.255> => "t406a"'
|
|
|
962144 |
SAVECHECKAGENT 'line 30: Error:' # msg from h_strerror so it varies
|
|
|
962144 |
SAVECHECKAGENT 'line 31: Error:' # msg from h_strerror so it varies
|
|
|
962144 |
|
|
|
962144 |
-if false; then
|
|
|
962144 |
- # The two tests below have been disabled because these rely on resolving a
|
|
|
962144 |
- # domain name into a local IP address. Such DNS replies are filtered out by
|
|
|
962144 |
- # many security devices because to avoid DNS rebinding attacks. See also
|
|
|
962144 |
- # https://en.wikipedia.org/wiki/DNS_rebinding.
|
|
|
962144 |
-
|
|
|
962144 |
- CHECKAGENT '<"c408a"'
|
|
|
962144 |
- if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
- CHECKAGENT 'line 32: Error:'
|
|
|
962144 |
- if [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
- return_value=1
|
|
|
962144 |
- FINISHED
|
|
|
962144 |
- fi
|
|
|
962144 |
- elif [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
+FINISHED
|
|
|
962144 |
+
|
|
|
962144 |
+# don't test the rest, it depends on DNS, which is not available in Koji
|
|
|
962144 |
+
|
|
|
962144 |
+CHECKAGENT '<"c408a"'
|
|
|
962144 |
+if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
+ CHECKAGENT 'line 32: Error:'
|
|
|
962144 |
+ if [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
return_value=1
|
|
|
962144 |
FINISHED
|
|
|
962144 |
fi
|
|
|
962144 |
+elif [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
+ return_value=1
|
|
|
962144 |
+ FINISHED
|
|
|
962144 |
+fi
|
|
|
962144 |
|
|
|
962144 |
- CHECKAGENT '<"c408b"'
|
|
|
962144 |
- if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
- CHECKAGENT 'line 33: Error:'
|
|
|
962144 |
- if [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
- return_value=1
|
|
|
962144 |
- fi
|
|
|
962144 |
- elif [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
+CHECKAGENT '<"c408b"'
|
|
|
962144 |
+if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
+ CHECKAGENT 'line 33: Error:'
|
|
|
962144 |
+ if [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
return_value=1
|
|
|
962144 |
fi
|
|
|
962144 |
-
|
|
|
962144 |
+elif [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
+ return_value=1
|
|
|
962144 |
fi
|
|
|
962144 |
|
|
|
962144 |
FINISHED
|
|
|
962144 |
diff --git a/testing/fulltests/default/T071com2sec6_simple b/testing/fulltests/default/T071com2sec6_simple
|
|
|
962144 |
index 76da70b..bc2d432 100644
|
|
|
962144 |
--- a/testing/fulltests/default/T071com2sec6_simple
|
|
|
962144 |
+++ b/testing/fulltests/default/T071com2sec6_simple
|
|
|
962144 |
@@ -132,30 +132,27 @@ SAVECHECKAGENT '<"c606a", ffff:ffff:ffff:ffff:ffff:ffff:ffff:ffff/ffff:ffff:ffff
|
|
|
962144 |
SAVECHECKAGENT 'line 27: Error:'
|
|
|
962144 |
SAVECHECKAGENT 'line 28: Error:'
|
|
|
962144 |
|
|
|
962144 |
-if false; then
|
|
|
962144 |
- # The two tests below have been disabled because these rely on resolving a
|
|
|
962144 |
- # domain name into a local IP address. Such DNS replies are filtered out by
|
|
|
962144 |
- # many security devices because to avoid DNS rebinding attacks. See also
|
|
|
962144 |
- # https://en.wikipedia.org/wiki/DNS_rebinding.
|
|
|
962144 |
-
|
|
|
962144 |
- # 608
|
|
|
962144 |
- CHECKAGENT '<"c608a"'
|
|
|
962144 |
- if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
- CHECKAGENT 'line 29: Error:'
|
|
|
962144 |
- errnum=`expr $errnum - 1`
|
|
|
962144 |
- if [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
- FINISHED
|
|
|
962144 |
- fi
|
|
|
962144 |
- elif [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
+FINISHED
|
|
|
962144 |
+
|
|
|
962144 |
+# don't test the rest, it depends on DNS, which is not available in Koji
|
|
|
962144 |
+
|
|
|
962144 |
+# 608
|
|
|
962144 |
+CHECKAGENT '<"c608a"'
|
|
|
962144 |
+if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
+ CHECKAGENT 'line 29: Error:'
|
|
|
962144 |
+ errnum=`expr $errnum - 1`
|
|
|
962144 |
+ if [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
FINISHED
|
|
|
962144 |
fi
|
|
|
962144 |
+elif [ "$snmp_last_test_result" -ne 1 ] ; then
|
|
|
962144 |
+ FINISHED
|
|
|
962144 |
+fi
|
|
|
962144 |
|
|
|
962144 |
- CHECKAGENTCOUNT atleastone '<"c608b"'
|
|
|
962144 |
- if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
- CHECKAGENT 'line 30: Error:'
|
|
|
962144 |
- if [ "$snmp_last_test_result" -eq 1 ] ; then
|
|
|
962144 |
- errnum=`expr $errnum - 1`
|
|
|
962144 |
- fi
|
|
|
962144 |
+CHECKAGENTCOUNT atleastone '<"c608b"'
|
|
|
962144 |
+if [ "$snmp_last_test_result" -eq 0 ] ; then
|
|
|
962144 |
+ CHECKAGENT 'line 30: Error:'
|
|
|
962144 |
+ if [ "$snmp_last_test_result" -eq 1 ] ; then
|
|
|
962144 |
+ errnum=`expr $errnum - 1`
|
|
|
962144 |
fi
|
|
|
962144 |
fi
|
|
|
962144 |
|