adb: fix mkdirs test.
The behavior of mkdirs was changed a while ago, without updating the
test.
Change-Id: I2aaa73818933b281e911c42a14e3c843d8bd972a
(cherry picked from commit 1172b2ec71)
This commit is contained in:
parent
aed972dead
commit
db262ffa62
1 changed files with 1 additions and 1 deletions
|
|
@ -112,7 +112,7 @@ TEST(adb_utils, adb_dirname) {
|
|||
}
|
||||
|
||||
void test_mkdirs(const std::string basepath) {
|
||||
EXPECT_TRUE(mkdirs(basepath));
|
||||
EXPECT_TRUE(mkdirs(adb_dirname(basepath)));
|
||||
EXPECT_NE(-1, adb_creat(basepath.c_str(), 0600));
|
||||
EXPECT_FALSE(mkdirs(basepath + "/subdir/"));
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue