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
|
From: HÃ¥vard F. Aasen <havard.f.aasen@pfft.no>
Date: Thu, 23 May 2024 09:15:06 +0200
Subject: Skip tests that require internet
The method upstream uses to check for internet connection is flaky.
Comment out tests that require the internet.
Patch is not suitable for upstream.
Forwarded: not-needed
Bug-Debian: https://bugs.debian.org/1071641
---
tests/DS/test_ds_misc.sh | 4 ++--
tests/curl/CMakeLists.txt | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/tests/DS/test_ds_misc.sh b/tests/DS/test_ds_misc.sh
index ee1e098..4e92cd5 100755
--- a/tests/DS/test_ds_misc.sh
+++ b/tests/DS/test_ds_misc.sh
@@ -226,9 +226,9 @@ test_run "eval_cpe" test_eval_cpe eval_cpe/sds.xml
test_run "test_eval_complex" test_eval_complex
test_run "test_ds_1_2_continue_without_remote_resources" test_ds_continue_without_remote_resources ds_continue_without_remote_resources/remote_content_1.2.ds.xml xccdf_com.example.www_profile_test_remote_res
-test_run "test_ds_1_2_error_remote_resources" test_ds_error_remote_resources ds_continue_without_remote_resources/remote_content_1.2.ds.xml xccdf_com.example.www_profile_test_remote_res
+#test_run "test_ds_1_2_error_remote_resources" test_ds_error_remote_resources ds_continue_without_remote_resources/remote_content_1.2.ds.xml xccdf_com.example.www_profile_test_remote_res
test_run "test_ds_1_3_continue_without_remote_resources" test_ds_continue_without_remote_resources ds_continue_without_remote_resources/remote_content_1.3.ds.xml xccdf_com.example.www_profile_test_remote_res
-test_run "test_ds_1_3_error_remote_resources" test_ds_error_remote_resources ds_continue_without_remote_resources/remote_content_1.3.ds.xml xccdf_com.example.www_profile_test_remote_res
+#test_run "test_ds_1_3_error_remote_resources" test_ds_error_remote_resources ds_continue_without_remote_resources/remote_content_1.3.ds.xml xccdf_com.example.www_profile_test_remote_res
test_exit
diff --git a/tests/curl/CMakeLists.txt b/tests/curl/CMakeLists.txt
index 9c3d90d..f8fdb06 100644
--- a/tests/curl/CMakeLists.txt
+++ b/tests/curl/CMakeLists.txt
@@ -1 +1 @@
-add_oscap_test("test_curl_encoding.sh")
+#add_oscap_test("test_curl_encoding.sh")
|