diff options
author | Josh Gao <jmgao@google.com> | 2017-03-23 16:05:12 -0700 |
---|---|---|
committer | Josh Gao <jmgao@google.com> | 2017-03-23 16:19:55 -0700 |
commit | ff468dce4c32de86aacbca4afe50a18e4aba43ce (patch) | |
tree | 22fea0a09349e6dec21c1fa519dd4aebf95774c2 /adb/adb_utils_test.cpp | |
parent | c0ca39c41ae2255ba86517ebe11c72b1fc44700d (diff) |
adb: allow symlinks to directories in directory_exists.
Bug: http://b/36516955
Test: python test_device.py
Change-Id: Ie81e87aac3b157182bde0955bdba23d48bfea873
Diffstat (limited to 'adb/adb_utils_test.cpp')
-rw-r--r-- | adb/adb_utils_test.cpp | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/adb/adb_utils_test.cpp b/adb/adb_utils_test.cpp index a3bc445604..e1b6287072 100644 --- a/adb/adb_utils_test.cpp +++ b/adb/adb_utils_test.cpp @@ -55,7 +55,6 @@ TEST(adb_utils, directory_exists) { ASSERT_FALSE(directory_exists(subdir(profiles_dir, "does-not-exist"))); #else ASSERT_TRUE(directory_exists("/proc")); - ASSERT_FALSE(directory_exists("/proc/self")); // Symbolic link. ASSERT_FALSE(directory_exists("/proc/does-not-exist")); #endif } |