Index: src/platform/update_engine/test_utils.cc |
diff --git a/src/platform/update_engine/test_utils.cc b/src/platform/update_engine/test_utils.cc |
index 6c1e35bd98736c7580a2b355353625633f784477..1c2f8959a115745ec89097f2511094358e7fe84d 100644 |
--- a/src/platform/update_engine/test_utils.cc |
+++ b/src/platform/update_engine/test_utils.cc |
@@ -204,7 +204,7 @@ void CreateExtImageAtPath(const string& path, vector<string>* out_paths) { |
EXPECT_EQ(0, System(StringPrintf("ln -s /some/target %s/sym", kMountPath))); |
EXPECT_EQ(0, System(StringPrintf("ln %s/some_dir/test %s/testlink", |
kMountPath, kMountPath))); |
- EXPECT_EQ(0, System(StringPrintf("umount %s", kMountPath))); |
+ EXPECT_EQ(0, System(StringPrintf("umount -d %s", kMountPath))); |
if (out_paths) { |
out_paths->clear(); |