diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-24 10:01:26 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2021-06-24 10:01:26 +0000 |
commit | 71a42f1171abebb4ec8024b9dc87b85d750fa77b (patch) | |
tree | 04e529f2ece58d2ac83802fd92e24cf2b76db2f1 /libnativebridge/tests/CodeCacheCreate_test.cpp | |
parent | 2b57316b43fc9c091906e552c6a66c6ab8ec0812 (diff) | |
parent | ecd3692e12e1202aadd4b42fb99e3da161b36e3b (diff) |
Snap for 7488450 from ecd3692e12e1202aadd4b42fb99e3da161b36e3b to s-keystone-qcom-release
Change-Id: Ia9d53e0f6557c16021000eaefb36b3c5812b63f7
Diffstat (limited to 'libnativebridge/tests/CodeCacheCreate_test.cpp')
-rw-r--r-- | libnativebridge/tests/CodeCacheCreate_test.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libnativebridge/tests/CodeCacheCreate_test.cpp b/libnativebridge/tests/CodeCacheCreate_test.cpp index 58270c43dd..1bd309c5c8 100644 --- a/libnativebridge/tests/CodeCacheCreate_test.cpp +++ b/libnativebridge/tests/CodeCacheCreate_test.cpp @@ -23,9 +23,10 @@ namespace android { // Tests that the bridge initialization creates the code_cache if it doesn't -// exists. +// exist. TEST_F(NativeBridgeTest, CodeCacheCreate) { - // Make sure that code_cache does not exists + // Make sure that code_cache does not exist + rmdir(kCodeCache); struct stat st; ASSERT_EQ(-1, stat(kCodeCache, &st)); ASSERT_EQ(ENOENT, errno); |