Index: src/platform/update_engine/filesystem_iterator_unittest.cc |
diff --git a/src/platform/update_engine/filesystem_iterator_unittest.cc b/src/platform/update_engine/filesystem_iterator_unittest.cc |
index 82b8d3f4fe4b561bad8f663772d4aab624cda01b..da14b87426af9a8387f6d6856c048aa1ad5c379f 100644 |
--- a/src/platform/update_engine/filesystem_iterator_unittest.cc |
+++ b/src/platform/update_engine/filesystem_iterator_unittest.cc |
@@ -57,8 +57,8 @@ TEST_F(FilesystemIteratorTest, RunAsRootSuccessTest) { |
expected_paths_vector.end()); |
VerifyAllPaths(kMountPath, expected_paths); |
- EXPECT_EQ(0, System(string("umount ") + kMountPath + "/some_dir/mnt")); |
- EXPECT_EQ(0, System(string("umount ") + kMountPath)); |
+ EXPECT_EQ(0, System(string("umount -d ") + kMountPath + "/some_dir/mnt")); |
+ EXPECT_EQ(0, System(string("umount -d ") + kMountPath)); |
EXPECT_EQ(0, System(string("rm -f ") + first_image + " " + sub_image)); |
} |