diff options
author | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-15 01:01:54 +0000 |
---|---|---|
committer | android-build-team Robot <android-build-team-robot@google.com> | 2021-06-15 01:01:54 +0000 |
commit | 659f44d84f0f3dd2a66dd578158a3cef8e61cd09 (patch) | |
tree | 180624d7e1f2ed5214093e86641035a4bf81def2 /libnativebridge/tests/CodeCacheCreate_test.cpp | |
parent | 12c4ffa8637fb6e565261b5918aad0d2e17ccf95 (diff) | |
parent | 11dc832cf86bdfcfe3f0152ac5a8bd089d7f3cc0 (diff) |
Snap for 7456046 from 11dc832cf86bdfcfe3f0152ac5a8bd089d7f3cc0 to sc-release
Change-Id: I3a51ac8c114f1b710de3d6cd0a892b266c638c4d
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); |