From cde9f792fe298faa0a9160fd71f24dd77b17bdfb Mon Sep 17 00:00:00 2001 From: yang1946 Date: Mon, 18 Dec 2023 11:03:55 +0800 Subject: [PATCH] =?UTF-8?q?fixed=20597d5c9=20from=20https://gitee.com/hehe?= =?UTF-8?q?he-li/security=5Fcode=5Fsignature/pulls/63=20=E4=BB=A3=E7=A0=81?= =?UTF-8?q?=E7=AD=BE=E5=90=8Dtdd=E5=A4=B1=E8=B4=A5=E7=94=A8=E4=BE=8B?= =?UTF-8?q?=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