diff --git a/toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js b/toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js index 0f1bbd083946..12f00d1bbb6b 100644 --- a/toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js +++ b/toolkit/mozapps/update/test/unit/test_0201_app_launch_apply_update.js @@ -559,15 +559,8 @@ function checkUpdateFinished() { do_check_false(log.exists()); updatesDir.append("0"); - if (IS_WIN) { - // On Windows, this log file is written to the AppData directory, and will - // therefore exist. - logTestInfo("testing " + updatesDir.path + " should exist"); - do_check_true(updatesDir.exists()); - } else { - logTestInfo("testing " + updatesDir.path + " shouldn't exist"); - do_check_false(updatesDir.exists()); - } + logTestInfo("testing " + updatesDir.path + " should exist"); + do_check_true(updatesDir.exists()); removeCallbackCopy(); } diff --git a/toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js b/toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js index c7862ffe9186..4ab6933dc150 100644 --- a/toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js +++ b/toolkit/mozapps/update/test/unit/test_0203_app_launch_apply_update.js @@ -584,15 +584,8 @@ function checkUpdateFinished() { do_check_false(log.exists()); updatesDir.append("0"); - if (IS_WIN) { - // On Windows, this log file is written to the AppData directory, and will - // therefore exist. - logTestInfo("testing " + updatesDir.path + " should exist"); - do_check_true(updatesDir.exists()); - } else { - logTestInfo("testing " + updatesDir.path + " shouldn't exist"); - do_check_false(updatesDir.exists()); - } + logTestInfo("testing " + updatesDir.path + " should exist"); + do_check_true(updatesDir.exists()); removeCallbackCopy(); } diff --git a/toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js b/toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js index df176e9a03c9..53f300cd9afb 100644 --- a/toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js +++ b/toolkit/mozapps/update/test_svc/unit/test_0201_app_launch_apply_update_svc.js @@ -536,15 +536,8 @@ function checkUpdateFinished() { do_check_false(log.exists()); updatesDir.append("0"); - if (IS_WIN) { - // On Windows, this log file is written to the AppData directory, and will - // therefore exist. - logTestInfo("testing " + updatesDir.path + " should exist"); - do_check_true(updatesDir.exists()); - } else { - logTestInfo("testing " + updatesDir.path + " shouldn't exist"); - do_check_false(updatesDir.exists()); - } + logTestInfo("testing " + updatesDir.path + " should exist"); + do_check_true(updatesDir.exists()); removeCallbackCopy(); } diff --git a/toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js b/toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js index c4547269ecbc..1a51beb8c01c 100644 --- a/toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js +++ b/toolkit/mozapps/update/test_svc/unit/test_0203_app_launch_apply_update_svc.js @@ -565,15 +565,8 @@ function checkUpdateFinished() { do_check_false(log.exists()); updatesDir.append("0"); - if (IS_WIN) { - // On Windows, this log file is written to the AppData directory, and will - // therefore exist. - logTestInfo("testing " + updatesDir.path + " should exist"); - do_check_true(updatesDir.exists()); - } else { - logTestInfo("testing " + updatesDir.path + " shouldn't exist"); - do_check_false(updatesDir.exists()); - } + logTestInfo("testing " + updatesDir.path + " should exist"); + do_check_true(updatesDir.exists()); removeCallbackCopy(); }