file_expert_source_test: fix the cache-hint test string

This commit is contained in:
Niko1221 committed 2026-10-10 13:35:47 +02:00
1 parent 8c80a3ba12
commit ed5536ea88
1 file changed
+1 -3
+1 -3
View File
@@ -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() {