Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5867)

Unified Diff: chrome/test/mini_installer/config/config.config

Issue 2507293005: Force migrate all clients from multi-install back to single-install. (Closed)
Patch Set: gab comments Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/mini_installer/config/config.config
diff --git a/chrome/test/mini_installer/config/config.config b/chrome/test/mini_installer/config/config.config
index 9467fb2bc7c39e004eb9790c423ec5aa632f90de..686052685ff940781a58c99ade3b9dcd442f36cc 100644
--- a/chrome/test/mini_installer/config/config.config
+++ b/chrome/test/mini_installer/config/config.config
@@ -21,8 +21,8 @@
"chrome_user_not_inuse.prop",
"chrome_canary_not_inuse.prop",
"chrome_system_not_inuse.prop"]],
- ["chrome_single_user_installed_not_inuse",
- ["chrome_single_user_installed.prop",
+ ["chrome_multi_user_installed_not_inuse",
+ ["chrome_multi_user_installed.prop",
"chrome_canary_not_installed.prop",
"chrome_system_not_installed.prop",
"chrome_user_not_inuse.prop",
@@ -80,16 +80,14 @@
"chrome_system_not_inuse.prop"]]
],
"actions": [
- ["delete_user_chrome_lastrun",
- "reg.exe delete \"HKEY_CURRENT_USER\\$CHROME_CLIENT_STATE_KEY\" /v lastrun /f /reg:32"],
["install_chrome_canary",
"\"$MINI_INSTALLER\" --chrome-sxs --verbose-logging --do-not-launch-chrome"],
- ["install_chrome_single_user",
- "\"$MINI_INSTALLER\" --verbose-logging --do-not-launch-chrome"],
["install_chrome_system",
- "\"$MINI_INSTALLER\" --chrome --multi-install --verbose-logging --system-level --do-not-launch-chrome"],
+ "\"$MINI_INSTALLER\" --verbose-logging --system-level --do-not-launch-chrome"],
["install_chrome_user",
- "\"$MINI_INSTALLER\" --chrome --multi-install --verbose-logging --do-not-launch-chrome"],
+ "\"$MINI_INSTALLER\" --verbose-logging --do-not-launch-chrome"],
+ ["make_chrome_user_multi",
+ "python make_chrome_multi.py --chrome-long-name \"$CHROME_LONG_NAME\" --chrome-clients-key \"$CHROME_UPDATE_REGISTRY_SUBKEY\" --chrome-client-state-key \"$CHROME_CLIENT_STATE_KEY\" --binaries-clients-key \"$BINARIES_UPDATE_REGISTRY_SUBKEY\""],
["kill_user_binaries",
"reg.exe delete \"HKEY_CURRENT_USER\\$BINARIES_UPDATE_REGISTRY_SUBKEY\" /v pv /f /reg:32"],
["kill_user_chrome",
@@ -115,88 +113,14 @@
["update_chrome_canary",
"\"$NEXT_VERSION_MINI_INSTALLER\" --chrome-sxs --verbose-logging --do-not-launch-chrome"],
["update_chrome_system",
- "\"$NEXT_VERSION_MINI_INSTALLER\" --multi-install --verbose-logging --system-level --do-not-launch-chrome"],
+ "\"$NEXT_VERSION_MINI_INSTALLER\" --verbose-logging --system-level --do-not-launch-chrome"],
["update_chrome_user",
- "\"$NEXT_VERSION_MINI_INSTALLER\" --multi-install --verbose-logging --do-not-launch-chrome"],
- ["update_multi_chrome_user",
- "\"$MINI_INSTALLER\" --multi-install --verbose-logging --do-not-launch-chrome"],
- ["update_user_chrome_lastrun",
- "python update_lastrun.py \"$CHROME_CLIENT_STATE_KEY\""]
+ "\"$NEXT_VERSION_MINI_INSTALLER\" --verbose-logging --do-not-launch-chrome"]
],
"tests": [
{
- "name": "RepairChromeStrandedBinaries",
- "description": "Verifies that a multi-install update will repair Chrome if Chrome is missing from the Clients key yet appears to be actively used.",
- "traversal": [
- "no_pv",
- "install_chrome_user", "chrome_user_installed_not_inuse",
- "update_user_chrome_lastrun", "chrome_user_installed_not_inuse",
- "kill_user_chrome", "no_chrome_user",
- "update_multi_chrome_user", "chrome_user_installed_not_inuse",
- "uninstall_chrome_user", "clean"
- ]
- },
- {
- "name": "RemoveStrandedBinaries",
- "description": "Verifies that a multi-install update will uninstall Chrome and the binaries if Chrome is missing from the Clients key and does not appear to be actively used.",
- "traversal": [
- "no_pv",
- "install_chrome_user", "chrome_user_installed_not_inuse",
- "update_user_chrome_lastrun", "chrome_user_installed_not_inuse",
- "delete_user_chrome_lastrun", "chrome_user_installed_not_inuse",
- "kill_user_chrome", "no_chrome_user",
- "update_multi_chrome_user", "clean"
- ]
- },
- {
- "name": "MultiToSingle",
- "description": "Verifies that a single-install update on top of multi-install Chrome will migrate.",
- "traversal": [
- "no_pv",
- "install_chrome_user", "chrome_user_installed_not_inuse",
- "install_chrome_single_user", "chrome_single_user_installed_not_inuse",
- "uninstall_chrome_user", "clean"
- ]
- },
- {
- "name": "MultiToSingleNoBinaries",
- "description": "Verifies that a single-install update on top of multi-install Chrome will migrate when the binaries are missing from the Clients key.",
- "traversal": [
- "no_pv",
- "install_chrome_user", "chrome_user_installed_not_inuse",
- "kill_user_binaries", "no_chrome_user_binaries",
- "install_chrome_single_user", "chrome_single_user_installed_not_inuse",
- "uninstall_chrome_user", "clean"
- ]
- },
- {
- "name": "MultiToSingleNoChromeRepairActive",
- "description": "Verifies that a single-install update on top of multi-install Chrome will migrate when Chrome is missing from the Clients key yet appears to be actively used.",
- "traversal": [
- "no_pv",
- "install_chrome_user", "chrome_user_installed_not_inuse",
- "update_user_chrome_lastrun", "chrome_user_installed_not_inuse",
- "kill_user_chrome", "no_chrome_user",
- "install_chrome_single_user", "chrome_single_user_installed_not_inuse",
- "uninstall_chrome_user", "clean"
- ]
- },
- {
- "name": "MultiToSingleNoChromeRepairInactive",
- "description": "Verifies that a single-install update on top of multi-install Chrome will migrate if Chrome is missing from the Clients key and does not appear to be actively used.",
- "traversal": [
- "no_pv",
- "install_chrome_user", "chrome_user_installed_not_inuse",
- "update_user_chrome_lastrun", "chrome_user_installed_not_inuse",
- "delete_user_chrome_lastrun", "chrome_user_installed_not_inuse",
- "kill_user_chrome", "no_chrome_user",
- "install_chrome_single_user", "chrome_single_user_installed_not_inuse",
- "uninstall_chrome_user", "clean"
- ]
- },
- {
"name": "ChromeUserLevel",
- "description": "Verifies that multi-install user-level Chrome can be installed and uninstalled.",
+ "description": "Verifies that user-level Chrome can be installed and uninstalled.",
"traversal": [
"no_pv",
"install_chrome_user", "chrome_user_installed_not_inuse",
@@ -205,7 +129,7 @@
},
{
"name": "ChromeUserLevelUpdate",
- "description": "Verifies that multi-install user-level Chrome can be updated.",
+ "description": "Verifies that user-level Chrome can be updated.",
"traversal": [
"no_pv",
"install_chrome_user", "chrome_user_installed_not_inuse",
@@ -236,7 +160,7 @@
},
{
"name": "ChromeSystemLevel",
- "description": "Verifies that multi-install system-level Chrome can be installed and uninstalled.",
+ "description": "Verifies that system-level Chrome can be installed and uninstalled.",
"traversal": [
"no_pv",
"install_chrome_system", "chrome_system_installed_not_inuse",
@@ -245,7 +169,7 @@
},
{
"name": "ChromeSystemLevelUpdate",
- "description": "Verifies that multi-install system-level Chrome can be updated.",
+ "description": "Verifies that system-level Chrome can be updated.",
"traversal": [
"no_pv",
"install_chrome_system", "chrome_system_installed_not_inuse",
@@ -255,7 +179,7 @@
},
{
"name": "ChromeUserLevelWithCanary",
- "description": "Verifies that multi-install user-level Chrome and Chrome SxS can be installed simultaneously.",
+ "description": "Verifies that user-level Chrome and Chrome SxS can be installed simultaneously.",
"condition": "$SUPPORTS_SXS",
"traversal": [
"no_pv",
@@ -264,6 +188,53 @@
"uninstall_chrome_user", "chrome_canary_installed_not_inuse",
"uninstall_chrome_canary", "clean"
]
+ },
+ {
+ "name": "MigrateMultiSimple",
+ "description": "Verifies that an update on top of multi-install Chrome will migrate.",
+ "traversal": [
+ "no_pv",
+ "install_chrome_user", "chrome_user_installed_not_inuse",
+ "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse",
+ "update_chrome_user", "chrome_user_updated_not_inuse",
+ "uninstall_chrome_user", "clean"
+ ]
+ },
+ {
+ "name": "MigrateMultiStrandedBinariesOnUpdate",
+ "description": "Verifies that an update on top of multi-install Chrome where Chrome is missing from the Clients key will repair and migrate.",
+ "traversal": [
+ "no_pv",
+ "install_chrome_user", "chrome_user_installed_not_inuse",
+ "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse",
+ "kill_user_chrome", "no_chrome_user",
+ "update_chrome_user", "chrome_user_updated_not_inuse",
+ "uninstall_chrome_user", "clean"
+ ]
+ },
+ {
+ "name": "MigrateMultiStrandedBinariesOnInstall",
+ "description": "Verifies that a same-version install on top of multi-install Chrome where Chrome is missing from the Clients key will repair and migrate.",
+ "traversal": [
+ "no_pv",
+ "install_chrome_user", "chrome_user_installed_not_inuse",
+ "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse",
+ "kill_user_chrome", "no_chrome_user",
+ "install_chrome_user", "chrome_user_installed_not_inuse",
+ "uninstall_chrome_user", "clean"
+ ]
+ },
+ {
+ "name": "MigrateMultiNoBinaries",
+ "description": "Verifies that an update on top of multi-install Chrome where the binaries are missing from the Clients key will repair and migrate.",
+ "traversal": [
+ "no_pv",
+ "install_chrome_user", "chrome_user_installed_not_inuse",
+ "make_chrome_user_multi", "chrome_multi_user_installed_not_inuse",
+ "kill_user_binaries", "no_chrome_user_binaries",
+ "update_chrome_user", "chrome_user_updated_not_inuse",
+ "uninstall_chrome_user", "clean"
+ ]
}
]
}
« no previous file with comments | « chrome/test/mini_installer/config/chrome_user_updated.prop ('k') | chrome/test/mini_installer/make_chrome_multi.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698