| 1 |
From: Håvard F. Aasen <[email protected]> |
| 2 |
Date: Thu, 23 May 2024 09:15:06 +0200 |
| 3 |
Subject: Skip tests that require internet |
| 4 |
|
| 5 |
The method upstream uses to check for internet connection is flaky. |
| 6 |
Comment out tests that require the internet. |
| 7 |
|
| 8 |
Patch is not suitable for upstream. |
| 9 |
|
| 10 |
Forwarded: not-needed |
| 11 |
Bug-Debian: https://bugs.debian.org/1071641 |
| 12 |
--- |
| 13 |
tests/DS/test_ds_misc.sh | 4 ++-- |
| 14 |
tests/curl/CMakeLists.txt | 2 +- |
| 15 |
2 files changed, 3 insertions(+), 3 deletions(-) |
| 16 |
|
| 17 |
diff --git a/tests/DS/test_ds_misc.sh b/tests/DS/test_ds_misc.sh |
| 18 |
index ee1e098..4e92cd5 100755 |
| 19 |
--- a/tests/DS/test_ds_misc.sh |
| 20 |
+++ b/tests/DS/test_ds_misc.sh |
| 21 |
@@ -226,9 +226,9 @@ test_run "eval_cpe" test_eval_cpe eval_cpe/sds.xml |
| 22 |
|
| 23 |
test_run "test_eval_complex" test_eval_complex |
| 24 |
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 |
| 25 |
-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 |
| 26 |
+#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 |
| 27 |
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 |
| 28 |
-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 |
| 29 |
+#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 |
| 30 |
|
| 31 |
test_exit |
| 32 |
|
| 33 |
diff --git a/tests/curl/CMakeLists.txt b/tests/curl/CMakeLists.txt |
| 34 |
index 9c3d90d..f8fdb06 100644 |
| 35 |
--- a/tests/curl/CMakeLists.txt |
| 36 |
+++ b/tests/curl/CMakeLists.txt |
| 37 |
@@ -1 +1 @@ |
| 38 |
-add_oscap_test("test_curl_encoding.sh") |
| 39 |
+#add_oscap_test("test_curl_encoding.sh") |