From 597d5c9288a4d97af08af59c4a8ad5c7bcc0c500 Mon Sep 17 00:00:00 2001 From: yang1946 Date: Mon, 18 Dec 2023 11:03:55 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BB=A3=E7=A0=81=E7=AD=BE=E5=90=8Dtdd?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=94=A8=E4=BE=8B=E4=BF=AE=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: yang1946 --- test/unittest/enable_verity_test.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/test/unittest/enable_verity_test.cpp b/test/unittest/enable_verity_test.cpp index 09e3d92..c6c2d9b 100644 --- a/test/unittest/enable_verity_test.cpp +++ b/test/unittest/enable_verity_test.cpp @@ -330,6 +330,7 @@ static void EnableExpandedTamperFile(const std::string &filePath, // Enable successully but cannot read EXPECT_EQ(EnableVerityOnOneFile(expandFilePath, &arg), 0); + SaveStringToFile(DROP_CACHE_PROC_PATH, DROP_ALL_CACHE_LEVEL); ByteBuffer tmp; EXPECT_EQ(ReadDataFromFile(expandFilePath, tmp), false); -- Gitee