diff --git a/tests/probes/filehash/CMakeLists.txt b/tests/probes/filehash/CMakeLists.txt index 3bfdf8c284..391f2feba1 100644 --- a/tests/probes/filehash/CMakeLists.txt +++ b/tests/probes/filehash/CMakeLists.txt @@ -1,4 +1,5 @@ if(OPENSCAP_PROBE_INDEPENDENT_FILEHASH) add_oscap_test("test_probes_filehash.sh") add_oscap_test("test_probes_filehash_dos.sh") + set_tests_properties("probes/filehash/test_probes_filehash_dos.sh" PROPERTIES RESOURCE_LOCK oscap_test_dos_files) endif() diff --git a/tests/probes/filehash58/CMakeLists.txt b/tests/probes/filehash58/CMakeLists.txt index febed6127e..45550757b3 100644 --- a/tests/probes/filehash58/CMakeLists.txt +++ b/tests/probes/filehash58/CMakeLists.txt @@ -1,5 +1,6 @@ if(ENABLE_PROBES_INDEPENDENT) add_oscap_test("test_probes_filehash58.sh") add_oscap_test("test_probes_filehash58_dos.sh") + set_tests_properties("probes/filehash58/test_probes_filehash58_dos.sh" PROPERTIES RESOURCE_LOCK oscap_test_dos_files) add_oscap_test("rhbz1959570_segfault.sh") endif()