Index: src/platform/update_engine/postinstall_runner_action_unittest.cc |
diff --git a/src/platform/update_engine/postinstall_runner_action_unittest.cc b/src/platform/update_engine/postinstall_runner_action_unittest.cc |
index 5bb515fd8a96139a7bde983be696c0a31fcf256f..7c1993e73bc4182b960a534dbf5c328f7d927b67 100644 |
--- a/src/platform/update_engine/postinstall_runner_action_unittest.cc |
+++ b/src/platform/update_engine/postinstall_runner_action_unittest.cc |
@@ -87,7 +87,7 @@ void PostinstallRunnerActionTest::DoTest(bool do_losetup, bool do_err_script) { |
ASSERT_TRUE(WriteFileString(mountpoint + "/postinst", script)); |
ASSERT_EQ(0, System(string("chmod a+x ") + mountpoint + "/postinst")); |
- ASSERT_EQ(0, System(string("umount ") + mountpoint)); |
+ ASSERT_EQ(0, System(string("umount -d ") + mountpoint)); |
ASSERT_EQ(0, System(string("rm -f ") + cwd + "/postinst_called")); |