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