commit | 1a34944cde5c8241bb74cde992d09f9115d5b53a | [log] [tgz] |
---|---|---|
author | Josh Gao <jmgao@google.com> | Tue Feb 09 01:02:22 2016 +0000 |
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | Tue Feb 09 01:02:22 2016 +0000 |
tree | b2a96724f4b1555f8e1246646018fe1b954625c1 | |
parent | b958d223107799a8f4d0100a634704f54794d551 [diff] | |
parent | 1172b2ec71db29533231ddc4d979be98d7503f0b [diff] |
Merge "adb: fix mkdirs test."
diff --git a/adb/adb_utils_test.cpp b/adb/adb_utils_test.cpp index 794dce6..dfe6f20 100644 --- a/adb/adb_utils_test.cpp +++ b/adb/adb_utils_test.cpp
@@ -112,7 +112,7 @@ } 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/")); }