From ed5536ea8879fac08cfe277fe1b24d63b65a82a3 Mon Sep 17 00:00:00 2001 From: Niko1221 Date: Sat, 10 Oct 2026 13:35:47 +0200 Subject: [PATCH] file_expert_source_test: fix the cache-hint test string --- tests/core/file_expert_source_test.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/core/file_expert_source_test.cpp b/tests/core/file_expert_source_test.cpp index d333cbbb..d3b21369 100644 --- a/tests/core/file_expert_source_test.cpp +++ b/tests/core/file_expert_source_test.cpp @@ -394,9 +394,7 @@ void test_pin_pacing() { require(page_cache_hint(info).find("drop_caches") != std::string::npos && page_cache_hint(info).find("STRATA_DROP_CACHE_ON_EXIT") != std::string::npos && page_cache_hint(info).find("52.0 GiB") != std::string::npos, "the cache hint is incomplete"); - require(page_cache_hint("MemFree: 100 kB -Cached: 1000 kB -").empty(), "a small cache was reported"); + require(page_cache_hint("MemFree: 100 kB\nCached: 1000 kB\n").empty(), "a small cache was reported"); } void test_resident_memory_budget() {