Mac v2 signing - Bug 1058182 - Fix app update xpcshell tests due to the Mac v2 bundle structure. r=bbondy

This commit is contained in:
Robert Strong 2014-09-29 11:52:14 -07:00
Родитель 076224aff0
Коммит beff51a83a
96 изменённых файлов: 2861 добавлений и 1928 удалений

Просмотреть файл

@ -928,7 +928,13 @@ function resetFiles() {
// Not being able to remove the "updated" directory will not adversely affect
// subsequent tests so wrap it in a try block and don't test whether its
// removal was successful.
let updatedDir = getUpdatedDir();
#ifdef XP_MACOSX
let updatedDir = getUpdatesDir();
updatedDir.append(DIR_PATCH);
#else
let updatedDir = getAppBaseDir();
#endif
updatedDir.append(DIR_UPDATED);
if (updatedDir.exists()) {
try {
removeDirRecursive(updatedDir);

Двоичные данные
toolkit/mozapps/update/tests/data/complete.mar

Двоичный файл не отображается.

Просмотреть файл

@ -1,319 +1,314 @@
UPDATE TYPE complete
PREPARE REMOVEFILE a/b/searchplugins/searchpluginstext0
PREPARE REMOVEFILE a/b/searchplugins/searchpluginspng0.png
PREPARE REMOVEFILE a/b/removed-files
PREPARE REMOVEFILE a/b/exe0.exe
PREPARE REMOVEFILE a/b/2/20/20text0
PREPARE REMOVEFILE a/b/2/20/20png0.png
PREPARE REMOVEFILE a/b/0/0exe0.exe
PREPARE REMOVEFILE a/b/0/00/00text0
PREPARE REMOVEDIR a/b/searchplugins/
PREPARE REMOVEDIR a/b/defaults/pref/
PREPARE REMOVEDIR a/b/defaults/
PREPARE REMOVEDIR a/b/2/20/
PREPARE REMOVEDIR a/b/2/
PREPARE REMOVEDIR a/b/0/00/
PREPARE REMOVEDIR a/b/0/
PREPARE REMOVEDIR a/b/
PREPARE REMOVEDIR a/
PREPARE REMOVEFILE searchplugins/searchpluginstext0
PREPARE REMOVEFILE searchplugins/searchpluginspng0.png
PREPARE REMOVEFILE removed-files
PREPARE REMOVEFILE precomplete
PREPARE REMOVEFILE exe0.exe
PREPARE REMOVEFILE 2/20/20text0
PREPARE REMOVEFILE 2/20/20png0.png
PREPARE REMOVEFILE 0/0exe0.exe
PREPARE REMOVEFILE 0/00/00text0
PREPARE REMOVEDIR searchplugins/
PREPARE REMOVEDIR defaults/pref/
PREPARE REMOVEDIR defaults/
PREPARE REMOVEDIR 2/20/
PREPARE REMOVEDIR 2/
PREPARE REMOVEDIR 0/00/
PREPARE REMOVEDIR 0/
PREPARE ADD searchplugins/searchpluginstext0
PREPARE ADD searchplugins/searchpluginspng1.png
PREPARE ADD searchplugins/searchpluginspng0.png
PREPARE ADD removed-files
PREPARE ADD precomplete
PREPARE ADD a/b/searchplugins/searchpluginstext0
PREPARE ADD a/b/searchplugins/searchpluginspng1.png
PREPARE ADD a/b/searchplugins/searchpluginspng0.png
PREPARE ADD a/b/removed-files
PREPARE ADD a/b/exe0.exe
PREPARE ADD a/b/distribution/extensions/extensions1/extensions1text0
PREPARE ADD a/b/distribution/extensions/extensions1/extensions1png1.png
PREPARE ADD a/b/distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD a/b/distribution/extensions/extensions0/extensions0text0
PREPARE ADD a/b/distribution/extensions/extensions0/extensions0png1.png
PREPARE ADD a/b/distribution/extensions/extensions0/extensions0png0.png
PREPARE ADD a/b/1/10/10text0
PREPARE ADD a/b/0/0exe0.exe
PREPARE ADD a/b/0/00/00text1
PREPARE ADD a/b/0/00/00text0
PREPARE ADD a/b/0/00/00png0.png
PREPARE REMOVEDIR a/b/9/99/
PREPARE REMOVEDIR a/b/9/99/
PREPARE REMOVEDIR a/b/9/98/
PREPARE REMOVEFILE a/b/9/97/970/97xtext0
PREPARE REMOVEFILE a/b/9/97/970/97xtext1
PREPARE REMOVEDIR a/b/9/97/970/
PREPARE REMOVEFILE a/b/9/97/971/97xtext0
PREPARE REMOVEFILE a/b/9/97/971/97xtext1
PREPARE REMOVEDIR a/b/9/97/971/
PREPARE REMOVEDIR a/b/9/97/
PREPARE REMOVEFILE a/b/9/96/96text0
PREPARE REMOVEFILE a/b/9/96/96text1
PREPARE REMOVEDIR a/b/9/96/
PREPARE REMOVEDIR a/b/9/95/
PREPARE REMOVEDIR a/b/9/95/
PREPARE REMOVEDIR a/b/9/94/
PREPARE REMOVEDIR a/b/9/94/
PREPARE REMOVEDIR a/b/9/93/
PREPARE REMOVEDIR a/b/9/92/
PREPARE REMOVEDIR a/b/9/91/
PREPARE REMOVEDIR a/b/9/90/
PREPARE REMOVEDIR a/b/9/90/
PREPARE REMOVEDIR a/b/8/89/
PREPARE REMOVEDIR a/b/8/89/
PREPARE REMOVEDIR a/b/8/88/
PREPARE REMOVEFILE a/b/8/87/870/87xtext0
PREPARE REMOVEFILE a/b/8/87/870/87xtext1
PREPARE REMOVEDIR a/b/8/87/870/
PREPARE REMOVEFILE a/b/8/87/871/87xtext0
PREPARE REMOVEFILE a/b/8/87/871/87xtext1
PREPARE REMOVEDIR a/b/8/87/871/
PREPARE REMOVEDIR a/b/8/87/
PREPARE REMOVEFILE a/b/8/86/86text0
PREPARE REMOVEFILE a/b/8/86/86text1
PREPARE REMOVEDIR a/b/8/86/
PREPARE REMOVEDIR a/b/8/85/
PREPARE REMOVEDIR a/b/8/85/
PREPARE REMOVEDIR a/b/8/84/
PREPARE REMOVEDIR a/b/8/84/
PREPARE REMOVEDIR a/b/8/83/
PREPARE REMOVEDIR a/b/8/82/
PREPARE REMOVEDIR a/b/8/81/
PREPARE REMOVEDIR a/b/8/80/
PREPARE REMOVEDIR a/b/8/80/
PREPARE REMOVEFILE a/b/7/70/7xtest.exe
PREPARE REMOVEFILE a/b/7/70/7xtext0
PREPARE REMOVEFILE a/b/7/70/7xtext1
PREPARE REMOVEDIR a/b/7/70/
PREPARE REMOVEFILE a/b/7/71/7xtest.exe
PREPARE REMOVEFILE a/b/7/71/7xtext0
PREPARE REMOVEFILE a/b/7/71/7xtext1
PREPARE REMOVEDIR a/b/7/71/
PREPARE REMOVEDIR a/b/7/
PREPARE REMOVEDIR a/b/6/
PREPARE REMOVEFILE a/b/5/5text1
PREPARE REMOVEFILE a/b/5/5text0
PREPARE REMOVEFILE a/b/5/5test.exe
PREPARE REMOVEFILE a/b/5/5text0
PREPARE REMOVEFILE a/b/5/5text1
PREPARE REMOVEDIR a/b/5/
PREPARE REMOVEFILE a/b/4/4text1
PREPARE REMOVEFILE a/b/4/4text0
PREPARE REMOVEDIR a/b/4/
PREPARE REMOVEFILE a/b/3/3text1
PREPARE REMOVEFILE a/b/3/3text0
EXECUTE REMOVEFILE a/b/searchplugins/searchpluginstext0
EXECUTE REMOVEFILE a/b/searchplugins/searchpluginspng0.png
EXECUTE REMOVEFILE a/b/removed-files
EXECUTE REMOVEFILE a/b/exe0.exe
EXECUTE REMOVEFILE a/b/2/20/20text0
EXECUTE REMOVEFILE a/b/2/20/20png0.png
EXECUTE REMOVEFILE a/b/0/0exe0.exe
EXECUTE REMOVEFILE a/b/0/00/00text0
EXECUTE REMOVEDIR a/b/searchplugins/
EXECUTE REMOVEDIR a/b/defaults/pref/
EXECUTE REMOVEDIR a/b/defaults/
EXECUTE REMOVEDIR a/b/2/20/
EXECUTE REMOVEDIR a/b/2/
EXECUTE REMOVEDIR a/b/0/00/
EXECUTE REMOVEDIR a/b/0/
EXECUTE REMOVEDIR a/b/
EXECUTE REMOVEDIR a/
PREPARE ADD exe0.exe
PREPARE ADD distribution/extensions/extensions1/extensions1text0
PREPARE ADD distribution/extensions/extensions1/extensions1png1.png
PREPARE ADD distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD distribution/extensions/extensions0/extensions0text0
PREPARE ADD distribution/extensions/extensions0/extensions0png1.png
PREPARE ADD distribution/extensions/extensions0/extensions0png0.png
PREPARE ADD 1/10/10text0
PREPARE ADD 0/0exe0.exe
PREPARE ADD 0/00/00text1
PREPARE ADD 0/00/00text0
PREPARE ADD 0/00/00png0.png
PREPARE REMOVEDIR 9/99/
PREPARE REMOVEDIR 9/99/
PREPARE REMOVEDIR 9/98/
PREPARE REMOVEFILE 9/97/970/97xtext0
PREPARE REMOVEFILE 9/97/970/97xtext1
PREPARE REMOVEDIR 9/97/970/
PREPARE REMOVEFILE 9/97/971/97xtext0
PREPARE REMOVEFILE 9/97/971/97xtext1
PREPARE REMOVEDIR 9/97/971/
PREPARE REMOVEDIR 9/97/
PREPARE REMOVEFILE 9/96/96text0
PREPARE REMOVEFILE 9/96/96text1
PREPARE REMOVEDIR 9/96/
PREPARE REMOVEDIR 9/95/
PREPARE REMOVEDIR 9/95/
PREPARE REMOVEDIR 9/94/
PREPARE REMOVEDIR 9/94/
PREPARE REMOVEDIR 9/93/
PREPARE REMOVEDIR 9/92/
PREPARE REMOVEDIR 9/91/
PREPARE REMOVEDIR 9/90/
PREPARE REMOVEDIR 9/90/
PREPARE REMOVEDIR 8/89/
PREPARE REMOVEDIR 8/89/
PREPARE REMOVEDIR 8/88/
PREPARE REMOVEFILE 8/87/870/87xtext0
PREPARE REMOVEFILE 8/87/870/87xtext1
PREPARE REMOVEDIR 8/87/870/
PREPARE REMOVEFILE 8/87/871/87xtext0
PREPARE REMOVEFILE 8/87/871/87xtext1
PREPARE REMOVEDIR 8/87/871/
PREPARE REMOVEDIR 8/87/
PREPARE REMOVEFILE 8/86/86text0
PREPARE REMOVEFILE 8/86/86text1
PREPARE REMOVEDIR 8/86/
PREPARE REMOVEDIR 8/85/
PREPARE REMOVEDIR 8/85/
PREPARE REMOVEDIR 8/84/
PREPARE REMOVEDIR 8/84/
PREPARE REMOVEDIR 8/83/
PREPARE REMOVEDIR 8/82/
PREPARE REMOVEDIR 8/81/
PREPARE REMOVEDIR 8/80/
PREPARE REMOVEDIR 8/80/
PREPARE REMOVEFILE 7/70/7xtest.exe
PREPARE REMOVEFILE 7/70/7xtext0
PREPARE REMOVEFILE 7/70/7xtext1
PREPARE REMOVEDIR 7/70/
PREPARE REMOVEFILE 7/71/7xtest.exe
PREPARE REMOVEFILE 7/71/7xtext0
PREPARE REMOVEFILE 7/71/7xtext1
PREPARE REMOVEDIR 7/71/
PREPARE REMOVEDIR 7/
PREPARE REMOVEDIR 6/
PREPARE REMOVEFILE 5/5text1
PREPARE REMOVEFILE 5/5text0
PREPARE REMOVEFILE 5/5test.exe
PREPARE REMOVEFILE 5/5text0
PREPARE REMOVEFILE 5/5text1
PREPARE REMOVEDIR 5/
PREPARE REMOVEFILE 4/4text1
PREPARE REMOVEFILE 4/4text0
PREPARE REMOVEDIR 4/
PREPARE REMOVEFILE 3/3text1
PREPARE REMOVEFILE 3/3text0
EXECUTE REMOVEFILE searchplugins/searchpluginstext0
EXECUTE REMOVEFILE searchplugins/searchpluginspng0.png
EXECUTE REMOVEFILE removed-files
EXECUTE REMOVEFILE precomplete
EXECUTE REMOVEFILE exe0.exe
EXECUTE REMOVEFILE 2/20/20text0
EXECUTE REMOVEFILE 2/20/20png0.png
EXECUTE REMOVEFILE 0/0exe0.exe
EXECUTE REMOVEFILE 0/00/00text0
EXECUTE REMOVEDIR searchplugins/
EXECUTE REMOVEDIR defaults/pref/
EXECUTE REMOVEDIR defaults/
EXECUTE REMOVEDIR 2/20/
EXECUTE REMOVEDIR 2/
EXECUTE REMOVEDIR 0/00/
EXECUTE REMOVEDIR 0/
EXECUTE ADD searchplugins/searchpluginstext0
EXECUTE ADD searchplugins/searchpluginspng1.png
EXECUTE ADD searchplugins/searchpluginspng0.png
EXECUTE ADD removed-files
EXECUTE ADD precomplete
EXECUTE ADD a/b/searchplugins/searchpluginstext0
EXECUTE ADD a/b/searchplugins/searchpluginspng1.png
EXECUTE ADD a/b/searchplugins/searchpluginspng0.png
EXECUTE ADD a/b/removed-files
EXECUTE ADD a/b/exe0.exe
EXECUTE ADD a/b/distribution/extensions/extensions1/extensions1text0
EXECUTE ADD a/b/distribution/extensions/extensions1/extensions1png1.png
EXECUTE ADD a/b/distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD a/b/distribution/extensions/extensions0/extensions0text0
EXECUTE ADD a/b/distribution/extensions/extensions0/extensions0png1.png
EXECUTE ADD a/b/distribution/extensions/extensions0/extensions0png0.png
EXECUTE ADD a/b/1/10/10text0
EXECUTE ADD a/b/0/0exe0.exe
EXECUTE ADD a/b/0/00/00text1
EXECUTE ADD a/b/0/00/00text0
EXECUTE ADD a/b/0/00/00png0.png
EXECUTE REMOVEDIR a/b/9/99/
EXECUTE REMOVEDIR a/b/9/99/
EXECUTE REMOVEDIR a/b/9/98/
EXECUTE REMOVEFILE a/b/9/97/970/97xtext0
EXECUTE REMOVEFILE a/b/9/97/970/97xtext1
EXECUTE REMOVEDIR a/b/9/97/970/
EXECUTE REMOVEFILE a/b/9/97/971/97xtext0
EXECUTE REMOVEFILE a/b/9/97/971/97xtext1
EXECUTE REMOVEDIR a/b/9/97/971/
EXECUTE REMOVEDIR a/b/9/97/
EXECUTE REMOVEFILE a/b/9/96/96text0
EXECUTE REMOVEFILE a/b/9/96/96text1
EXECUTE REMOVEDIR a/b/9/96/
EXECUTE REMOVEDIR a/b/9/95/
EXECUTE REMOVEDIR a/b/9/95/
EXECUTE REMOVEDIR a/b/9/94/
EXECUTE REMOVEDIR a/b/9/94/
EXECUTE REMOVEDIR a/b/9/93/
EXECUTE REMOVEDIR a/b/9/92/
EXECUTE REMOVEDIR a/b/9/91/
EXECUTE REMOVEDIR a/b/9/90/
EXECUTE REMOVEDIR a/b/9/90/
EXECUTE REMOVEDIR a/b/8/89/
EXECUTE REMOVEDIR a/b/8/89/
EXECUTE REMOVEDIR a/b/8/88/
EXECUTE REMOVEFILE a/b/8/87/870/87xtext0
EXECUTE REMOVEFILE a/b/8/87/870/87xtext1
EXECUTE REMOVEDIR a/b/8/87/870/
EXECUTE REMOVEFILE a/b/8/87/871/87xtext0
EXECUTE REMOVEFILE a/b/8/87/871/87xtext1
EXECUTE REMOVEDIR a/b/8/87/871/
EXECUTE REMOVEDIR a/b/8/87/
EXECUTE REMOVEFILE a/b/8/86/86text0
EXECUTE REMOVEFILE a/b/8/86/86text1
EXECUTE REMOVEDIR a/b/8/86/
EXECUTE REMOVEDIR a/b/8/85/
EXECUTE REMOVEDIR a/b/8/85/
EXECUTE REMOVEDIR a/b/8/84/
EXECUTE REMOVEDIR a/b/8/84/
EXECUTE REMOVEDIR a/b/8/83/
EXECUTE REMOVEDIR a/b/8/82/
EXECUTE REMOVEDIR a/b/8/81/
EXECUTE REMOVEDIR a/b/8/80/
EXECUTE REMOVEDIR a/b/8/80/
EXECUTE REMOVEFILE a/b/7/70/7xtest.exe
EXECUTE REMOVEFILE a/b/7/70/7xtext0
EXECUTE REMOVEFILE a/b/7/70/7xtext1
EXECUTE REMOVEDIR a/b/7/70/
EXECUTE REMOVEFILE a/b/7/71/7xtest.exe
EXECUTE REMOVEFILE a/b/7/71/7xtext0
EXECUTE REMOVEFILE a/b/7/71/7xtext1
EXECUTE REMOVEDIR a/b/7/71/
EXECUTE REMOVEDIR a/b/7/
EXECUTE REMOVEDIR a/b/6/
EXECUTE REMOVEFILE a/b/5/5text1
EXECUTE REMOVEFILE a/b/5/5text0
EXECUTE REMOVEFILE a/b/5/5test.exe
EXECUTE REMOVEFILE a/b/5/5text0
EXECUTE ADD exe0.exe
EXECUTE ADD distribution/extensions/extensions1/extensions1text0
EXECUTE ADD distribution/extensions/extensions1/extensions1png1.png
EXECUTE ADD distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD distribution/extensions/extensions0/extensions0text0
EXECUTE ADD distribution/extensions/extensions0/extensions0png1.png
EXECUTE ADD distribution/extensions/extensions0/extensions0png0.png
EXECUTE ADD 1/10/10text0
EXECUTE ADD 0/0exe0.exe
EXECUTE ADD 0/00/00text1
EXECUTE ADD 0/00/00text0
EXECUTE ADD 0/00/00png0.png
EXECUTE REMOVEDIR 9/99/
EXECUTE REMOVEDIR 9/99/
EXECUTE REMOVEDIR 9/98/
EXECUTE REMOVEFILE 9/97/970/97xtext0
EXECUTE REMOVEFILE 9/97/970/97xtext1
EXECUTE REMOVEDIR 9/97/970/
EXECUTE REMOVEFILE 9/97/971/97xtext0
EXECUTE REMOVEFILE 9/97/971/97xtext1
EXECUTE REMOVEDIR 9/97/971/
EXECUTE REMOVEDIR 9/97/
EXECUTE REMOVEFILE 9/96/96text0
EXECUTE REMOVEFILE 9/96/96text1
EXECUTE REMOVEDIR 9/96/
EXECUTE REMOVEDIR 9/95/
EXECUTE REMOVEDIR 9/95/
EXECUTE REMOVEDIR 9/94/
EXECUTE REMOVEDIR 9/94/
EXECUTE REMOVEDIR 9/93/
EXECUTE REMOVEDIR 9/92/
EXECUTE REMOVEDIR 9/91/
EXECUTE REMOVEDIR 9/90/
EXECUTE REMOVEDIR 9/90/
EXECUTE REMOVEDIR 8/89/
EXECUTE REMOVEDIR 8/89/
EXECUTE REMOVEDIR 8/88/
EXECUTE REMOVEFILE 8/87/870/87xtext0
EXECUTE REMOVEFILE 8/87/870/87xtext1
EXECUTE REMOVEDIR 8/87/870/
EXECUTE REMOVEFILE 8/87/871/87xtext0
EXECUTE REMOVEFILE 8/87/871/87xtext1
EXECUTE REMOVEDIR 8/87/871/
EXECUTE REMOVEDIR 8/87/
EXECUTE REMOVEFILE 8/86/86text0
EXECUTE REMOVEFILE 8/86/86text1
EXECUTE REMOVEDIR 8/86/
EXECUTE REMOVEDIR 8/85/
EXECUTE REMOVEDIR 8/85/
EXECUTE REMOVEDIR 8/84/
EXECUTE REMOVEDIR 8/84/
EXECUTE REMOVEDIR 8/83/
EXECUTE REMOVEDIR 8/82/
EXECUTE REMOVEDIR 8/81/
EXECUTE REMOVEDIR 8/80/
EXECUTE REMOVEDIR 8/80/
EXECUTE REMOVEFILE 7/70/7xtest.exe
EXECUTE REMOVEFILE 7/70/7xtext0
EXECUTE REMOVEFILE 7/70/7xtext1
EXECUTE REMOVEDIR 7/70/
EXECUTE REMOVEFILE 7/71/7xtest.exe
EXECUTE REMOVEFILE 7/71/7xtext0
EXECUTE REMOVEFILE 7/71/7xtext1
EXECUTE REMOVEDIR 7/71/
EXECUTE REMOVEDIR 7/
EXECUTE REMOVEDIR 6/
EXECUTE REMOVEFILE 5/5text1
EXECUTE REMOVEFILE 5/5text0
EXECUTE REMOVEFILE 5/5test.exe
EXECUTE REMOVEFILE 5/5text0
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEFILE a/b/5/5text1
EXECUTE REMOVEFILE 5/5text1
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEDIR a/b/5/
EXECUTE REMOVEFILE a/b/4/4text1
EXECUTE REMOVEFILE a/b/4/4text0
EXECUTE REMOVEDIR a/b/4/
EXECUTE REMOVEFILE a/b/3/3text1
EXECUTE REMOVEFILE a/b/3/3text0
FINISH REMOVEFILE a/b/searchplugins/searchpluginstext0
FINISH REMOVEFILE a/b/searchplugins/searchpluginspng0.png
FINISH REMOVEFILE a/b/removed-files
FINISH REMOVEFILE a/b/exe0.exe
FINISH REMOVEFILE a/b/2/20/20text0
FINISH REMOVEFILE a/b/2/20/20png0.png
FINISH REMOVEFILE a/b/0/0exe0.exe
FINISH REMOVEFILE a/b/0/00/00text0
FINISH REMOVEDIR a/b/searchplugins/
removing directory: a/b/searchplugins/, rv: 0
FINISH REMOVEDIR a/b/defaults/pref/
removing directory: a/b/defaults/pref/, rv: 0
FINISH REMOVEDIR a/b/defaults/
removing directory: a/b/defaults/, rv: 0
FINISH REMOVEDIR a/b/2/20/
FINISH REMOVEDIR a/b/2/
FINISH REMOVEDIR a/b/0/00/
removing directory: a/b/0/00/, rv: 0
FINISH REMOVEDIR a/b/0/
removing directory: a/b/0/, rv: 0
FINISH REMOVEDIR a/b/
removing directory: a/b/, rv: 0
FINISH REMOVEDIR a/
removing directory: a/, rv: 0
EXECUTE REMOVEDIR 5/
EXECUTE REMOVEFILE 4/4text1
EXECUTE REMOVEFILE 4/4text0
EXECUTE REMOVEDIR 4/
EXECUTE REMOVEFILE 3/3text1
EXECUTE REMOVEFILE 3/3text0
FINISH REMOVEFILE searchplugins/searchpluginstext0
FINISH REMOVEFILE searchplugins/searchpluginspng0.png
FINISH REMOVEFILE removed-files
FINISH REMOVEFILE precomplete
FINISH REMOVEFILE exe0.exe
FINISH REMOVEFILE 2/20/20text0
FINISH REMOVEFILE 2/20/20png0.png
FINISH REMOVEFILE 0/0exe0.exe
FINISH REMOVEFILE 0/00/00text0
FINISH REMOVEDIR searchplugins/
removing directory: searchplugins/, rv: 0
FINISH REMOVEDIR defaults/pref/
removing directory: defaults/pref/, rv: 0
FINISH REMOVEDIR defaults/
removing directory: defaults/, rv: 0
FINISH REMOVEDIR 2/20/
FINISH REMOVEDIR 2/
FINISH REMOVEDIR 0/00/
removing directory: 0/00/, rv: 0
FINISH REMOVEDIR 0/
removing directory: 0/, rv: 0
FINISH ADD searchplugins/searchpluginstext0
FINISH ADD searchplugins/searchpluginspng1.png
FINISH ADD searchplugins/searchpluginspng0.png
FINISH ADD removed-files
FINISH ADD precomplete
FINISH ADD a/b/searchplugins/searchpluginstext0
FINISH ADD a/b/searchplugins/searchpluginspng1.png
FINISH ADD a/b/searchplugins/searchpluginspng0.png
FINISH ADD a/b/removed-files
FINISH ADD a/b/exe0.exe
FINISH ADD a/b/distribution/extensions/extensions1/extensions1text0
FINISH ADD a/b/distribution/extensions/extensions1/extensions1png1.png
FINISH ADD a/b/distribution/extensions/extensions1/extensions1png0.png
FINISH ADD a/b/distribution/extensions/extensions0/extensions0text0
FINISH ADD a/b/distribution/extensions/extensions0/extensions0png1.png
FINISH ADD a/b/distribution/extensions/extensions0/extensions0png0.png
FINISH ADD a/b/1/10/10text0
FINISH ADD a/b/0/0exe0.exe
FINISH ADD a/b/0/00/00text1
FINISH ADD a/b/0/00/00text0
FINISH ADD a/b/0/00/00png0.png
FINISH REMOVEDIR a/b/9/99/
FINISH REMOVEDIR a/b/9/99/
FINISH ADD exe0.exe
FINISH ADD distribution/extensions/extensions1/extensions1text0
FINISH ADD distribution/extensions/extensions1/extensions1png1.png
FINISH ADD distribution/extensions/extensions1/extensions1png0.png
FINISH ADD distribution/extensions/extensions0/extensions0text0
FINISH ADD distribution/extensions/extensions0/extensions0png1.png
FINISH ADD distribution/extensions/extensions0/extensions0png0.png
FINISH ADD 1/10/10text0
FINISH ADD 0/0exe0.exe
FINISH ADD 0/00/00text1
FINISH ADD 0/00/00text0
FINISH ADD 0/00/00png0.png
FINISH REMOVEDIR 9/99/
FINISH REMOVEDIR 9/99/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/9/98/
FINISH REMOVEFILE a/b/9/97/970/97xtext0
FINISH REMOVEFILE a/b/9/97/970/97xtext1
FINISH REMOVEDIR a/b/9/97/970/
FINISH REMOVEFILE a/b/9/97/971/97xtext0
FINISH REMOVEFILE a/b/9/97/971/97xtext1
FINISH REMOVEDIR a/b/9/97/971/
FINISH REMOVEDIR a/b/9/97/
FINISH REMOVEFILE a/b/9/96/96text0
FINISH REMOVEFILE a/b/9/96/96text1
FINISH REMOVEDIR a/b/9/96/
FINISH REMOVEDIR a/b/9/95/
FINISH REMOVEDIR a/b/9/95/
FINISH REMOVEDIR 9/98/
FINISH REMOVEFILE 9/97/970/97xtext0
FINISH REMOVEFILE 9/97/970/97xtext1
FINISH REMOVEDIR 9/97/970/
FINISH REMOVEFILE 9/97/971/97xtext0
FINISH REMOVEFILE 9/97/971/97xtext1
FINISH REMOVEDIR 9/97/971/
FINISH REMOVEDIR 9/97/
FINISH REMOVEFILE 9/96/96text0
FINISH REMOVEFILE 9/96/96text1
FINISH REMOVEDIR 9/96/
FINISH REMOVEDIR 9/95/
FINISH REMOVEDIR 9/95/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/9/94/
FINISH REMOVEDIR a/b/9/94/
FINISH REMOVEDIR 9/94/
FINISH REMOVEDIR 9/94/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/9/93/
FINISH REMOVEDIR a/b/9/92/
removing directory: a/b/9/92/, rv: 0
FINISH REMOVEDIR a/b/9/91/
removing directory: a/b/9/91/, rv: 0
FINISH REMOVEDIR a/b/9/90/
FINISH REMOVEDIR a/b/9/90/
FINISH REMOVEDIR 9/93/
FINISH REMOVEDIR 9/92/
removing directory: 9/92/, rv: 0
FINISH REMOVEDIR 9/91/
removing directory: 9/91/, rv: 0
FINISH REMOVEDIR 9/90/
FINISH REMOVEDIR 9/90/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/89/
FINISH REMOVEDIR a/b/8/89/
FINISH REMOVEDIR 8/89/
FINISH REMOVEDIR 8/89/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/88/
FINISH REMOVEFILE a/b/8/87/870/87xtext0
FINISH REMOVEFILE a/b/8/87/870/87xtext1
FINISH REMOVEDIR a/b/8/87/870/
FINISH REMOVEFILE a/b/8/87/871/87xtext0
FINISH REMOVEFILE a/b/8/87/871/87xtext1
FINISH REMOVEDIR a/b/8/87/871/
FINISH REMOVEDIR a/b/8/87/
FINISH REMOVEFILE a/b/8/86/86text0
FINISH REMOVEFILE a/b/8/86/86text1
FINISH REMOVEDIR a/b/8/86/
FINISH REMOVEDIR a/b/8/85/
FINISH REMOVEDIR a/b/8/85/
FINISH REMOVEDIR 8/88/
FINISH REMOVEFILE 8/87/870/87xtext0
FINISH REMOVEFILE 8/87/870/87xtext1
FINISH REMOVEDIR 8/87/870/
FINISH REMOVEFILE 8/87/871/87xtext0
FINISH REMOVEFILE 8/87/871/87xtext1
FINISH REMOVEDIR 8/87/871/
FINISH REMOVEDIR 8/87/
FINISH REMOVEFILE 8/86/86text0
FINISH REMOVEFILE 8/86/86text1
FINISH REMOVEDIR 8/86/
FINISH REMOVEDIR 8/85/
FINISH REMOVEDIR 8/85/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/84/
FINISH REMOVEDIR a/b/8/84/
FINISH REMOVEDIR 8/84/
FINISH REMOVEDIR 8/84/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/83/
FINISH REMOVEDIR a/b/8/82/
removing directory: a/b/8/82/, rv: 0
FINISH REMOVEDIR a/b/8/81/
removing directory: a/b/8/81/, rv: 0
FINISH REMOVEDIR a/b/8/80/
FINISH REMOVEDIR a/b/8/80/
FINISH REMOVEDIR 8/83/
FINISH REMOVEDIR 8/82/
removing directory: 8/82/, rv: 0
FINISH REMOVEDIR 8/81/
removing directory: 8/81/, rv: 0
FINISH REMOVEDIR 8/80/
FINISH REMOVEDIR 8/80/
directory no longer exists; skipping
FINISH REMOVEFILE a/b/7/70/7xtest.exe
FINISH REMOVEFILE a/b/7/70/7xtext0
FINISH REMOVEFILE a/b/7/70/7xtext1
FINISH REMOVEDIR a/b/7/70/
FINISH REMOVEFILE a/b/7/71/7xtest.exe
FINISH REMOVEFILE a/b/7/71/7xtext0
FINISH REMOVEFILE a/b/7/71/7xtext1
FINISH REMOVEDIR a/b/7/71/
FINISH REMOVEDIR a/b/7/
FINISH REMOVEDIR a/b/6/
FINISH REMOVEFILE a/b/5/5text1
FINISH REMOVEFILE a/b/5/5text0
FINISH REMOVEFILE a/b/5/5test.exe
FINISH REMOVEDIR a/b/5/
FINISH REMOVEFILE a/b/4/4text1
FINISH REMOVEFILE a/b/4/4text0
FINISH REMOVEDIR a/b/4/
FINISH REMOVEFILE a/b/3/3text1
FINISH REMOVEFILE a/b/3/3text0
FINISH REMOVEFILE 7/70/7xtest.exe
FINISH REMOVEFILE 7/70/7xtext0
FINISH REMOVEFILE 7/70/7xtext1
FINISH REMOVEDIR 7/70/
FINISH REMOVEFILE 7/71/7xtest.exe
FINISH REMOVEFILE 7/71/7xtext0
FINISH REMOVEFILE 7/71/7xtext1
FINISH REMOVEDIR 7/71/
FINISH REMOVEDIR 7/
FINISH REMOVEDIR 6/
FINISH REMOVEFILE 5/5text1
FINISH REMOVEFILE 5/5text0
FINISH REMOVEFILE 5/5test.exe
FINISH REMOVEDIR 5/
FINISH REMOVEFILE 4/4text1
FINISH REMOVEFILE 4/4text0
FINISH REMOVEDIR 4/
FINISH REMOVEFILE 3/3text1
FINISH REMOVEFILE 3/3text0
succeeded
calling QuitProgressUI

Просмотреть файл

@ -0,0 +1,326 @@
UPDATE TYPE complete
PREPARE REMOVEFILE Contents/Resources/searchplugins/searchpluginstext0
PREPARE REMOVEFILE Contents/Resources/searchplugins/searchpluginspng0.png
PREPARE REMOVEFILE Contents/Resources/removed-files
PREPARE REMOVEFILE Contents/Resources/precomplete
PREPARE REMOVEFILE Contents/Resources/2/20/20text0
PREPARE REMOVEFILE Contents/Resources/2/20/20png0.png
PREPARE REMOVEFILE Contents/Resources/0/0exe0.exe
PREPARE REMOVEFILE Contents/Resources/0/00/00text0
PREPARE REMOVEFILE Contents/MacOS/exe0.exe
PREPARE REMOVEDIR Contents/Resources/searchplugins/
PREPARE REMOVEDIR Contents/Resources/defaults/pref/
PREPARE REMOVEDIR Contents/Resources/defaults/
PREPARE REMOVEDIR Contents/Resources/2/20/
PREPARE REMOVEDIR Contents/Resources/2/
PREPARE REMOVEDIR Contents/Resources/0/00/
PREPARE REMOVEDIR Contents/Resources/0/
PREPARE REMOVEDIR Contents/Resources/
PREPARE REMOVEDIR Contents/MacOS/
PREPARE REMOVEDIR Contents/
PREPARE ADD Contents/Resources/searchplugins/searchpluginstext0
PREPARE ADD Contents/Resources/searchplugins/searchpluginspng1.png
PREPARE ADD Contents/Resources/searchplugins/searchpluginspng0.png
PREPARE ADD Contents/Resources/removed-files
PREPARE ADD Contents/Resources/precomplete
PREPARE ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
PREPARE ADD Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
PREPARE ADD Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
PREPARE ADD Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
PREPARE ADD Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
PREPARE ADD Contents/Resources/1/10/10text0
PREPARE ADD Contents/Resources/0/0exe0.exe
PREPARE ADD Contents/Resources/0/00/00text1
PREPARE ADD Contents/Resources/0/00/00text0
PREPARE ADD Contents/Resources/0/00/00png0.png
PREPARE ADD Contents/MacOS/exe0.exe
PREPARE REMOVEDIR Contents/Resources/9/99/
PREPARE REMOVEDIR Contents/Resources/9/99/
PREPARE REMOVEDIR Contents/Resources/9/98/
PREPARE REMOVEFILE Contents/Resources/9/97/970/97xtext0
PREPARE REMOVEFILE Contents/Resources/9/97/970/97xtext1
PREPARE REMOVEDIR Contents/Resources/9/97/970/
PREPARE REMOVEFILE Contents/Resources/9/97/971/97xtext0
PREPARE REMOVEFILE Contents/Resources/9/97/971/97xtext1
PREPARE REMOVEDIR Contents/Resources/9/97/971/
PREPARE REMOVEDIR Contents/Resources/9/97/
PREPARE REMOVEFILE Contents/Resources/9/96/96text0
PREPARE REMOVEFILE Contents/Resources/9/96/96text1
PREPARE REMOVEDIR Contents/Resources/9/96/
PREPARE REMOVEDIR Contents/Resources/9/95/
PREPARE REMOVEDIR Contents/Resources/9/95/
PREPARE REMOVEDIR Contents/Resources/9/94/
PREPARE REMOVEDIR Contents/Resources/9/94/
PREPARE REMOVEDIR Contents/Resources/9/93/
PREPARE REMOVEDIR Contents/Resources/9/92/
PREPARE REMOVEDIR Contents/Resources/9/91/
PREPARE REMOVEDIR Contents/Resources/9/90/
PREPARE REMOVEDIR Contents/Resources/9/90/
PREPARE REMOVEDIR Contents/Resources/8/89/
PREPARE REMOVEDIR Contents/Resources/8/89/
PREPARE REMOVEDIR Contents/Resources/8/88/
PREPARE REMOVEFILE Contents/Resources/8/87/870/87xtext0
PREPARE REMOVEFILE Contents/Resources/8/87/870/87xtext1
PREPARE REMOVEDIR Contents/Resources/8/87/870/
PREPARE REMOVEFILE Contents/Resources/8/87/871/87xtext0
PREPARE REMOVEFILE Contents/Resources/8/87/871/87xtext1
PREPARE REMOVEDIR Contents/Resources/8/87/871/
PREPARE REMOVEDIR Contents/Resources/8/87/
PREPARE REMOVEFILE Contents/Resources/8/86/86text0
PREPARE REMOVEFILE Contents/Resources/8/86/86text1
PREPARE REMOVEDIR Contents/Resources/8/86/
PREPARE REMOVEDIR Contents/Resources/8/85/
PREPARE REMOVEDIR Contents/Resources/8/85/
PREPARE REMOVEDIR Contents/Resources/8/84/
PREPARE REMOVEDIR Contents/Resources/8/84/
PREPARE REMOVEDIR Contents/Resources/8/83/
PREPARE REMOVEDIR Contents/Resources/8/82/
PREPARE REMOVEDIR Contents/Resources/8/81/
PREPARE REMOVEDIR Contents/Resources/8/80/
PREPARE REMOVEDIR Contents/Resources/8/80/
PREPARE REMOVEFILE Contents/Resources/7/70/7xtest.exe
PREPARE REMOVEFILE Contents/Resources/7/70/7xtext0
PREPARE REMOVEFILE Contents/Resources/7/70/7xtext1
PREPARE REMOVEDIR Contents/Resources/7/70/
PREPARE REMOVEFILE Contents/Resources/7/71/7xtest.exe
PREPARE REMOVEFILE Contents/Resources/7/71/7xtext0
PREPARE REMOVEFILE Contents/Resources/7/71/7xtext1
PREPARE REMOVEDIR Contents/Resources/7/71/
PREPARE REMOVEDIR Contents/Resources/7/
PREPARE REMOVEDIR Contents/Resources/6/
PREPARE REMOVEFILE Contents/Resources/5/5text1
PREPARE REMOVEFILE Contents/Resources/5/5text0
PREPARE REMOVEFILE Contents/Resources/5/5test.exe
PREPARE REMOVEFILE Contents/Resources/5/5text0
PREPARE REMOVEFILE Contents/Resources/5/5text1
PREPARE REMOVEDIR Contents/Resources/5/
PREPARE REMOVEFILE Contents/Resources/4/4text1
PREPARE REMOVEFILE Contents/Resources/4/4text0
PREPARE REMOVEDIR Contents/Resources/4/
PREPARE REMOVEFILE Contents/Resources/3/3text1
PREPARE REMOVEFILE Contents/Resources/3/3text0
EXECUTE REMOVEFILE Contents/Resources/searchplugins/searchpluginstext0
EXECUTE REMOVEFILE Contents/Resources/searchplugins/searchpluginspng0.png
EXECUTE REMOVEFILE Contents/Resources/removed-files
EXECUTE REMOVEFILE Contents/Resources/precomplete
EXECUTE REMOVEFILE Contents/Resources/2/20/20text0
EXECUTE REMOVEFILE Contents/Resources/2/20/20png0.png
EXECUTE REMOVEFILE Contents/Resources/0/0exe0.exe
EXECUTE REMOVEFILE Contents/Resources/0/00/00text0
EXECUTE REMOVEFILE Contents/MacOS/exe0.exe
EXECUTE REMOVEDIR Contents/Resources/searchplugins/
EXECUTE REMOVEDIR Contents/Resources/defaults/pref/
EXECUTE REMOVEDIR Contents/Resources/defaults/
EXECUTE REMOVEDIR Contents/Resources/2/20/
EXECUTE REMOVEDIR Contents/Resources/2/
EXECUTE REMOVEDIR Contents/Resources/0/00/
EXECUTE REMOVEDIR Contents/Resources/0/
EXECUTE REMOVEDIR Contents/Resources/
EXECUTE REMOVEDIR Contents/MacOS/
EXECUTE REMOVEDIR Contents/
EXECUTE ADD Contents/Resources/searchplugins/searchpluginstext0
EXECUTE ADD Contents/Resources/searchplugins/searchpluginspng1.png
EXECUTE ADD Contents/Resources/searchplugins/searchpluginspng0.png
EXECUTE ADD Contents/Resources/removed-files
EXECUTE ADD Contents/Resources/precomplete
EXECUTE ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
EXECUTE ADD Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
EXECUTE ADD Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
EXECUTE ADD Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
EXECUTE ADD Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
EXECUTE ADD Contents/Resources/1/10/10text0
EXECUTE ADD Contents/Resources/0/0exe0.exe
EXECUTE ADD Contents/Resources/0/00/00text1
EXECUTE ADD Contents/Resources/0/00/00text0
EXECUTE ADD Contents/Resources/0/00/00png0.png
EXECUTE ADD Contents/MacOS/exe0.exe
EXECUTE REMOVEDIR Contents/Resources/9/99/
EXECUTE REMOVEDIR Contents/Resources/9/99/
EXECUTE REMOVEDIR Contents/Resources/9/98/
EXECUTE REMOVEFILE Contents/Resources/9/97/970/97xtext0
EXECUTE REMOVEFILE Contents/Resources/9/97/970/97xtext1
EXECUTE REMOVEDIR Contents/Resources/9/97/970/
EXECUTE REMOVEFILE Contents/Resources/9/97/971/97xtext0
EXECUTE REMOVEFILE Contents/Resources/9/97/971/97xtext1
EXECUTE REMOVEDIR Contents/Resources/9/97/971/
EXECUTE REMOVEDIR Contents/Resources/9/97/
EXECUTE REMOVEFILE Contents/Resources/9/96/96text0
EXECUTE REMOVEFILE Contents/Resources/9/96/96text1
EXECUTE REMOVEDIR Contents/Resources/9/96/
EXECUTE REMOVEDIR Contents/Resources/9/95/
EXECUTE REMOVEDIR Contents/Resources/9/95/
EXECUTE REMOVEDIR Contents/Resources/9/94/
EXECUTE REMOVEDIR Contents/Resources/9/94/
EXECUTE REMOVEDIR Contents/Resources/9/93/
EXECUTE REMOVEDIR Contents/Resources/9/92/
EXECUTE REMOVEDIR Contents/Resources/9/91/
EXECUTE REMOVEDIR Contents/Resources/9/90/
EXECUTE REMOVEDIR Contents/Resources/9/90/
EXECUTE REMOVEDIR Contents/Resources/8/89/
EXECUTE REMOVEDIR Contents/Resources/8/89/
EXECUTE REMOVEDIR Contents/Resources/8/88/
EXECUTE REMOVEFILE Contents/Resources/8/87/870/87xtext0
EXECUTE REMOVEFILE Contents/Resources/8/87/870/87xtext1
EXECUTE REMOVEDIR Contents/Resources/8/87/870/
EXECUTE REMOVEFILE Contents/Resources/8/87/871/87xtext0
EXECUTE REMOVEFILE Contents/Resources/8/87/871/87xtext1
EXECUTE REMOVEDIR Contents/Resources/8/87/871/
EXECUTE REMOVEDIR Contents/Resources/8/87/
EXECUTE REMOVEFILE Contents/Resources/8/86/86text0
EXECUTE REMOVEFILE Contents/Resources/8/86/86text1
EXECUTE REMOVEDIR Contents/Resources/8/86/
EXECUTE REMOVEDIR Contents/Resources/8/85/
EXECUTE REMOVEDIR Contents/Resources/8/85/
EXECUTE REMOVEDIR Contents/Resources/8/84/
EXECUTE REMOVEDIR Contents/Resources/8/84/
EXECUTE REMOVEDIR Contents/Resources/8/83/
EXECUTE REMOVEDIR Contents/Resources/8/82/
EXECUTE REMOVEDIR Contents/Resources/8/81/
EXECUTE REMOVEDIR Contents/Resources/8/80/
EXECUTE REMOVEDIR Contents/Resources/8/80/
EXECUTE REMOVEFILE Contents/Resources/7/70/7xtest.exe
EXECUTE REMOVEFILE Contents/Resources/7/70/7xtext0
EXECUTE REMOVEFILE Contents/Resources/7/70/7xtext1
EXECUTE REMOVEDIR Contents/Resources/7/70/
EXECUTE REMOVEFILE Contents/Resources/7/71/7xtest.exe
EXECUTE REMOVEFILE Contents/Resources/7/71/7xtext0
EXECUTE REMOVEFILE Contents/Resources/7/71/7xtext1
EXECUTE REMOVEDIR Contents/Resources/7/71/
EXECUTE REMOVEDIR Contents/Resources/7/
EXECUTE REMOVEDIR Contents/Resources/6/
EXECUTE REMOVEFILE Contents/Resources/5/5text1
EXECUTE REMOVEFILE Contents/Resources/5/5text0
EXECUTE REMOVEFILE Contents/Resources/5/5test.exe
EXECUTE REMOVEFILE Contents/Resources/5/5text0
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEFILE Contents/Resources/5/5text1
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEDIR Contents/Resources/5/
EXECUTE REMOVEFILE Contents/Resources/4/4text1
EXECUTE REMOVEFILE Contents/Resources/4/4text0
EXECUTE REMOVEDIR Contents/Resources/4/
EXECUTE REMOVEFILE Contents/Resources/3/3text1
EXECUTE REMOVEFILE Contents/Resources/3/3text0
FINISH REMOVEFILE Contents/Resources/searchplugins/searchpluginstext0
FINISH REMOVEFILE Contents/Resources/searchplugins/searchpluginspng0.png
FINISH REMOVEFILE Contents/Resources/removed-files
FINISH REMOVEFILE Contents/Resources/precomplete
FINISH REMOVEFILE Contents/Resources/2/20/20text0
FINISH REMOVEFILE Contents/Resources/2/20/20png0.png
FINISH REMOVEFILE Contents/Resources/0/0exe0.exe
FINISH REMOVEFILE Contents/Resources/0/00/00text0
FINISH REMOVEFILE Contents/MacOS/exe0.exe
FINISH REMOVEDIR Contents/Resources/searchplugins/
removing directory: Contents/Resources/searchplugins/, rv: 0
FINISH REMOVEDIR Contents/Resources/defaults/pref/
removing directory: Contents/Resources/defaults/pref/, rv: 0
FINISH REMOVEDIR Contents/Resources/defaults/
removing directory: Contents/Resources/defaults/, rv: 0
FINISH REMOVEDIR Contents/Resources/2/20/
FINISH REMOVEDIR Contents/Resources/2/
FINISH REMOVEDIR Contents/Resources/0/00/
removing directory: Contents/Resources/0/00/, rv: 0
FINISH REMOVEDIR Contents/Resources/0/
removing directory: Contents/Resources/0/, rv: 0
FINISH REMOVEDIR Contents/Resources/
removing directory: Contents/Resources/, rv: 0
FINISH REMOVEDIR Contents/MacOS/
removing directory: Contents/MacOS/, rv: 0
FINISH REMOVEDIR Contents/
removing directory: Contents/, rv: 0
FINISH ADD Contents/Resources/searchplugins/searchpluginstext0
FINISH ADD Contents/Resources/searchplugins/searchpluginspng1.png
FINISH ADD Contents/Resources/searchplugins/searchpluginspng0.png
FINISH ADD Contents/Resources/removed-files
FINISH ADD Contents/Resources/precomplete
FINISH ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
FINISH ADD Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
FINISH ADD Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
FINISH ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
FINISH ADD Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
FINISH ADD Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
FINISH ADD Contents/Resources/1/10/10text0
FINISH ADD Contents/Resources/0/0exe0.exe
FINISH ADD Contents/Resources/0/00/00text1
FINISH ADD Contents/Resources/0/00/00text0
FINISH ADD Contents/Resources/0/00/00png0.png
FINISH ADD Contents/MacOS/exe0.exe
FINISH REMOVEDIR Contents/Resources/9/99/
FINISH REMOVEDIR Contents/Resources/9/99/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/9/98/
FINISH REMOVEFILE Contents/Resources/9/97/970/97xtext0
FINISH REMOVEFILE Contents/Resources/9/97/970/97xtext1
FINISH REMOVEDIR Contents/Resources/9/97/970/
FINISH REMOVEFILE Contents/Resources/9/97/971/97xtext0
FINISH REMOVEFILE Contents/Resources/9/97/971/97xtext1
FINISH REMOVEDIR Contents/Resources/9/97/971/
FINISH REMOVEDIR Contents/Resources/9/97/
FINISH REMOVEFILE Contents/Resources/9/96/96text0
FINISH REMOVEFILE Contents/Resources/9/96/96text1
FINISH REMOVEDIR Contents/Resources/9/96/
FINISH REMOVEDIR Contents/Resources/9/95/
FINISH REMOVEDIR Contents/Resources/9/95/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/9/94/
FINISH REMOVEDIR Contents/Resources/9/94/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/9/93/
FINISH REMOVEDIR Contents/Resources/9/92/
removing directory: Contents/Resources/9/92/, rv: 0
FINISH REMOVEDIR Contents/Resources/9/91/
removing directory: Contents/Resources/9/91/, rv: 0
FINISH REMOVEDIR Contents/Resources/9/90/
FINISH REMOVEDIR Contents/Resources/9/90/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/89/
FINISH REMOVEDIR Contents/Resources/8/89/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/88/
FINISH REMOVEFILE Contents/Resources/8/87/870/87xtext0
FINISH REMOVEFILE Contents/Resources/8/87/870/87xtext1
FINISH REMOVEDIR Contents/Resources/8/87/870/
FINISH REMOVEFILE Contents/Resources/8/87/871/87xtext0
FINISH REMOVEFILE Contents/Resources/8/87/871/87xtext1
FINISH REMOVEDIR Contents/Resources/8/87/871/
FINISH REMOVEDIR Contents/Resources/8/87/
FINISH REMOVEFILE Contents/Resources/8/86/86text0
FINISH REMOVEFILE Contents/Resources/8/86/86text1
FINISH REMOVEDIR Contents/Resources/8/86/
FINISH REMOVEDIR Contents/Resources/8/85/
FINISH REMOVEDIR Contents/Resources/8/85/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/84/
FINISH REMOVEDIR Contents/Resources/8/84/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/83/
FINISH REMOVEDIR Contents/Resources/8/82/
removing directory: Contents/Resources/8/82/, rv: 0
FINISH REMOVEDIR Contents/Resources/8/81/
removing directory: Contents/Resources/8/81/, rv: 0
FINISH REMOVEDIR Contents/Resources/8/80/
FINISH REMOVEDIR Contents/Resources/8/80/
directory no longer exists; skipping
FINISH REMOVEFILE Contents/Resources/7/70/7xtest.exe
FINISH REMOVEFILE Contents/Resources/7/70/7xtext0
FINISH REMOVEFILE Contents/Resources/7/70/7xtext1
FINISH REMOVEDIR Contents/Resources/7/70/
FINISH REMOVEFILE Contents/Resources/7/71/7xtest.exe
FINISH REMOVEFILE Contents/Resources/7/71/7xtext0
FINISH REMOVEFILE Contents/Resources/7/71/7xtext1
FINISH REMOVEDIR Contents/Resources/7/71/
FINISH REMOVEDIR Contents/Resources/7/
FINISH REMOVEDIR Contents/Resources/6/
FINISH REMOVEFILE Contents/Resources/5/5text1
FINISH REMOVEFILE Contents/Resources/5/5text0
FINISH REMOVEFILE Contents/Resources/5/5test.exe
FINISH REMOVEDIR Contents/Resources/5/
FINISH REMOVEFILE Contents/Resources/4/4text1
FINISH REMOVEFILE Contents/Resources/4/4text0
FINISH REMOVEDIR Contents/Resources/4/
FINISH REMOVEFILE Contents/Resources/3/3text1
FINISH REMOVEFILE Contents/Resources/3/3text0
succeeded
calling QuitProgressUI

Двоичные данные
toolkit/mozapps/update/tests/data/complete_mac.mar Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -1,19 +1,18 @@
remove "a/b/searchplugins/searchpluginstext0"
remove "a/b/searchplugins/searchpluginspng1.png"
remove "a/b/searchplugins/searchpluginspng0.png"
remove "a/b/removed-files"
remove "a/b/exe0.exe"
remove "a/b/1/10/10text0"
remove "a/b/0/0exe0.exe"
remove "a/b/0/00/00text1"
remove "a/b/0/00/00text0"
remove "a/b/0/00/00png0.png"
rmdir "a/b/searchplugins/"
rmdir "a/b/defaults/pref/"
rmdir "a/b/defaults/"
rmdir "a/b/1/10/"
rmdir "a/b/1/"
rmdir "a/b/0/00/"
rmdir "a/b/0/"
rmdir "a/b/"
rmdir "a/"
remove "searchplugins/searchpluginstext0"
remove "searchplugins/searchpluginspng1.png"
remove "searchplugins/searchpluginspng0.png"
remove "removed-files"
remove "precomplete"
remove "exe0.exe"
remove "1/10/10text0"
remove "0/0exe0.exe"
remove "0/00/00text1"
remove "0/00/00text0"
remove "0/00/00png0.png"
rmdir "searchplugins/"
rmdir "defaults/pref/"
rmdir "defaults/"
rmdir "1/10/"
rmdir "1/"
rmdir "0/00/"
rmdir "0/"

Просмотреть файл

@ -0,0 +1,21 @@
remove "Contents/Resources/searchplugins/searchpluginstext0"
remove "Contents/Resources/searchplugins/searchpluginspng1.png"
remove "Contents/Resources/searchplugins/searchpluginspng0.png"
remove "Contents/Resources/removed-files"
remove "Contents/Resources/precomplete"
remove "Contents/Resources/1/10/10text0"
remove "Contents/Resources/0/0exe0.exe"
remove "Contents/Resources/0/00/00text1"
remove "Contents/Resources/0/00/00text0"
remove "Contents/Resources/0/00/00png0.png"
remove "Contents/MacOS/exe0.exe"
rmdir "Contents/Resources/searchplugins/"
rmdir "Contents/Resources/defaults/pref/"
rmdir "Contents/Resources/defaults/"
rmdir "Contents/Resources/1/10/"
rmdir "Contents/Resources/1/"
rmdir "Contents/Resources/0/00/"
rmdir "Contents/Resources/0/"
rmdir "Contents/Resources/"
rmdir "Contents/MacOS/"
rmdir "Contents/"

Просмотреть файл

@ -1,41 +1,41 @@
a/b/text0
a/b/text1
a/b/3/3text0
a/b/3/3text1
a/b/4/exe0.exe
a/b/4/4text0
a/b/4/4text1
a/b/4/
a/b/5/5text0
a/b/5/5text1
a/b/5/*
a/b/6/
a/b/7/*
a/b/8/80/
a/b/8/81/
a/b/8/82/
a/b/8/83/
a/b/8/84/
a/b/8/85/*
a/b/8/86/*
a/b/8/87/*
a/b/8/88/*
a/b/8/89/*
a/b/8/80/
a/b/8/84/*
a/b/8/85/*
a/b/8/89/
a/b/9/90/
a/b/9/91/
a/b/9/92/
a/b/9/93/
a/b/9/94/
a/b/9/95/*
a/b/9/96/*
a/b/9/97/*
a/b/9/98/*
a/b/9/99/*
a/b/9/90/
a/b/9/94/*
a/b/9/95/*
a/b/9/99/
text0
text1
3/3text0
3/3text1
4/exe0.exe
4/4text0
4/4text1
4/
5/5text0
5/5text1
5/*
6/
7/*
8/80/
8/81/
8/82/
8/83/
8/84/
8/85/*
8/86/*
8/87/*
8/88/*
8/89/*
8/80/
8/84/*
8/85/*
8/89/
9/90/
9/91/
9/92/
9/93/
9/94/
9/95/*
9/96/*
9/97/*
9/98/*
9/99/*
9/90/
9/94/*
9/95/*
9/99/

Просмотреть файл

@ -0,0 +1,41 @@
Contents/Resources/text0
Contents/Resources/text1
Contents/Resources/3/3text0
Contents/Resources/3/3text1
Contents/Resources/4/exe0.exe
Contents/Resources/4/4text0
Contents/Resources/4/4text1
Contents/Resources/4/
Contents/Resources/5/5text0
Contents/Resources/5/5text1
Contents/Resources/5/*
Contents/Resources/6/
Contents/Resources/7/*
Contents/Resources/8/80/
Contents/Resources/8/81/
Contents/Resources/8/82/
Contents/Resources/8/83/
Contents/Resources/8/84/
Contents/Resources/8/85/*
Contents/Resources/8/86/*
Contents/Resources/8/87/*
Contents/Resources/8/88/*
Contents/Resources/8/89/*
Contents/Resources/8/80/
Contents/Resources/8/84/*
Contents/Resources/8/85/*
Contents/Resources/8/89/
Contents/Resources/9/90/
Contents/Resources/9/91/
Contents/Resources/9/92/
Contents/Resources/9/93/
Contents/Resources/9/94/
Contents/Resources/9/95/*
Contents/Resources/9/96/*
Contents/Resources/9/97/*
Contents/Resources/9/98/*
Contents/Resources/9/99/*
Contents/Resources/9/90/
Contents/Resources/9/94/*
Contents/Resources/9/95/*
Contents/Resources/9/99/

Просмотреть файл

@ -1,60 +1,59 @@
type "complete"
add-cc "a/b/defaults/pref/channel-prefs.js"
add "precomplete"
add "a/b/searchplugins/searchpluginstext0"
add "a/b/searchplugins/searchpluginspng1.png"
add "a/b/searchplugins/searchpluginspng0.png"
add "a/b/removed-files"
add-if "a/b/extensions/extensions1" "a/b/extensions/extensions1/extensions1text0"
add-if "a/b/extensions/extensions1" "a/b/extensions/extensions1/extensions1png1.png"
add-if "a/b/extensions/extensions1" "a/b/extensions/extensions1/extensions1png0.png"
add-if "a/b/extensions/extensions0" "a/b/extensions/extensions0/extensions0text0"
add-if "a/b/extensions/extensions0" "a/b/extensions/extensions0/extensions0png1.png"
add-if "a/b/extensions/extensions0" "a/b/extensions/extensions0/extensions0png0.png"
add "a/b/exe0.exe"
add "a/b/1/10/10text0"
add "a/b/0/0exe0.exe"
add "a/b/0/00/00text1"
add "a/b/0/00/00text0"
add "a/b/0/00/00png0.png"
remove "a/b/text1"
remove "a/b/text0"
rmrfdir "a/b/9/99/"
rmdir "a/b/9/99/"
rmrfdir "a/b/9/98/"
rmrfdir "a/b/9/97/"
rmrfdir "a/b/9/96/"
rmrfdir "a/b/9/95/"
rmrfdir "a/b/9/95/"
rmrfdir "a/b/9/94/"
rmdir "a/b/9/94/"
rmdir "a/b/9/93/"
rmdir "a/b/9/92/"
rmdir "a/b/9/91/"
rmdir "a/b/9/90/"
rmdir "a/b/9/90/"
rmrfdir "a/b/8/89/"
rmdir "a/b/8/89/"
rmrfdir "a/b/8/88/"
rmrfdir "a/b/8/87/"
rmrfdir "a/b/8/86/"
rmrfdir "a/b/8/85/"
rmrfdir "a/b/8/85/"
rmrfdir "a/b/8/84/"
rmdir "a/b/8/84/"
rmdir "a/b/8/83/"
rmdir "a/b/8/82/"
rmdir "a/b/8/81/"
rmdir "a/b/8/80/"
rmdir "a/b/8/80/"
rmrfdir "a/b/7/"
rmdir "a/b/6/"
remove "a/b/5/5text1"
remove "a/b/5/5text0"
rmrfdir "a/b/5/"
remove "a/b/4/exe0.exe"
remove "a/b/4/4text1"
remove "a/b/4/4text0"
rmdir "a/b/4/"
remove "a/b/3/3text1"
remove "a/b/3/3text0"
add "searchplugins/searchpluginstext0"
add "searchplugins/searchpluginspng1.png"
add "searchplugins/searchpluginspng0.png"
add "removed-files"
add-if "extensions/extensions1" "extensions/extensions1/extensions1text0"
add-if "extensions/extensions1" "extensions/extensions1/extensions1png1.png"
add-if "extensions/extensions1" "extensions/extensions1/extensions1png0.png"
add-if "extensions/extensions0" "extensions/extensions0/extensions0text0"
add-if "extensions/extensions0" "extensions/extensions0/extensions0png1.png"
add-if "extensions/extensions0" "extensions/extensions0/extensions0png0.png"
add "exe0.exe"
add "1/10/10text0"
add "0/0exe0.exe"
add "0/00/00text1"
add "0/00/00text0"
add "0/00/00png0.png"
remove "text1"
remove "text0"
rmrfdir "9/99/"
rmdir "9/99/"
rmrfdir "9/98/"
rmrfdir "9/97/"
rmrfdir "9/96/"
rmrfdir "9/95/"
rmrfdir "9/95/"
rmrfdir "9/94/"
rmdir "9/94/"
rmdir "9/93/"
rmdir "9/92/"
rmdir "9/91/"
rmdir "9/90/"
rmdir "9/90/"
rmrfdir "8/89/"
rmdir "8/89/"
rmrfdir "8/88/"
rmrfdir "8/87/"
rmrfdir "8/86/"
rmrfdir "8/85/"
rmrfdir "8/85/"
rmrfdir "8/84/"
rmdir "8/84/"
rmdir "8/83/"
rmdir "8/82/"
rmdir "8/81/"
rmdir "8/80/"
rmdir "8/80/"
rmrfdir "7/"
rmdir "6/"
remove "5/5text1"
remove "5/5text0"
rmrfdir "5/"
remove "4/exe0.exe"
remove "4/4text1"
remove "4/4text0"
rmdir "4/"
remove "3/3text1"
remove "3/3text0"

Двоичные данные
toolkit/mozapps/update/tests/data/partial.mar

Двоичный файл не отображается.

Просмотреть файл

@ -1,186 +1,186 @@
UPDATE TYPE partial
PREPARE ADD searchplugins/searchpluginstext0
PREPARE PATCH searchplugins/searchpluginspng1.png
PREPARE PATCH searchplugins/searchpluginspng0.png
PREPARE ADD precomplete
PREPARE ADD a/b/searchplugins/searchpluginstext0
PREPARE PATCH a/b/searchplugins/searchpluginspng1.png
PREPARE PATCH a/b/searchplugins/searchpluginspng0.png
PREPARE PATCH a/b/exe0.exe
PREPARE ADD a/b/distribution/extensions/extensions1/extensions1text0
PREPARE PATCH a/b/distribution/extensions/extensions1/extensions1png1.png
PREPARE PATCH a/b/distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD a/b/distribution/extensions/extensions0/extensions0text0
PREPARE PATCH a/b/distribution/extensions/extensions0/extensions0png1.png
PREPARE PATCH a/b/distribution/extensions/extensions0/extensions0png0.png
PREPARE PATCH a/b/0/0exe0.exe
PREPARE ADD a/b/0/00/00text0
PREPARE PATCH a/b/0/00/00png0.png
PREPARE ADD a/b/2/20/20text0
PREPARE ADD a/b/2/20/20png0.png
PREPARE ADD a/b/0/00/00text2
PREPARE REMOVEFILE a/b/1/10/10text0
PREPARE REMOVEFILE a/b/0/00/00text1
PREPARE REMOVEDIR a/b/9/99/
PREPARE REMOVEDIR a/b/9/99/
PREPARE REMOVEDIR a/b/9/98/
PREPARE REMOVEFILE a/b/9/97/970/97xtext0
PREPARE REMOVEFILE a/b/9/97/970/97xtext1
PREPARE REMOVEDIR a/b/9/97/970/
PREPARE REMOVEFILE a/b/9/97/971/97xtext0
PREPARE REMOVEFILE a/b/9/97/971/97xtext1
PREPARE REMOVEDIR a/b/9/97/971/
PREPARE REMOVEDIR a/b/9/97/
PREPARE REMOVEFILE a/b/9/96/96text0
PREPARE REMOVEFILE a/b/9/96/96text1
PREPARE REMOVEDIR a/b/9/96/
PREPARE REMOVEDIR a/b/9/95/
PREPARE REMOVEDIR a/b/9/95/
PREPARE REMOVEDIR a/b/9/94/
PREPARE REMOVEDIR a/b/9/94/
PREPARE REMOVEDIR a/b/9/93/
PREPARE REMOVEDIR a/b/9/92/
PREPARE REMOVEDIR a/b/9/91/
PREPARE REMOVEDIR a/b/9/90/
PREPARE REMOVEDIR a/b/9/90/
PREPARE REMOVEDIR a/b/8/89/
PREPARE REMOVEDIR a/b/8/89/
PREPARE REMOVEDIR a/b/8/88/
PREPARE REMOVEFILE a/b/8/87/870/87xtext0
PREPARE REMOVEFILE a/b/8/87/870/87xtext1
PREPARE REMOVEDIR a/b/8/87/870/
PREPARE REMOVEFILE a/b/8/87/871/87xtext0
PREPARE REMOVEFILE a/b/8/87/871/87xtext1
PREPARE REMOVEDIR a/b/8/87/871/
PREPARE REMOVEDIR a/b/8/87/
PREPARE REMOVEFILE a/b/8/86/86text0
PREPARE REMOVEFILE a/b/8/86/86text1
PREPARE REMOVEDIR a/b/8/86/
PREPARE REMOVEDIR a/b/8/85/
PREPARE REMOVEDIR a/b/8/85/
PREPARE REMOVEDIR a/b/8/84/
PREPARE REMOVEDIR a/b/8/84/
PREPARE REMOVEDIR a/b/8/83/
PREPARE REMOVEDIR a/b/8/82/
PREPARE REMOVEDIR a/b/8/81/
PREPARE REMOVEDIR a/b/8/80/
PREPARE REMOVEDIR a/b/8/80/
PREPARE REMOVEFILE a/b/7/70/7xtest.exe
PREPARE REMOVEFILE a/b/7/70/7xtext0
PREPARE REMOVEFILE a/b/7/70/7xtext1
PREPARE REMOVEDIR a/b/7/70/
PREPARE REMOVEFILE a/b/7/71/7xtest.exe
PREPARE REMOVEFILE a/b/7/71/7xtext0
PREPARE REMOVEFILE a/b/7/71/7xtext1
PREPARE REMOVEDIR a/b/7/71/
PREPARE REMOVEDIR a/b/7/
PREPARE REMOVEDIR a/b/6/
PREPARE REMOVEFILE a/b/5/5text1
PREPARE REMOVEFILE a/b/5/5text0
PREPARE REMOVEFILE a/b/5/5test.exe
PREPARE REMOVEFILE a/b/5/5text0
PREPARE REMOVEFILE a/b/5/5text1
PREPARE REMOVEDIR a/b/5/
PREPARE REMOVEFILE a/b/4/4text1
PREPARE REMOVEFILE a/b/4/4text0
PREPARE REMOVEDIR a/b/4/
PREPARE REMOVEFILE a/b/3/3text1
PREPARE REMOVEFILE a/b/3/3text0
PREPARE REMOVEDIR a/b/1/10/
PREPARE REMOVEDIR a/b/1/
PREPARE PATCH exe0.exe
PREPARE ADD distribution/extensions/extensions1/extensions1text0
PREPARE PATCH distribution/extensions/extensions1/extensions1png1.png
PREPARE PATCH distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD distribution/extensions/extensions0/extensions0text0
PREPARE PATCH distribution/extensions/extensions0/extensions0png1.png
PREPARE PATCH distribution/extensions/extensions0/extensions0png0.png
PREPARE PATCH 0/0exe0.exe
PREPARE ADD 0/00/00text0
PREPARE PATCH 0/00/00png0.png
PREPARE ADD 2/20/20text0
PREPARE ADD 2/20/20png0.png
PREPARE ADD 0/00/00text2
PREPARE REMOVEFILE 1/10/10text0
PREPARE REMOVEFILE 0/00/00text1
PREPARE REMOVEDIR 9/99/
PREPARE REMOVEDIR 9/99/
PREPARE REMOVEDIR 9/98/
PREPARE REMOVEFILE 9/97/970/97xtext0
PREPARE REMOVEFILE 9/97/970/97xtext1
PREPARE REMOVEDIR 9/97/970/
PREPARE REMOVEFILE 9/97/971/97xtext0
PREPARE REMOVEFILE 9/97/971/97xtext1
PREPARE REMOVEDIR 9/97/971/
PREPARE REMOVEDIR 9/97/
PREPARE REMOVEFILE 9/96/96text0
PREPARE REMOVEFILE 9/96/96text1
PREPARE REMOVEDIR 9/96/
PREPARE REMOVEDIR 9/95/
PREPARE REMOVEDIR 9/95/
PREPARE REMOVEDIR 9/94/
PREPARE REMOVEDIR 9/94/
PREPARE REMOVEDIR 9/93/
PREPARE REMOVEDIR 9/92/
PREPARE REMOVEDIR 9/91/
PREPARE REMOVEDIR 9/90/
PREPARE REMOVEDIR 9/90/
PREPARE REMOVEDIR 8/89/
PREPARE REMOVEDIR 8/89/
PREPARE REMOVEDIR 8/88/
PREPARE REMOVEFILE 8/87/870/87xtext0
PREPARE REMOVEFILE 8/87/870/87xtext1
PREPARE REMOVEDIR 8/87/870/
PREPARE REMOVEFILE 8/87/871/87xtext0
PREPARE REMOVEFILE 8/87/871/87xtext1
PREPARE REMOVEDIR 8/87/871/
PREPARE REMOVEDIR 8/87/
PREPARE REMOVEFILE 8/86/86text0
PREPARE REMOVEFILE 8/86/86text1
PREPARE REMOVEDIR 8/86/
PREPARE REMOVEDIR 8/85/
PREPARE REMOVEDIR 8/85/
PREPARE REMOVEDIR 8/84/
PREPARE REMOVEDIR 8/84/
PREPARE REMOVEDIR 8/83/
PREPARE REMOVEDIR 8/82/
PREPARE REMOVEDIR 8/81/
PREPARE REMOVEDIR 8/80/
PREPARE REMOVEDIR 8/80/
PREPARE REMOVEFILE 7/70/7xtest.exe
PREPARE REMOVEFILE 7/70/7xtext0
PREPARE REMOVEFILE 7/70/7xtext1
PREPARE REMOVEDIR 7/70/
PREPARE REMOVEFILE 7/71/7xtest.exe
PREPARE REMOVEFILE 7/71/7xtext0
PREPARE REMOVEFILE 7/71/7xtext1
PREPARE REMOVEDIR 7/71/
PREPARE REMOVEDIR 7/
PREPARE REMOVEDIR 6/
PREPARE REMOVEFILE 5/5text1
PREPARE REMOVEFILE 5/5text0
PREPARE REMOVEFILE 5/5test.exe
PREPARE REMOVEFILE 5/5text0
PREPARE REMOVEFILE 5/5text1
PREPARE REMOVEDIR 5/
PREPARE REMOVEFILE 4/4text1
PREPARE REMOVEFILE 4/4text0
PREPARE REMOVEDIR 4/
PREPARE REMOVEFILE 3/3text1
PREPARE REMOVEFILE 3/3text0
PREPARE REMOVEDIR 1/10/
PREPARE REMOVEDIR 1/
EXECUTE ADD searchplugins/searchpluginstext0
EXECUTE PATCH searchplugins/searchpluginspng1.png
EXECUTE PATCH searchplugins/searchpluginspng0.png
EXECUTE ADD precomplete
EXECUTE ADD a/b/searchplugins/searchpluginstext0
EXECUTE PATCH a/b/searchplugins/searchpluginspng1.png
EXECUTE PATCH a/b/searchplugins/searchpluginspng0.png
EXECUTE PATCH a/b/exe0.exe
EXECUTE ADD a/b/distribution/extensions/extensions1/extensions1text0
EXECUTE PATCH a/b/distribution/extensions/extensions1/extensions1png1.png
EXECUTE PATCH a/b/distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD a/b/distribution/extensions/extensions0/extensions0text0
EXECUTE PATCH a/b/distribution/extensions/extensions0/extensions0png1.png
EXECUTE PATCH a/b/distribution/extensions/extensions0/extensions0png0.png
EXECUTE PATCH a/b/0/0exe0.exe
EXECUTE PATCH exe0.exe
EXECUTE ADD distribution/extensions/extensions1/extensions1text0
EXECUTE PATCH distribution/extensions/extensions1/extensions1png1.png
EXECUTE PATCH distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD distribution/extensions/extensions0/extensions0text0
EXECUTE PATCH distribution/extensions/extensions0/extensions0png1.png
EXECUTE PATCH distribution/extensions/extensions0/extensions0png0.png
EXECUTE PATCH 0/0exe0.exe
LoadSourceFile: destination file size 776 does not match expected size 79872
LoadSourceFile failed
### execution failed
FINISH ADD searchplugins/searchpluginstext0
FINISH PATCH searchplugins/searchpluginspng1.png
FINISH PATCH searchplugins/searchpluginspng0.png
FINISH ADD precomplete
FINISH ADD a/b/searchplugins/searchpluginstext0
FINISH PATCH a/b/searchplugins/searchpluginspng1.png
FINISH PATCH a/b/searchplugins/searchpluginspng0.png
FINISH PATCH a/b/exe0.exe
FINISH ADD a/b/distribution/extensions/extensions1/extensions1text0
backup_restore: backup file doesn't exist: a/b/distribution/extensions/extensions1/extensions1text0.moz-backup
FINISH PATCH a/b/distribution/extensions/extensions1/extensions1png1.png
FINISH PATCH a/b/distribution/extensions/extensions1/extensions1png0.png
FINISH ADD a/b/distribution/extensions/extensions0/extensions0text0
FINISH PATCH a/b/distribution/extensions/extensions0/extensions0png1.png
FINISH PATCH a/b/distribution/extensions/extensions0/extensions0png0.png
FINISH PATCH a/b/0/0exe0.exe
backup_restore: backup file doesn't exist: a/b/0/0exe0.exe.moz-backup
FINISH ADD a/b/0/00/00text0
backup_restore: backup file doesn't exist: a/b/0/00/00text0.moz-backup
FINISH PATCH a/b/0/00/00png0.png
backup_restore: backup file doesn't exist: a/b/0/00/00png0.png.moz-backup
FINISH ADD a/b/2/20/20text0
backup_restore: backup file doesn't exist: a/b/2/20/20text0.moz-backup
FINISH ADD a/b/2/20/20png0.png
backup_restore: backup file doesn't exist: a/b/2/20/20png0.png.moz-backup
FINISH ADD a/b/0/00/00text2
backup_restore: backup file doesn't exist: a/b/0/00/00text2.moz-backup
FINISH REMOVEFILE a/b/1/10/10text0
backup_restore: backup file doesn't exist: a/b/1/10/10text0.moz-backup
FINISH REMOVEFILE a/b/0/00/00text1
backup_restore: backup file doesn't exist: a/b/0/00/00text1.moz-backup
FINISH REMOVEFILE a/b/9/97/970/97xtext0
backup_restore: backup file doesn't exist: a/b/9/97/970/97xtext0.moz-backup
FINISH REMOVEFILE a/b/9/97/970/97xtext1
backup_restore: backup file doesn't exist: a/b/9/97/970/97xtext1.moz-backup
FINISH REMOVEFILE a/b/9/97/971/97xtext0
backup_restore: backup file doesn't exist: a/b/9/97/971/97xtext0.moz-backup
FINISH REMOVEFILE a/b/9/97/971/97xtext1
backup_restore: backup file doesn't exist: a/b/9/97/971/97xtext1.moz-backup
FINISH REMOVEFILE a/b/9/96/96text0
backup_restore: backup file doesn't exist: a/b/9/96/96text0.moz-backup
FINISH REMOVEFILE a/b/9/96/96text1
backup_restore: backup file doesn't exist: a/b/9/96/96text1.moz-backup
FINISH REMOVEFILE a/b/8/87/870/87xtext0
backup_restore: backup file doesn't exist: a/b/8/87/870/87xtext0.moz-backup
FINISH REMOVEFILE a/b/8/87/870/87xtext1
backup_restore: backup file doesn't exist: a/b/8/87/870/87xtext1.moz-backup
FINISH REMOVEFILE a/b/8/87/871/87xtext0
backup_restore: backup file doesn't exist: a/b/8/87/871/87xtext0.moz-backup
FINISH REMOVEFILE a/b/8/87/871/87xtext1
backup_restore: backup file doesn't exist: a/b/8/87/871/87xtext1.moz-backup
FINISH REMOVEFILE a/b/8/86/86text0
backup_restore: backup file doesn't exist: a/b/8/86/86text0.moz-backup
FINISH REMOVEFILE a/b/8/86/86text1
backup_restore: backup file doesn't exist: a/b/8/86/86text1.moz-backup
FINISH REMOVEFILE a/b/7/70/7xtest.exe
backup_restore: backup file doesn't exist: a/b/7/70/7xtest.exe.moz-backup
FINISH REMOVEFILE a/b/7/70/7xtext0
backup_restore: backup file doesn't exist: a/b/7/70/7xtext0.moz-backup
FINISH REMOVEFILE a/b/7/70/7xtext1
backup_restore: backup file doesn't exist: a/b/7/70/7xtext1.moz-backup
FINISH REMOVEFILE a/b/7/71/7xtest.exe
backup_restore: backup file doesn't exist: a/b/7/71/7xtest.exe.moz-backup
FINISH REMOVEFILE a/b/7/71/7xtext0
backup_restore: backup file doesn't exist: a/b/7/71/7xtext0.moz-backup
FINISH REMOVEFILE a/b/7/71/7xtext1
backup_restore: backup file doesn't exist: a/b/7/71/7xtext1.moz-backup
FINISH REMOVEFILE a/b/5/5text1
backup_restore: backup file doesn't exist: a/b/5/5text1.moz-backup
FINISH REMOVEFILE a/b/5/5text0
backup_restore: backup file doesn't exist: a/b/5/5text0.moz-backup
FINISH REMOVEFILE a/b/5/5test.exe
backup_restore: backup file doesn't exist: a/b/5/5test.exe.moz-backup
FINISH REMOVEFILE a/b/5/5text0
backup_restore: backup file doesn't exist: a/b/5/5text0.moz-backup
FINISH REMOVEFILE a/b/5/5text1
backup_restore: backup file doesn't exist: a/b/5/5text1.moz-backup
FINISH REMOVEFILE a/b/4/4text1
backup_restore: backup file doesn't exist: a/b/4/4text1.moz-backup
FINISH REMOVEFILE a/b/4/4text0
backup_restore: backup file doesn't exist: a/b/4/4text0.moz-backup
FINISH REMOVEFILE a/b/3/3text1
backup_restore: backup file doesn't exist: a/b/3/3text1.moz-backup
FINISH REMOVEFILE a/b/3/3text0
backup_restore: backup file doesn't exist: a/b/3/3text0.moz-backup
FINISH PATCH exe0.exe
FINISH ADD distribution/extensions/extensions1/extensions1text0
backup_restore: backup file doesn't exist: distribution/extensions/extensions1/extensions1text0.moz-backup
FINISH PATCH distribution/extensions/extensions1/extensions1png1.png
FINISH PATCH distribution/extensions/extensions1/extensions1png0.png
FINISH ADD distribution/extensions/extensions0/extensions0text0
FINISH PATCH distribution/extensions/extensions0/extensions0png1.png
FINISH PATCH distribution/extensions/extensions0/extensions0png0.png
FINISH PATCH 0/0exe0.exe
backup_restore: backup file doesn't exist: 0/0exe0.exe.moz-backup
FINISH ADD 0/00/00text0
backup_restore: backup file doesn't exist: 0/00/00text0.moz-backup
FINISH PATCH 0/00/00png0.png
backup_restore: backup file doesn't exist: 0/00/00png0.png.moz-backup
FINISH ADD 2/20/20text0
backup_restore: backup file doesn't exist: 2/20/20text0.moz-backup
FINISH ADD 2/20/20png0.png
backup_restore: backup file doesn't exist: 2/20/20png0.png.moz-backup
FINISH ADD 0/00/00text2
backup_restore: backup file doesn't exist: 0/00/00text2.moz-backup
FINISH REMOVEFILE 1/10/10text0
backup_restore: backup file doesn't exist: 1/10/10text0.moz-backup
FINISH REMOVEFILE 0/00/00text1
backup_restore: backup file doesn't exist: 0/00/00text1.moz-backup
FINISH REMOVEFILE 9/97/970/97xtext0
backup_restore: backup file doesn't exist: 9/97/970/97xtext0.moz-backup
FINISH REMOVEFILE 9/97/970/97xtext1
backup_restore: backup file doesn't exist: 9/97/970/97xtext1.moz-backup
FINISH REMOVEFILE 9/97/971/97xtext0
backup_restore: backup file doesn't exist: 9/97/971/97xtext0.moz-backup
FINISH REMOVEFILE 9/97/971/97xtext1
backup_restore: backup file doesn't exist: 9/97/971/97xtext1.moz-backup
FINISH REMOVEFILE 9/96/96text0
backup_restore: backup file doesn't exist: 9/96/96text0.moz-backup
FINISH REMOVEFILE 9/96/96text1
backup_restore: backup file doesn't exist: 9/96/96text1.moz-backup
FINISH REMOVEFILE 8/87/870/87xtext0
backup_restore: backup file doesn't exist: 8/87/870/87xtext0.moz-backup
FINISH REMOVEFILE 8/87/870/87xtext1
backup_restore: backup file doesn't exist: 8/87/870/87xtext1.moz-backup
FINISH REMOVEFILE 8/87/871/87xtext0
backup_restore: backup file doesn't exist: 8/87/871/87xtext0.moz-backup
FINISH REMOVEFILE 8/87/871/87xtext1
backup_restore: backup file doesn't exist: 8/87/871/87xtext1.moz-backup
FINISH REMOVEFILE 8/86/86text0
backup_restore: backup file doesn't exist: 8/86/86text0.moz-backup
FINISH REMOVEFILE 8/86/86text1
backup_restore: backup file doesn't exist: 8/86/86text1.moz-backup
FINISH REMOVEFILE 7/70/7xtest.exe
backup_restore: backup file doesn't exist: 7/70/7xtest.exe.moz-backup
FINISH REMOVEFILE 7/70/7xtext0
backup_restore: backup file doesn't exist: 7/70/7xtext0.moz-backup
FINISH REMOVEFILE 7/70/7xtext1
backup_restore: backup file doesn't exist: 7/70/7xtext1.moz-backup
FINISH REMOVEFILE 7/71/7xtest.exe
backup_restore: backup file doesn't exist: 7/71/7xtest.exe.moz-backup
FINISH REMOVEFILE 7/71/7xtext0
backup_restore: backup file doesn't exist: 7/71/7xtext0.moz-backup
FINISH REMOVEFILE 7/71/7xtext1
backup_restore: backup file doesn't exist: 7/71/7xtext1.moz-backup
FINISH REMOVEFILE 5/5text1
backup_restore: backup file doesn't exist: 5/5text1.moz-backup
FINISH REMOVEFILE 5/5text0
backup_restore: backup file doesn't exist: 5/5text0.moz-backup
FINISH REMOVEFILE 5/5test.exe
backup_restore: backup file doesn't exist: 5/5test.exe.moz-backup
FINISH REMOVEFILE 5/5text0
backup_restore: backup file doesn't exist: 5/5text0.moz-backup
FINISH REMOVEFILE 5/5text1
backup_restore: backup file doesn't exist: 5/5text1.moz-backup
FINISH REMOVEFILE 4/4text1
backup_restore: backup file doesn't exist: 4/4text1.moz-backup
FINISH REMOVEFILE 4/4text0
backup_restore: backup file doesn't exist: 4/4text0.moz-backup
FINISH REMOVEFILE 3/3text1
backup_restore: backup file doesn't exist: 3/3text1.moz-backup
FINISH REMOVEFILE 3/3text0
backup_restore: backup file doesn't exist: 3/3text0.moz-backup
failed: 42
calling QuitProgressUI

Просмотреть файл

@ -0,0 +1,186 @@
UPDATE TYPE partial
PREPARE ADD Contents/Resources/searchplugins/searchpluginstext0
PREPARE PATCH Contents/Resources/searchplugins/searchpluginspng1.png
PREPARE PATCH Contents/Resources/searchplugins/searchpluginspng0.png
PREPARE ADD Contents/Resources/precomplete
PREPARE ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
PREPARE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
PREPARE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
PREPARE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
PREPARE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
PREPARE PATCH Contents/Resources/0/0exe0.exe
PREPARE ADD Contents/Resources/0/00/00text0
PREPARE PATCH Contents/Resources/0/00/00png0.png
PREPARE PATCH Contents/MacOS/exe0.exe
PREPARE ADD Contents/Resources/2/20/20text0
PREPARE ADD Contents/Resources/2/20/20png0.png
PREPARE ADD Contents/Resources/0/00/00text2
PREPARE REMOVEFILE Contents/Resources/1/10/10text0
PREPARE REMOVEFILE Contents/Resources/0/00/00text1
PREPARE REMOVEDIR Contents/Resources/9/99/
PREPARE REMOVEDIR Contents/Resources/9/99/
PREPARE REMOVEDIR Contents/Resources/9/98/
PREPARE REMOVEFILE Contents/Resources/9/97/970/97xtext0
PREPARE REMOVEFILE Contents/Resources/9/97/970/97xtext1
PREPARE REMOVEDIR Contents/Resources/9/97/970/
PREPARE REMOVEFILE Contents/Resources/9/97/971/97xtext0
PREPARE REMOVEFILE Contents/Resources/9/97/971/97xtext1
PREPARE REMOVEDIR Contents/Resources/9/97/971/
PREPARE REMOVEDIR Contents/Resources/9/97/
PREPARE REMOVEFILE Contents/Resources/9/96/96text0
PREPARE REMOVEFILE Contents/Resources/9/96/96text1
PREPARE REMOVEDIR Contents/Resources/9/96/
PREPARE REMOVEDIR Contents/Resources/9/95/
PREPARE REMOVEDIR Contents/Resources/9/95/
PREPARE REMOVEDIR Contents/Resources/9/94/
PREPARE REMOVEDIR Contents/Resources/9/94/
PREPARE REMOVEDIR Contents/Resources/9/93/
PREPARE REMOVEDIR Contents/Resources/9/92/
PREPARE REMOVEDIR Contents/Resources/9/91/
PREPARE REMOVEDIR Contents/Resources/9/90/
PREPARE REMOVEDIR Contents/Resources/9/90/
PREPARE REMOVEDIR Contents/Resources/8/89/
PREPARE REMOVEDIR Contents/Resources/8/89/
PREPARE REMOVEDIR Contents/Resources/8/88/
PREPARE REMOVEFILE Contents/Resources/8/87/870/87xtext0
PREPARE REMOVEFILE Contents/Resources/8/87/870/87xtext1
PREPARE REMOVEDIR Contents/Resources/8/87/870/
PREPARE REMOVEFILE Contents/Resources/8/87/871/87xtext0
PREPARE REMOVEFILE Contents/Resources/8/87/871/87xtext1
PREPARE REMOVEDIR Contents/Resources/8/87/871/
PREPARE REMOVEDIR Contents/Resources/8/87/
PREPARE REMOVEFILE Contents/Resources/8/86/86text0
PREPARE REMOVEFILE Contents/Resources/8/86/86text1
PREPARE REMOVEDIR Contents/Resources/8/86/
PREPARE REMOVEDIR Contents/Resources/8/85/
PREPARE REMOVEDIR Contents/Resources/8/85/
PREPARE REMOVEDIR Contents/Resources/8/84/
PREPARE REMOVEDIR Contents/Resources/8/84/
PREPARE REMOVEDIR Contents/Resources/8/83/
PREPARE REMOVEDIR Contents/Resources/8/82/
PREPARE REMOVEDIR Contents/Resources/8/81/
PREPARE REMOVEDIR Contents/Resources/8/80/
PREPARE REMOVEDIR Contents/Resources/8/80/
PREPARE REMOVEFILE Contents/Resources/7/70/7xtest.exe
PREPARE REMOVEFILE Contents/Resources/7/70/7xtext0
PREPARE REMOVEFILE Contents/Resources/7/70/7xtext1
PREPARE REMOVEDIR Contents/Resources/7/70/
PREPARE REMOVEFILE Contents/Resources/7/71/7xtest.exe
PREPARE REMOVEFILE Contents/Resources/7/71/7xtext0
PREPARE REMOVEFILE Contents/Resources/7/71/7xtext1
PREPARE REMOVEDIR Contents/Resources/7/71/
PREPARE REMOVEDIR Contents/Resources/7/
PREPARE REMOVEDIR Contents/Resources/6/
PREPARE REMOVEFILE Contents/Resources/5/5text1
PREPARE REMOVEFILE Contents/Resources/5/5text0
PREPARE REMOVEFILE Contents/Resources/5/5test.exe
PREPARE REMOVEFILE Contents/Resources/5/5text0
PREPARE REMOVEFILE Contents/Resources/5/5text1
PREPARE REMOVEDIR Contents/Resources/5/
PREPARE REMOVEFILE Contents/Resources/4/4text1
PREPARE REMOVEFILE Contents/Resources/4/4text0
PREPARE REMOVEDIR Contents/Resources/4/
PREPARE REMOVEFILE Contents/Resources/3/3text1
PREPARE REMOVEFILE Contents/Resources/3/3text0
PREPARE REMOVEDIR Contents/Resources/1/10/
PREPARE REMOVEDIR Contents/Resources/1/
EXECUTE ADD Contents/Resources/searchplugins/searchpluginstext0
EXECUTE PATCH Contents/Resources/searchplugins/searchpluginspng1.png
EXECUTE PATCH Contents/Resources/searchplugins/searchpluginspng0.png
EXECUTE ADD Contents/Resources/precomplete
EXECUTE ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
EXECUTE PATCH Contents/Resources/0/0exe0.exe
LoadSourceFile: destination file size 776 does not match expected size 79872
LoadSourceFile failed
### execution failed
FINISH ADD Contents/Resources/searchplugins/searchpluginstext0
FINISH PATCH Contents/Resources/searchplugins/searchpluginspng1.png
FINISH PATCH Contents/Resources/searchplugins/searchpluginspng0.png
FINISH ADD Contents/Resources/precomplete
FINISH ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
backup_restore: backup file doesn't exist: Contents/Resources/distribution/extensions/extensions1/extensions1text0.moz-backup
FINISH PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
FINISH PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
FINISH ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
FINISH PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
FINISH PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
FINISH PATCH Contents/Resources/0/0exe0.exe
backup_restore: backup file doesn't exist: Contents/Resources/0/0exe0.exe.moz-backup
FINISH ADD Contents/Resources/0/00/00text0
backup_restore: backup file doesn't exist: Contents/Resources/0/00/00text0.moz-backup
FINISH PATCH Contents/Resources/0/00/00png0.png
backup_restore: backup file doesn't exist: Contents/Resources/0/00/00png0.png.moz-backup
FINISH PATCH Contents/MacOS/exe0.exe
backup_restore: backup file doesn't exist: Contents/MacOS/exe0.exe.moz-backup
FINISH ADD Contents/Resources/2/20/20text0
backup_restore: backup file doesn't exist: Contents/Resources/2/20/20text0.moz-backup
FINISH ADD Contents/Resources/2/20/20png0.png
backup_restore: backup file doesn't exist: Contents/Resources/2/20/20png0.png.moz-backup
FINISH ADD Contents/Resources/0/00/00text2
backup_restore: backup file doesn't exist: Contents/Resources/0/00/00text2.moz-backup
FINISH REMOVEFILE Contents/Resources/1/10/10text0
backup_restore: backup file doesn't exist: Contents/Resources/1/10/10text0.moz-backup
FINISH REMOVEFILE Contents/Resources/0/00/00text1
backup_restore: backup file doesn't exist: Contents/Resources/0/00/00text1.moz-backup
FINISH REMOVEFILE Contents/Resources/9/97/970/97xtext0
backup_restore: backup file doesn't exist: Contents/Resources/9/97/970/97xtext0.moz-backup
FINISH REMOVEFILE Contents/Resources/9/97/970/97xtext1
backup_restore: backup file doesn't exist: Contents/Resources/9/97/970/97xtext1.moz-backup
FINISH REMOVEFILE Contents/Resources/9/97/971/97xtext0
backup_restore: backup file doesn't exist: Contents/Resources/9/97/971/97xtext0.moz-backup
FINISH REMOVEFILE Contents/Resources/9/97/971/97xtext1
backup_restore: backup file doesn't exist: Contents/Resources/9/97/971/97xtext1.moz-backup
FINISH REMOVEFILE Contents/Resources/9/96/96text0
backup_restore: backup file doesn't exist: Contents/Resources/9/96/96text0.moz-backup
FINISH REMOVEFILE Contents/Resources/9/96/96text1
backup_restore: backup file doesn't exist: Contents/Resources/9/96/96text1.moz-backup
FINISH REMOVEFILE Contents/Resources/8/87/870/87xtext0
backup_restore: backup file doesn't exist: Contents/Resources/8/87/870/87xtext0.moz-backup
FINISH REMOVEFILE Contents/Resources/8/87/870/87xtext1
backup_restore: backup file doesn't exist: Contents/Resources/8/87/870/87xtext1.moz-backup
FINISH REMOVEFILE Contents/Resources/8/87/871/87xtext0
backup_restore: backup file doesn't exist: Contents/Resources/8/87/871/87xtext0.moz-backup
FINISH REMOVEFILE Contents/Resources/8/87/871/87xtext1
backup_restore: backup file doesn't exist: Contents/Resources/8/87/871/87xtext1.moz-backup
FINISH REMOVEFILE Contents/Resources/8/86/86text0
backup_restore: backup file doesn't exist: Contents/Resources/8/86/86text0.moz-backup
FINISH REMOVEFILE Contents/Resources/8/86/86text1
backup_restore: backup file doesn't exist: Contents/Resources/8/86/86text1.moz-backup
FINISH REMOVEFILE Contents/Resources/7/70/7xtest.exe
backup_restore: backup file doesn't exist: Contents/Resources/7/70/7xtest.exe.moz-backup
FINISH REMOVEFILE Contents/Resources/7/70/7xtext0
backup_restore: backup file doesn't exist: Contents/Resources/7/70/7xtext0.moz-backup
FINISH REMOVEFILE Contents/Resources/7/70/7xtext1
backup_restore: backup file doesn't exist: Contents/Resources/7/70/7xtext1.moz-backup
FINISH REMOVEFILE Contents/Resources/7/71/7xtest.exe
backup_restore: backup file doesn't exist: Contents/Resources/7/71/7xtest.exe.moz-backup
FINISH REMOVEFILE Contents/Resources/7/71/7xtext0
backup_restore: backup file doesn't exist: Contents/Resources/7/71/7xtext0.moz-backup
FINISH REMOVEFILE Contents/Resources/7/71/7xtext1
backup_restore: backup file doesn't exist: Contents/Resources/7/71/7xtext1.moz-backup
FINISH REMOVEFILE Contents/Resources/5/5text1
backup_restore: backup file doesn't exist: Contents/Resources/5/5text1.moz-backup
FINISH REMOVEFILE Contents/Resources/5/5text0
backup_restore: backup file doesn't exist: Contents/Resources/5/5text0.moz-backup
FINISH REMOVEFILE Contents/Resources/5/5test.exe
backup_restore: backup file doesn't exist: Contents/Resources/5/5test.exe.moz-backup
FINISH REMOVEFILE Contents/Resources/5/5text0
backup_restore: backup file doesn't exist: Contents/Resources/5/5text0.moz-backup
FINISH REMOVEFILE Contents/Resources/5/5text1
backup_restore: backup file doesn't exist: Contents/Resources/5/5text1.moz-backup
FINISH REMOVEFILE Contents/Resources/4/4text1
backup_restore: backup file doesn't exist: Contents/Resources/4/4text1.moz-backup
FINISH REMOVEFILE Contents/Resources/4/4text0
backup_restore: backup file doesn't exist: Contents/Resources/4/4text0.moz-backup
FINISH REMOVEFILE Contents/Resources/3/3text1
backup_restore: backup file doesn't exist: Contents/Resources/3/3text1.moz-backup
FINISH REMOVEFILE Contents/Resources/3/3text0
backup_restore: backup file doesn't exist: Contents/Resources/3/3text0.moz-backup
failed: 42
calling QuitProgressUI

Просмотреть файл

@ -1,273 +1,273 @@
UPDATE TYPE partial
PREPARE ADD searchplugins/searchpluginstext0
PREPARE PATCH searchplugins/searchpluginspng1.png
PREPARE PATCH searchplugins/searchpluginspng0.png
PREPARE ADD precomplete
PREPARE ADD a/b/searchplugins/searchpluginstext0
PREPARE PATCH a/b/searchplugins/searchpluginspng1.png
PREPARE PATCH a/b/searchplugins/searchpluginspng0.png
PREPARE PATCH a/b/exe0.exe
PREPARE ADD a/b/distribution/extensions/extensions1/extensions1text0
PREPARE PATCH a/b/distribution/extensions/extensions1/extensions1png1.png
PREPARE PATCH a/b/distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD a/b/distribution/extensions/extensions0/extensions0text0
PREPARE PATCH a/b/distribution/extensions/extensions0/extensions0png1.png
PREPARE PATCH a/b/distribution/extensions/extensions0/extensions0png0.png
PREPARE PATCH a/b/0/0exe0.exe
PREPARE ADD a/b/0/00/00text0
PREPARE PATCH a/b/0/00/00png0.png
PREPARE ADD a/b/2/20/20text0
PREPARE ADD a/b/2/20/20png0.png
PREPARE ADD a/b/0/00/00text2
PREPARE REMOVEFILE a/b/1/10/10text0
PREPARE REMOVEFILE a/b/0/00/00text1
PREPARE REMOVEDIR a/b/9/99/
PREPARE REMOVEDIR a/b/9/99/
PREPARE REMOVEDIR a/b/9/98/
PREPARE REMOVEFILE a/b/9/97/970/97xtext0
PREPARE REMOVEFILE a/b/9/97/970/97xtext1
PREPARE REMOVEDIR a/b/9/97/970/
PREPARE REMOVEFILE a/b/9/97/971/97xtext0
PREPARE REMOVEFILE a/b/9/97/971/97xtext1
PREPARE REMOVEDIR a/b/9/97/971/
PREPARE REMOVEDIR a/b/9/97/
PREPARE REMOVEFILE a/b/9/96/96text0
PREPARE REMOVEFILE a/b/9/96/96text1
PREPARE REMOVEDIR a/b/9/96/
PREPARE REMOVEDIR a/b/9/95/
PREPARE REMOVEDIR a/b/9/95/
PREPARE REMOVEDIR a/b/9/94/
PREPARE REMOVEDIR a/b/9/94/
PREPARE REMOVEDIR a/b/9/93/
PREPARE REMOVEDIR a/b/9/92/
PREPARE REMOVEDIR a/b/9/91/
PREPARE REMOVEDIR a/b/9/90/
PREPARE REMOVEDIR a/b/9/90/
PREPARE REMOVEDIR a/b/8/89/
PREPARE REMOVEDIR a/b/8/89/
PREPARE REMOVEDIR a/b/8/88/
PREPARE REMOVEFILE a/b/8/87/870/87xtext0
PREPARE REMOVEFILE a/b/8/87/870/87xtext1
PREPARE REMOVEDIR a/b/8/87/870/
PREPARE REMOVEFILE a/b/8/87/871/87xtext0
PREPARE REMOVEFILE a/b/8/87/871/87xtext1
PREPARE REMOVEDIR a/b/8/87/871/
PREPARE REMOVEDIR a/b/8/87/
PREPARE REMOVEFILE a/b/8/86/86text0
PREPARE REMOVEFILE a/b/8/86/86text1
PREPARE REMOVEDIR a/b/8/86/
PREPARE REMOVEDIR a/b/8/85/
PREPARE REMOVEDIR a/b/8/85/
PREPARE REMOVEDIR a/b/8/84/
PREPARE REMOVEDIR a/b/8/84/
PREPARE REMOVEDIR a/b/8/83/
PREPARE REMOVEDIR a/b/8/82/
PREPARE REMOVEDIR a/b/8/81/
PREPARE REMOVEDIR a/b/8/80/
PREPARE REMOVEDIR a/b/8/80/
PREPARE REMOVEFILE a/b/7/70/7xtest.exe
PREPARE REMOVEFILE a/b/7/70/7xtext0
PREPARE REMOVEFILE a/b/7/70/7xtext1
PREPARE REMOVEDIR a/b/7/70/
PREPARE REMOVEFILE a/b/7/71/7xtest.exe
PREPARE REMOVEFILE a/b/7/71/7xtext0
PREPARE REMOVEFILE a/b/7/71/7xtext1
PREPARE REMOVEDIR a/b/7/71/
PREPARE REMOVEDIR a/b/7/
PREPARE REMOVEDIR a/b/6/
PREPARE REMOVEFILE a/b/5/5text1
PREPARE REMOVEFILE a/b/5/5text0
PREPARE REMOVEFILE a/b/5/5test.exe
PREPARE REMOVEFILE a/b/5/5text0
PREPARE REMOVEFILE a/b/5/5text1
PREPARE REMOVEDIR a/b/5/
PREPARE REMOVEFILE a/b/4/4text1
PREPARE REMOVEFILE a/b/4/4text0
PREPARE REMOVEDIR a/b/4/
PREPARE REMOVEFILE a/b/3/3text1
PREPARE REMOVEFILE a/b/3/3text0
PREPARE REMOVEDIR a/b/1/10/
PREPARE REMOVEDIR a/b/1/
PREPARE PATCH exe0.exe
PREPARE ADD distribution/extensions/extensions1/extensions1text0
PREPARE PATCH distribution/extensions/extensions1/extensions1png1.png
PREPARE PATCH distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD distribution/extensions/extensions0/extensions0text0
PREPARE PATCH distribution/extensions/extensions0/extensions0png1.png
PREPARE PATCH distribution/extensions/extensions0/extensions0png0.png
PREPARE PATCH 0/0exe0.exe
PREPARE ADD 0/00/00text0
PREPARE PATCH 0/00/00png0.png
PREPARE ADD 2/20/20text0
PREPARE ADD 2/20/20png0.png
PREPARE ADD 0/00/00text2
PREPARE REMOVEFILE 1/10/10text0
PREPARE REMOVEFILE 0/00/00text1
PREPARE REMOVEDIR 9/99/
PREPARE REMOVEDIR 9/99/
PREPARE REMOVEDIR 9/98/
PREPARE REMOVEFILE 9/97/970/97xtext0
PREPARE REMOVEFILE 9/97/970/97xtext1
PREPARE REMOVEDIR 9/97/970/
PREPARE REMOVEFILE 9/97/971/97xtext0
PREPARE REMOVEFILE 9/97/971/97xtext1
PREPARE REMOVEDIR 9/97/971/
PREPARE REMOVEDIR 9/97/
PREPARE REMOVEFILE 9/96/96text0
PREPARE REMOVEFILE 9/96/96text1
PREPARE REMOVEDIR 9/96/
PREPARE REMOVEDIR 9/95/
PREPARE REMOVEDIR 9/95/
PREPARE REMOVEDIR 9/94/
PREPARE REMOVEDIR 9/94/
PREPARE REMOVEDIR 9/93/
PREPARE REMOVEDIR 9/92/
PREPARE REMOVEDIR 9/91/
PREPARE REMOVEDIR 9/90/
PREPARE REMOVEDIR 9/90/
PREPARE REMOVEDIR 8/89/
PREPARE REMOVEDIR 8/89/
PREPARE REMOVEDIR 8/88/
PREPARE REMOVEFILE 8/87/870/87xtext0
PREPARE REMOVEFILE 8/87/870/87xtext1
PREPARE REMOVEDIR 8/87/870/
PREPARE REMOVEFILE 8/87/871/87xtext0
PREPARE REMOVEFILE 8/87/871/87xtext1
PREPARE REMOVEDIR 8/87/871/
PREPARE REMOVEDIR 8/87/
PREPARE REMOVEFILE 8/86/86text0
PREPARE REMOVEFILE 8/86/86text1
PREPARE REMOVEDIR 8/86/
PREPARE REMOVEDIR 8/85/
PREPARE REMOVEDIR 8/85/
PREPARE REMOVEDIR 8/84/
PREPARE REMOVEDIR 8/84/
PREPARE REMOVEDIR 8/83/
PREPARE REMOVEDIR 8/82/
PREPARE REMOVEDIR 8/81/
PREPARE REMOVEDIR 8/80/
PREPARE REMOVEDIR 8/80/
PREPARE REMOVEFILE 7/70/7xtest.exe
PREPARE REMOVEFILE 7/70/7xtext0
PREPARE REMOVEFILE 7/70/7xtext1
PREPARE REMOVEDIR 7/70/
PREPARE REMOVEFILE 7/71/7xtest.exe
PREPARE REMOVEFILE 7/71/7xtext0
PREPARE REMOVEFILE 7/71/7xtext1
PREPARE REMOVEDIR 7/71/
PREPARE REMOVEDIR 7/
PREPARE REMOVEDIR 6/
PREPARE REMOVEFILE 5/5text1
PREPARE REMOVEFILE 5/5text0
PREPARE REMOVEFILE 5/5test.exe
PREPARE REMOVEFILE 5/5text0
PREPARE REMOVEFILE 5/5text1
PREPARE REMOVEDIR 5/
PREPARE REMOVEFILE 4/4text1
PREPARE REMOVEFILE 4/4text0
PREPARE REMOVEDIR 4/
PREPARE REMOVEFILE 3/3text1
PREPARE REMOVEFILE 3/3text0
PREPARE REMOVEDIR 1/10/
PREPARE REMOVEDIR 1/
EXECUTE ADD searchplugins/searchpluginstext0
EXECUTE PATCH searchplugins/searchpluginspng1.png
EXECUTE PATCH searchplugins/searchpluginspng0.png
EXECUTE ADD precomplete
EXECUTE ADD a/b/searchplugins/searchpluginstext0
EXECUTE PATCH a/b/searchplugins/searchpluginspng1.png
EXECUTE PATCH a/b/searchplugins/searchpluginspng0.png
EXECUTE PATCH a/b/exe0.exe
EXECUTE ADD a/b/distribution/extensions/extensions1/extensions1text0
EXECUTE PATCH a/b/distribution/extensions/extensions1/extensions1png1.png
EXECUTE PATCH a/b/distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD a/b/distribution/extensions/extensions0/extensions0text0
EXECUTE PATCH a/b/distribution/extensions/extensions0/extensions0png1.png
EXECUTE PATCH a/b/distribution/extensions/extensions0/extensions0png0.png
EXECUTE PATCH a/b/0/0exe0.exe
EXECUTE ADD a/b/0/00/00text0
EXECUTE PATCH a/b/0/00/00png0.png
EXECUTE ADD a/b/2/20/20text0
EXECUTE ADD a/b/2/20/20png0.png
EXECUTE ADD a/b/0/00/00text2
EXECUTE REMOVEFILE a/b/1/10/10text0
EXECUTE REMOVEFILE a/b/0/00/00text1
EXECUTE REMOVEDIR a/b/9/99/
EXECUTE REMOVEDIR a/b/9/99/
EXECUTE REMOVEDIR a/b/9/98/
EXECUTE REMOVEFILE a/b/9/97/970/97xtext0
EXECUTE REMOVEFILE a/b/9/97/970/97xtext1
EXECUTE REMOVEDIR a/b/9/97/970/
EXECUTE REMOVEFILE a/b/9/97/971/97xtext0
EXECUTE REMOVEFILE a/b/9/97/971/97xtext1
EXECUTE REMOVEDIR a/b/9/97/971/
EXECUTE REMOVEDIR a/b/9/97/
EXECUTE REMOVEFILE a/b/9/96/96text0
EXECUTE REMOVEFILE a/b/9/96/96text1
EXECUTE REMOVEDIR a/b/9/96/
EXECUTE REMOVEDIR a/b/9/95/
EXECUTE REMOVEDIR a/b/9/95/
EXECUTE REMOVEDIR a/b/9/94/
EXECUTE REMOVEDIR a/b/9/94/
EXECUTE REMOVEDIR a/b/9/93/
EXECUTE REMOVEDIR a/b/9/92/
EXECUTE REMOVEDIR a/b/9/91/
EXECUTE REMOVEDIR a/b/9/90/
EXECUTE REMOVEDIR a/b/9/90/
EXECUTE REMOVEDIR a/b/8/89/
EXECUTE REMOVEDIR a/b/8/89/
EXECUTE REMOVEDIR a/b/8/88/
EXECUTE REMOVEFILE a/b/8/87/870/87xtext0
EXECUTE REMOVEFILE a/b/8/87/870/87xtext1
EXECUTE REMOVEDIR a/b/8/87/870/
EXECUTE REMOVEFILE a/b/8/87/871/87xtext0
EXECUTE REMOVEFILE a/b/8/87/871/87xtext1
EXECUTE REMOVEDIR a/b/8/87/871/
EXECUTE REMOVEDIR a/b/8/87/
EXECUTE REMOVEFILE a/b/8/86/86text0
EXECUTE REMOVEFILE a/b/8/86/86text1
EXECUTE REMOVEDIR a/b/8/86/
EXECUTE REMOVEDIR a/b/8/85/
EXECUTE REMOVEDIR a/b/8/85/
EXECUTE REMOVEDIR a/b/8/84/
EXECUTE REMOVEDIR a/b/8/84/
EXECUTE REMOVEDIR a/b/8/83/
EXECUTE REMOVEDIR a/b/8/82/
EXECUTE REMOVEDIR a/b/8/81/
EXECUTE REMOVEDIR a/b/8/80/
EXECUTE REMOVEDIR a/b/8/80/
EXECUTE REMOVEFILE a/b/7/70/7xtest.exe
EXECUTE REMOVEFILE a/b/7/70/7xtext0
EXECUTE REMOVEFILE a/b/7/70/7xtext1
EXECUTE REMOVEDIR a/b/7/70/
EXECUTE REMOVEFILE a/b/7/71/7xtest.exe
EXECUTE REMOVEFILE a/b/7/71/7xtext0
EXECUTE REMOVEFILE a/b/7/71/7xtext1
EXECUTE REMOVEDIR a/b/7/71/
EXECUTE REMOVEDIR a/b/7/
EXECUTE REMOVEDIR a/b/6/
EXECUTE REMOVEFILE a/b/5/5text1
EXECUTE REMOVEFILE a/b/5/5text0
EXECUTE REMOVEFILE a/b/5/5test.exe
EXECUTE REMOVEFILE a/b/5/5text0
EXECUTE PATCH exe0.exe
EXECUTE ADD distribution/extensions/extensions1/extensions1text0
EXECUTE PATCH distribution/extensions/extensions1/extensions1png1.png
EXECUTE PATCH distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD distribution/extensions/extensions0/extensions0text0
EXECUTE PATCH distribution/extensions/extensions0/extensions0png1.png
EXECUTE PATCH distribution/extensions/extensions0/extensions0png0.png
EXECUTE PATCH 0/0exe0.exe
EXECUTE ADD 0/00/00text0
EXECUTE PATCH 0/00/00png0.png
EXECUTE ADD 2/20/20text0
EXECUTE ADD 2/20/20png0.png
EXECUTE ADD 0/00/00text2
EXECUTE REMOVEFILE 1/10/10text0
EXECUTE REMOVEFILE 0/00/00text1
EXECUTE REMOVEDIR 9/99/
EXECUTE REMOVEDIR 9/99/
EXECUTE REMOVEDIR 9/98/
EXECUTE REMOVEFILE 9/97/970/97xtext0
EXECUTE REMOVEFILE 9/97/970/97xtext1
EXECUTE REMOVEDIR 9/97/970/
EXECUTE REMOVEFILE 9/97/971/97xtext0
EXECUTE REMOVEFILE 9/97/971/97xtext1
EXECUTE REMOVEDIR 9/97/971/
EXECUTE REMOVEDIR 9/97/
EXECUTE REMOVEFILE 9/96/96text0
EXECUTE REMOVEFILE 9/96/96text1
EXECUTE REMOVEDIR 9/96/
EXECUTE REMOVEDIR 9/95/
EXECUTE REMOVEDIR 9/95/
EXECUTE REMOVEDIR 9/94/
EXECUTE REMOVEDIR 9/94/
EXECUTE REMOVEDIR 9/93/
EXECUTE REMOVEDIR 9/92/
EXECUTE REMOVEDIR 9/91/
EXECUTE REMOVEDIR 9/90/
EXECUTE REMOVEDIR 9/90/
EXECUTE REMOVEDIR 8/89/
EXECUTE REMOVEDIR 8/89/
EXECUTE REMOVEDIR 8/88/
EXECUTE REMOVEFILE 8/87/870/87xtext0
EXECUTE REMOVEFILE 8/87/870/87xtext1
EXECUTE REMOVEDIR 8/87/870/
EXECUTE REMOVEFILE 8/87/871/87xtext0
EXECUTE REMOVEFILE 8/87/871/87xtext1
EXECUTE REMOVEDIR 8/87/871/
EXECUTE REMOVEDIR 8/87/
EXECUTE REMOVEFILE 8/86/86text0
EXECUTE REMOVEFILE 8/86/86text1
EXECUTE REMOVEDIR 8/86/
EXECUTE REMOVEDIR 8/85/
EXECUTE REMOVEDIR 8/85/
EXECUTE REMOVEDIR 8/84/
EXECUTE REMOVEDIR 8/84/
EXECUTE REMOVEDIR 8/83/
EXECUTE REMOVEDIR 8/82/
EXECUTE REMOVEDIR 8/81/
EXECUTE REMOVEDIR 8/80/
EXECUTE REMOVEDIR 8/80/
EXECUTE REMOVEFILE 7/70/7xtest.exe
EXECUTE REMOVEFILE 7/70/7xtext0
EXECUTE REMOVEFILE 7/70/7xtext1
EXECUTE REMOVEDIR 7/70/
EXECUTE REMOVEFILE 7/71/7xtest.exe
EXECUTE REMOVEFILE 7/71/7xtext0
EXECUTE REMOVEFILE 7/71/7xtext1
EXECUTE REMOVEDIR 7/71/
EXECUTE REMOVEDIR 7/
EXECUTE REMOVEDIR 6/
EXECUTE REMOVEFILE 5/5text1
EXECUTE REMOVEFILE 5/5text0
EXECUTE REMOVEFILE 5/5test.exe
EXECUTE REMOVEFILE 5/5text0
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEFILE a/b/5/5text1
EXECUTE REMOVEFILE 5/5text1
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEDIR a/b/5/
EXECUTE REMOVEFILE a/b/4/4text1
EXECUTE REMOVEFILE a/b/4/4text0
EXECUTE REMOVEDIR a/b/4/
EXECUTE REMOVEFILE a/b/3/3text1
EXECUTE REMOVEFILE a/b/3/3text0
EXECUTE REMOVEDIR a/b/1/10/
EXECUTE REMOVEDIR a/b/1/
EXECUTE REMOVEDIR 5/
EXECUTE REMOVEFILE 4/4text1
EXECUTE REMOVEFILE 4/4text0
EXECUTE REMOVEDIR 4/
EXECUTE REMOVEFILE 3/3text1
EXECUTE REMOVEFILE 3/3text0
EXECUTE REMOVEDIR 1/10/
EXECUTE REMOVEDIR 1/
FINISH ADD searchplugins/searchpluginstext0
FINISH PATCH searchplugins/searchpluginspng1.png
FINISH PATCH searchplugins/searchpluginspng0.png
FINISH ADD precomplete
FINISH ADD a/b/searchplugins/searchpluginstext0
FINISH PATCH a/b/searchplugins/searchpluginspng1.png
FINISH PATCH a/b/searchplugins/searchpluginspng0.png
FINISH PATCH a/b/exe0.exe
FINISH ADD a/b/distribution/extensions/extensions1/extensions1text0
FINISH PATCH a/b/distribution/extensions/extensions1/extensions1png1.png
FINISH PATCH a/b/distribution/extensions/extensions1/extensions1png0.png
FINISH ADD a/b/distribution/extensions/extensions0/extensions0text0
FINISH PATCH a/b/distribution/extensions/extensions0/extensions0png1.png
FINISH PATCH a/b/distribution/extensions/extensions0/extensions0png0.png
FINISH PATCH a/b/0/0exe0.exe
FINISH ADD a/b/0/00/00text0
FINISH PATCH a/b/0/00/00png0.png
FINISH ADD a/b/2/20/20text0
FINISH ADD a/b/2/20/20png0.png
FINISH ADD a/b/0/00/00text2
FINISH REMOVEFILE a/b/1/10/10text0
FINISH REMOVEFILE a/b/0/00/00text1
FINISH REMOVEDIR a/b/9/99/
FINISH REMOVEDIR a/b/9/99/
FINISH PATCH exe0.exe
FINISH ADD distribution/extensions/extensions1/extensions1text0
FINISH PATCH distribution/extensions/extensions1/extensions1png1.png
FINISH PATCH distribution/extensions/extensions1/extensions1png0.png
FINISH ADD distribution/extensions/extensions0/extensions0text0
FINISH PATCH distribution/extensions/extensions0/extensions0png1.png
FINISH PATCH distribution/extensions/extensions0/extensions0png0.png
FINISH PATCH 0/0exe0.exe
FINISH ADD 0/00/00text0
FINISH PATCH 0/00/00png0.png
FINISH ADD 2/20/20text0
FINISH ADD 2/20/20png0.png
FINISH ADD 0/00/00text2
FINISH REMOVEFILE 1/10/10text0
FINISH REMOVEFILE 0/00/00text1
FINISH REMOVEDIR 9/99/
FINISH REMOVEDIR 9/99/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/9/98/
FINISH REMOVEFILE a/b/9/97/970/97xtext0
FINISH REMOVEFILE a/b/9/97/970/97xtext1
FINISH REMOVEDIR a/b/9/97/970/
FINISH REMOVEFILE a/b/9/97/971/97xtext0
FINISH REMOVEFILE a/b/9/97/971/97xtext1
FINISH REMOVEDIR a/b/9/97/971/
FINISH REMOVEDIR a/b/9/97/
FINISH REMOVEFILE a/b/9/96/96text0
FINISH REMOVEFILE a/b/9/96/96text1
FINISH REMOVEDIR a/b/9/96/
FINISH REMOVEDIR a/b/9/95/
FINISH REMOVEDIR a/b/9/95/
FINISH REMOVEDIR 9/98/
FINISH REMOVEFILE 9/97/970/97xtext0
FINISH REMOVEFILE 9/97/970/97xtext1
FINISH REMOVEDIR 9/97/970/
FINISH REMOVEFILE 9/97/971/97xtext0
FINISH REMOVEFILE 9/97/971/97xtext1
FINISH REMOVEDIR 9/97/971/
FINISH REMOVEDIR 9/97/
FINISH REMOVEFILE 9/96/96text0
FINISH REMOVEFILE 9/96/96text1
FINISH REMOVEDIR 9/96/
FINISH REMOVEDIR 9/95/
FINISH REMOVEDIR 9/95/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/9/94/
FINISH REMOVEDIR a/b/9/94/
FINISH REMOVEDIR 9/94/
FINISH REMOVEDIR 9/94/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/9/93/
FINISH REMOVEDIR a/b/9/92/
removing directory: a/b/9/92/, rv: 0
FINISH REMOVEDIR a/b/9/91/
removing directory: a/b/9/91/, rv: 0
FINISH REMOVEDIR a/b/9/90/
FINISH REMOVEDIR a/b/9/90/
FINISH REMOVEDIR 9/93/
FINISH REMOVEDIR 9/92/
removing directory: 9/92/, rv: 0
FINISH REMOVEDIR 9/91/
removing directory: 9/91/, rv: 0
FINISH REMOVEDIR 9/90/
FINISH REMOVEDIR 9/90/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/89/
FINISH REMOVEDIR a/b/8/89/
FINISH REMOVEDIR 8/89/
FINISH REMOVEDIR 8/89/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/88/
FINISH REMOVEFILE a/b/8/87/870/87xtext0
FINISH REMOVEFILE a/b/8/87/870/87xtext1
FINISH REMOVEDIR a/b/8/87/870/
FINISH REMOVEFILE a/b/8/87/871/87xtext0
FINISH REMOVEFILE a/b/8/87/871/87xtext1
FINISH REMOVEDIR a/b/8/87/871/
FINISH REMOVEDIR a/b/8/87/
FINISH REMOVEFILE a/b/8/86/86text0
FINISH REMOVEFILE a/b/8/86/86text1
FINISH REMOVEDIR a/b/8/86/
FINISH REMOVEDIR a/b/8/85/
FINISH REMOVEDIR a/b/8/85/
FINISH REMOVEDIR 8/88/
FINISH REMOVEFILE 8/87/870/87xtext0
FINISH REMOVEFILE 8/87/870/87xtext1
FINISH REMOVEDIR 8/87/870/
FINISH REMOVEFILE 8/87/871/87xtext0
FINISH REMOVEFILE 8/87/871/87xtext1
FINISH REMOVEDIR 8/87/871/
FINISH REMOVEDIR 8/87/
FINISH REMOVEFILE 8/86/86text0
FINISH REMOVEFILE 8/86/86text1
FINISH REMOVEDIR 8/86/
FINISH REMOVEDIR 8/85/
FINISH REMOVEDIR 8/85/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/84/
FINISH REMOVEDIR a/b/8/84/
FINISH REMOVEDIR 8/84/
FINISH REMOVEDIR 8/84/
directory no longer exists; skipping
FINISH REMOVEDIR a/b/8/83/
FINISH REMOVEDIR a/b/8/82/
removing directory: a/b/8/82/, rv: 0
FINISH REMOVEDIR a/b/8/81/
removing directory: a/b/8/81/, rv: 0
FINISH REMOVEDIR a/b/8/80/
FINISH REMOVEDIR a/b/8/80/
FINISH REMOVEDIR 8/83/
FINISH REMOVEDIR 8/82/
removing directory: 8/82/, rv: 0
FINISH REMOVEDIR 8/81/
removing directory: 8/81/, rv: 0
FINISH REMOVEDIR 8/80/
FINISH REMOVEDIR 8/80/
directory no longer exists; skipping
FINISH REMOVEFILE a/b/7/70/7xtest.exe
FINISH REMOVEFILE a/b/7/70/7xtext0
FINISH REMOVEFILE a/b/7/70/7xtext1
FINISH REMOVEDIR a/b/7/70/
FINISH REMOVEFILE a/b/7/71/7xtest.exe
FINISH REMOVEFILE a/b/7/71/7xtext0
FINISH REMOVEFILE a/b/7/71/7xtext1
FINISH REMOVEDIR a/b/7/71/
FINISH REMOVEDIR a/b/7/
FINISH REMOVEDIR a/b/6/
FINISH REMOVEFILE a/b/5/5text1
FINISH REMOVEFILE a/b/5/5text0
FINISH REMOVEFILE a/b/5/5test.exe
FINISH REMOVEDIR a/b/5/
FINISH REMOVEFILE a/b/4/4text1
FINISH REMOVEFILE a/b/4/4text0
FINISH REMOVEDIR a/b/4/
FINISH REMOVEFILE a/b/3/3text1
FINISH REMOVEFILE a/b/3/3text0
FINISH REMOVEDIR a/b/1/10/
FINISH REMOVEDIR a/b/1/
FINISH REMOVEFILE 7/70/7xtest.exe
FINISH REMOVEFILE 7/70/7xtext0
FINISH REMOVEFILE 7/70/7xtext1
FINISH REMOVEDIR 7/70/
FINISH REMOVEFILE 7/71/7xtest.exe
FINISH REMOVEFILE 7/71/7xtext0
FINISH REMOVEFILE 7/71/7xtext1
FINISH REMOVEDIR 7/71/
FINISH REMOVEDIR 7/
FINISH REMOVEDIR 6/
FINISH REMOVEFILE 5/5text1
FINISH REMOVEFILE 5/5text0
FINISH REMOVEFILE 5/5test.exe
FINISH REMOVEDIR 5/
FINISH REMOVEFILE 4/4text1
FINISH REMOVEFILE 4/4text0
FINISH REMOVEDIR 4/
FINISH REMOVEFILE 3/3text1
FINISH REMOVEFILE 3/3text0
FINISH REMOVEDIR 1/10/
FINISH REMOVEDIR 1/
succeeded
calling QuitProgressUI

Просмотреть файл

@ -0,0 +1,273 @@
UPDATE TYPE partial
PREPARE ADD Contents/Resources/searchplugins/searchpluginstext0
PREPARE PATCH Contents/Resources/searchplugins/searchpluginspng1.png
PREPARE PATCH Contents/Resources/searchplugins/searchpluginspng0.png
PREPARE ADD Contents/Resources/precomplete
PREPARE ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
PREPARE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
PREPARE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
PREPARE ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
PREPARE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
PREPARE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
PREPARE PATCH Contents/Resources/0/0exe0.exe
PREPARE ADD Contents/Resources/0/00/00text0
PREPARE PATCH Contents/Resources/0/00/00png0.png
PREPARE PATCH Contents/MacOS/exe0.exe
PREPARE ADD Contents/Resources/2/20/20text0
PREPARE ADD Contents/Resources/2/20/20png0.png
PREPARE ADD Contents/Resources/0/00/00text2
PREPARE REMOVEFILE Contents/Resources/1/10/10text0
PREPARE REMOVEFILE Contents/Resources/0/00/00text1
PREPARE REMOVEDIR Contents/Resources/9/99/
PREPARE REMOVEDIR Contents/Resources/9/99/
PREPARE REMOVEDIR Contents/Resources/9/98/
PREPARE REMOVEFILE Contents/Resources/9/97/970/97xtext0
PREPARE REMOVEFILE Contents/Resources/9/97/970/97xtext1
PREPARE REMOVEDIR Contents/Resources/9/97/970/
PREPARE REMOVEFILE Contents/Resources/9/97/971/97xtext0
PREPARE REMOVEFILE Contents/Resources/9/97/971/97xtext1
PREPARE REMOVEDIR Contents/Resources/9/97/971/
PREPARE REMOVEDIR Contents/Resources/9/97/
PREPARE REMOVEFILE Contents/Resources/9/96/96text0
PREPARE REMOVEFILE Contents/Resources/9/96/96text1
PREPARE REMOVEDIR Contents/Resources/9/96/
PREPARE REMOVEDIR Contents/Resources/9/95/
PREPARE REMOVEDIR Contents/Resources/9/95/
PREPARE REMOVEDIR Contents/Resources/9/94/
PREPARE REMOVEDIR Contents/Resources/9/94/
PREPARE REMOVEDIR Contents/Resources/9/93/
PREPARE REMOVEDIR Contents/Resources/9/92/
PREPARE REMOVEDIR Contents/Resources/9/91/
PREPARE REMOVEDIR Contents/Resources/9/90/
PREPARE REMOVEDIR Contents/Resources/9/90/
PREPARE REMOVEDIR Contents/Resources/8/89/
PREPARE REMOVEDIR Contents/Resources/8/89/
PREPARE REMOVEDIR Contents/Resources/8/88/
PREPARE REMOVEFILE Contents/Resources/8/87/870/87xtext0
PREPARE REMOVEFILE Contents/Resources/8/87/870/87xtext1
PREPARE REMOVEDIR Contents/Resources/8/87/870/
PREPARE REMOVEFILE Contents/Resources/8/87/871/87xtext0
PREPARE REMOVEFILE Contents/Resources/8/87/871/87xtext1
PREPARE REMOVEDIR Contents/Resources/8/87/871/
PREPARE REMOVEDIR Contents/Resources/8/87/
PREPARE REMOVEFILE Contents/Resources/8/86/86text0
PREPARE REMOVEFILE Contents/Resources/8/86/86text1
PREPARE REMOVEDIR Contents/Resources/8/86/
PREPARE REMOVEDIR Contents/Resources/8/85/
PREPARE REMOVEDIR Contents/Resources/8/85/
PREPARE REMOVEDIR Contents/Resources/8/84/
PREPARE REMOVEDIR Contents/Resources/8/84/
PREPARE REMOVEDIR Contents/Resources/8/83/
PREPARE REMOVEDIR Contents/Resources/8/82/
PREPARE REMOVEDIR Contents/Resources/8/81/
PREPARE REMOVEDIR Contents/Resources/8/80/
PREPARE REMOVEDIR Contents/Resources/8/80/
PREPARE REMOVEFILE Contents/Resources/7/70/7xtest.exe
PREPARE REMOVEFILE Contents/Resources/7/70/7xtext0
PREPARE REMOVEFILE Contents/Resources/7/70/7xtext1
PREPARE REMOVEDIR Contents/Resources/7/70/
PREPARE REMOVEFILE Contents/Resources/7/71/7xtest.exe
PREPARE REMOVEFILE Contents/Resources/7/71/7xtext0
PREPARE REMOVEFILE Contents/Resources/7/71/7xtext1
PREPARE REMOVEDIR Contents/Resources/7/71/
PREPARE REMOVEDIR Contents/Resources/7/
PREPARE REMOVEDIR Contents/Resources/6/
PREPARE REMOVEFILE Contents/Resources/5/5text1
PREPARE REMOVEFILE Contents/Resources/5/5text0
PREPARE REMOVEFILE Contents/Resources/5/5test.exe
PREPARE REMOVEFILE Contents/Resources/5/5text0
PREPARE REMOVEFILE Contents/Resources/5/5text1
PREPARE REMOVEDIR Contents/Resources/5/
PREPARE REMOVEFILE Contents/Resources/4/4text1
PREPARE REMOVEFILE Contents/Resources/4/4text0
PREPARE REMOVEDIR Contents/Resources/4/
PREPARE REMOVEFILE Contents/Resources/3/3text1
PREPARE REMOVEFILE Contents/Resources/3/3text0
PREPARE REMOVEDIR Contents/Resources/1/10/
PREPARE REMOVEDIR Contents/Resources/1/
EXECUTE ADD Contents/Resources/searchplugins/searchpluginstext0
EXECUTE PATCH Contents/Resources/searchplugins/searchpluginspng1.png
EXECUTE PATCH Contents/Resources/searchplugins/searchpluginspng0.png
EXECUTE ADD Contents/Resources/precomplete
EXECUTE ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
EXECUTE ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
EXECUTE PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
EXECUTE PATCH Contents/Resources/0/0exe0.exe
EXECUTE ADD Contents/Resources/0/00/00text0
EXECUTE PATCH Contents/Resources/0/00/00png0.png
EXECUTE PATCH Contents/MacOS/exe0.exe
EXECUTE ADD Contents/Resources/2/20/20text0
EXECUTE ADD Contents/Resources/2/20/20png0.png
EXECUTE ADD Contents/Resources/0/00/00text2
EXECUTE REMOVEFILE Contents/Resources/1/10/10text0
EXECUTE REMOVEFILE Contents/Resources/0/00/00text1
EXECUTE REMOVEDIR Contents/Resources/9/99/
EXECUTE REMOVEDIR Contents/Resources/9/99/
EXECUTE REMOVEDIR Contents/Resources/9/98/
EXECUTE REMOVEFILE Contents/Resources/9/97/970/97xtext0
EXECUTE REMOVEFILE Contents/Resources/9/97/970/97xtext1
EXECUTE REMOVEDIR Contents/Resources/9/97/970/
EXECUTE REMOVEFILE Contents/Resources/9/97/971/97xtext0
EXECUTE REMOVEFILE Contents/Resources/9/97/971/97xtext1
EXECUTE REMOVEDIR Contents/Resources/9/97/971/
EXECUTE REMOVEDIR Contents/Resources/9/97/
EXECUTE REMOVEFILE Contents/Resources/9/96/96text0
EXECUTE REMOVEFILE Contents/Resources/9/96/96text1
EXECUTE REMOVEDIR Contents/Resources/9/96/
EXECUTE REMOVEDIR Contents/Resources/9/95/
EXECUTE REMOVEDIR Contents/Resources/9/95/
EXECUTE REMOVEDIR Contents/Resources/9/94/
EXECUTE REMOVEDIR Contents/Resources/9/94/
EXECUTE REMOVEDIR Contents/Resources/9/93/
EXECUTE REMOVEDIR Contents/Resources/9/92/
EXECUTE REMOVEDIR Contents/Resources/9/91/
EXECUTE REMOVEDIR Contents/Resources/9/90/
EXECUTE REMOVEDIR Contents/Resources/9/90/
EXECUTE REMOVEDIR Contents/Resources/8/89/
EXECUTE REMOVEDIR Contents/Resources/8/89/
EXECUTE REMOVEDIR Contents/Resources/8/88/
EXECUTE REMOVEFILE Contents/Resources/8/87/870/87xtext0
EXECUTE REMOVEFILE Contents/Resources/8/87/870/87xtext1
EXECUTE REMOVEDIR Contents/Resources/8/87/870/
EXECUTE REMOVEFILE Contents/Resources/8/87/871/87xtext0
EXECUTE REMOVEFILE Contents/Resources/8/87/871/87xtext1
EXECUTE REMOVEDIR Contents/Resources/8/87/871/
EXECUTE REMOVEDIR Contents/Resources/8/87/
EXECUTE REMOVEFILE Contents/Resources/8/86/86text0
EXECUTE REMOVEFILE Contents/Resources/8/86/86text1
EXECUTE REMOVEDIR Contents/Resources/8/86/
EXECUTE REMOVEDIR Contents/Resources/8/85/
EXECUTE REMOVEDIR Contents/Resources/8/85/
EXECUTE REMOVEDIR Contents/Resources/8/84/
EXECUTE REMOVEDIR Contents/Resources/8/84/
EXECUTE REMOVEDIR Contents/Resources/8/83/
EXECUTE REMOVEDIR Contents/Resources/8/82/
EXECUTE REMOVEDIR Contents/Resources/8/81/
EXECUTE REMOVEDIR Contents/Resources/8/80/
EXECUTE REMOVEDIR Contents/Resources/8/80/
EXECUTE REMOVEFILE Contents/Resources/7/70/7xtest.exe
EXECUTE REMOVEFILE Contents/Resources/7/70/7xtext0
EXECUTE REMOVEFILE Contents/Resources/7/70/7xtext1
EXECUTE REMOVEDIR Contents/Resources/7/70/
EXECUTE REMOVEFILE Contents/Resources/7/71/7xtest.exe
EXECUTE REMOVEFILE Contents/Resources/7/71/7xtext0
EXECUTE REMOVEFILE Contents/Resources/7/71/7xtext1
EXECUTE REMOVEDIR Contents/Resources/7/71/
EXECUTE REMOVEDIR Contents/Resources/7/
EXECUTE REMOVEDIR Contents/Resources/6/
EXECUTE REMOVEFILE Contents/Resources/5/5text1
EXECUTE REMOVEFILE Contents/Resources/5/5text0
EXECUTE REMOVEFILE Contents/Resources/5/5test.exe
EXECUTE REMOVEFILE Contents/Resources/5/5text0
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEFILE Contents/Resources/5/5text1
file cannot be removed because it does not exist; skipping
EXECUTE REMOVEDIR Contents/Resources/5/
EXECUTE REMOVEFILE Contents/Resources/4/4text1
EXECUTE REMOVEFILE Contents/Resources/4/4text0
EXECUTE REMOVEDIR Contents/Resources/4/
EXECUTE REMOVEFILE Contents/Resources/3/3text1
EXECUTE REMOVEFILE Contents/Resources/3/3text0
EXECUTE REMOVEDIR Contents/Resources/1/10/
EXECUTE REMOVEDIR Contents/Resources/1/
FINISH ADD Contents/Resources/searchplugins/searchpluginstext0
FINISH PATCH Contents/Resources/searchplugins/searchpluginspng1.png
FINISH PATCH Contents/Resources/searchplugins/searchpluginspng0.png
FINISH ADD Contents/Resources/precomplete
FINISH ADD Contents/Resources/distribution/extensions/extensions1/extensions1text0
FINISH PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png1.png
FINISH PATCH Contents/Resources/distribution/extensions/extensions1/extensions1png0.png
FINISH ADD Contents/Resources/distribution/extensions/extensions0/extensions0text0
FINISH PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png1.png
FINISH PATCH Contents/Resources/distribution/extensions/extensions0/extensions0png0.png
FINISH PATCH Contents/Resources/0/0exe0.exe
FINISH ADD Contents/Resources/0/00/00text0
FINISH PATCH Contents/Resources/0/00/00png0.png
FINISH PATCH Contents/MacOS/exe0.exe
FINISH ADD Contents/Resources/2/20/20text0
FINISH ADD Contents/Resources/2/20/20png0.png
FINISH ADD Contents/Resources/0/00/00text2
FINISH REMOVEFILE Contents/Resources/1/10/10text0
FINISH REMOVEFILE Contents/Resources/0/00/00text1
FINISH REMOVEDIR Contents/Resources/9/99/
FINISH REMOVEDIR Contents/Resources/9/99/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/9/98/
FINISH REMOVEFILE Contents/Resources/9/97/970/97xtext0
FINISH REMOVEFILE Contents/Resources/9/97/970/97xtext1
FINISH REMOVEDIR Contents/Resources/9/97/970/
FINISH REMOVEFILE Contents/Resources/9/97/971/97xtext0
FINISH REMOVEFILE Contents/Resources/9/97/971/97xtext1
FINISH REMOVEDIR Contents/Resources/9/97/971/
FINISH REMOVEDIR Contents/Resources/9/97/
FINISH REMOVEFILE Contents/Resources/9/96/96text0
FINISH REMOVEFILE Contents/Resources/9/96/96text1
FINISH REMOVEDIR Contents/Resources/9/96/
FINISH REMOVEDIR Contents/Resources/9/95/
FINISH REMOVEDIR Contents/Resources/9/95/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/9/94/
FINISH REMOVEDIR Contents/Resources/9/94/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/9/93/
FINISH REMOVEDIR Contents/Resources/9/92/
removing directory: Contents/Resources/9/92/, rv: 0
FINISH REMOVEDIR Contents/Resources/9/91/
removing directory: Contents/Resources/9/91/, rv: 0
FINISH REMOVEDIR Contents/Resources/9/90/
FINISH REMOVEDIR Contents/Resources/9/90/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/89/
FINISH REMOVEDIR Contents/Resources/8/89/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/88/
FINISH REMOVEFILE Contents/Resources/8/87/870/87xtext0
FINISH REMOVEFILE Contents/Resources/8/87/870/87xtext1
FINISH REMOVEDIR Contents/Resources/8/87/870/
FINISH REMOVEFILE Contents/Resources/8/87/871/87xtext0
FINISH REMOVEFILE Contents/Resources/8/87/871/87xtext1
FINISH REMOVEDIR Contents/Resources/8/87/871/
FINISH REMOVEDIR Contents/Resources/8/87/
FINISH REMOVEFILE Contents/Resources/8/86/86text0
FINISH REMOVEFILE Contents/Resources/8/86/86text1
FINISH REMOVEDIR Contents/Resources/8/86/
FINISH REMOVEDIR Contents/Resources/8/85/
FINISH REMOVEDIR Contents/Resources/8/85/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/84/
FINISH REMOVEDIR Contents/Resources/8/84/
directory no longer exists; skipping
FINISH REMOVEDIR Contents/Resources/8/83/
FINISH REMOVEDIR Contents/Resources/8/82/
removing directory: Contents/Resources/8/82/, rv: 0
FINISH REMOVEDIR Contents/Resources/8/81/
removing directory: Contents/Resources/8/81/, rv: 0
FINISH REMOVEDIR Contents/Resources/8/80/
FINISH REMOVEDIR Contents/Resources/8/80/
directory no longer exists; skipping
FINISH REMOVEFILE Contents/Resources/7/70/7xtest.exe
FINISH REMOVEFILE Contents/Resources/7/70/7xtext0
FINISH REMOVEFILE Contents/Resources/7/70/7xtext1
FINISH REMOVEDIR Contents/Resources/7/70/
FINISH REMOVEFILE Contents/Resources/7/71/7xtest.exe
FINISH REMOVEFILE Contents/Resources/7/71/7xtext0
FINISH REMOVEFILE Contents/Resources/7/71/7xtext1
FINISH REMOVEDIR Contents/Resources/7/71/
FINISH REMOVEDIR Contents/Resources/7/
FINISH REMOVEDIR Contents/Resources/6/
FINISH REMOVEFILE Contents/Resources/5/5text1
FINISH REMOVEFILE Contents/Resources/5/5text0
FINISH REMOVEFILE Contents/Resources/5/5test.exe
FINISH REMOVEDIR Contents/Resources/5/
FINISH REMOVEFILE Contents/Resources/4/4text1
FINISH REMOVEFILE Contents/Resources/4/4text0
FINISH REMOVEDIR Contents/Resources/4/
FINISH REMOVEFILE Contents/Resources/3/3text1
FINISH REMOVEFILE Contents/Resources/3/3text0
FINISH REMOVEDIR Contents/Resources/1/10/
FINISH REMOVEDIR Contents/Resources/1/
succeeded
calling QuitProgressUI

Двоичные данные
toolkit/mozapps/update/tests/data/partial_mac.mar Normal file

Двоичный файл не отображается.

Просмотреть файл

@ -1,20 +1,19 @@
remove "a/b/searchplugins/searchpluginstext0"
remove "a/b/searchplugins/searchpluginspng1.png"
remove "a/b/searchplugins/searchpluginspng0.png"
remove "a/b/removed-files"
remove "a/b/exe0.exe"
remove "a/b/2/20/20text0"
remove "a/b/2/20/20png0.png"
remove "a/b/0/0exe0.exe"
remove "a/b/0/00/00text2"
remove "a/b/0/00/00text0"
remove "a/b/0/00/00png0.png"
rmdir "a/b/searchplugins/"
rmdir "a/b/defaults/pref/"
rmdir "a/b/defaults/"
rmdir "a/b/2/20/"
rmdir "a/b/2/"
rmdir "a/b/0/00/"
rmdir "a/b/0/"
rmdir "a/b/"
rmdir "a/"
remove "searchplugins/searchpluginstext0"
remove "searchplugins/searchpluginspng1.png"
remove "searchplugins/searchpluginspng0.png"
remove "removed-files"
remove "precomplete"
remove "exe0.exe"
remove "2/20/20text0"
remove "2/20/20png0.png"
remove "0/0exe0.exe"
remove "0/00/00text2"
remove "0/00/00text0"
remove "0/00/00png0.png"
rmdir "searchplugins/"
rmdir "defaults/pref/"
rmdir "defaults/"
rmdir "2/20/"
rmdir "2/"
rmdir "0/00/"
rmdir "0/"

Просмотреть файл

@ -0,0 +1,22 @@
remove "Contents/Resources/searchplugins/searchpluginstext0"
remove "Contents/Resources/searchplugins/searchpluginspng1.png"
remove "Contents/Resources/searchplugins/searchpluginspng0.png"
remove "Contents/Resources/removed-files"
remove "Contents/Resources/precomplete"
remove "Contents/Resources/2/20/20text0"
remove "Contents/Resources/2/20/20png0.png"
remove "Contents/Resources/0/0exe0.exe"
remove "Contents/Resources/0/00/00text2"
remove "Contents/Resources/0/00/00text0"
remove "Contents/Resources/0/00/00png0.png"
remove "Contents/MacOS/exe0.exe"
rmdir "Contents/Resources/searchplugins/"
rmdir "Contents/Resources/defaults/pref/"
rmdir "Contents/Resources/defaults/"
rmdir "Contents/Resources/2/20/"
rmdir "Contents/Resources/2/"
rmdir "Contents/Resources/0/00/"
rmdir "Contents/Resources/0/"
rmdir "Contents/Resources/"
rmdir "Contents/MacOS/"
rmdir "Contents/"

Просмотреть файл

@ -0,0 +1,41 @@
Contents/Resources/text0
Contents/Resources/text1
Contents/Resources/3/3text0
Contents/Resources/3/3text1
Contents/Resources/4/exe0.exe
Contents/Resources/4/4text0
Contents/Resources/4/4text1
Contents/Resources/4/
Contents/Resources/5/5text0
Contents/Resources/5/5text1
Contents/Resources/5/*
Contents/Resources/6/
Contents/Resources/7/*
Contents/Resources/8/80/
Contents/Resources/8/81/
Contents/Resources/8/82/
Contents/Resources/8/83/
Contents/Resources/8/84/
Contents/Resources/8/85/*
Contents/Resources/8/86/*
Contents/Resources/8/87/*
Contents/Resources/8/88/*
Contents/Resources/8/89/*
Contents/Resources/8/80/
Contents/Resources/8/84/*
Contents/Resources/8/85/*
Contents/Resources/8/89/
Contents/Resources/9/90/
Contents/Resources/9/91/
Contents/Resources/9/92/
Contents/Resources/9/93/
Contents/Resources/9/94/
Contents/Resources/9/95/*
Contents/Resources/9/96/*
Contents/Resources/9/97/*
Contents/Resources/9/98/*
Contents/Resources/9/99/*
Contents/Resources/9/90/
Contents/Resources/9/94/*
Contents/Resources/9/95/*
Contents/Resources/9/99/

Просмотреть файл

@ -582,22 +582,6 @@ function getGREDir() {
return Services.dirsvc.get(NS_GRE_DIR, AUS_Ci.nsIFile);
}
/**
* Get the "updated" directory inside the directory where we apply the
* staged updates.
* @return The active updates directory inside the updated directory, as a
* nsIFile object.
*/
function getUpdatedDir() {
let dir = getAppBaseDir();
#ifdef XP_MACOSX
dir = dir.parent.parent; // the bundle directory
#endif
dir.append(DIR_UPDATED);
logTestInfo("updated directory path: " + dir.path);
return dir;
}
/**
* Logs TEST-INFO messages.
*

Просмотреть файл

@ -7,9 +7,6 @@ var gNextRunFunc;
var gExpectedStatusResult;
function run_test() {
// This test needs access to omni.ja to read the update.locale file so don't
// use a custom directory for the application directory.
gUseTestAppDir = false;
setupTestCommon();
logTestInfo("testing mar download and mar hash verification");

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -17,10 +17,14 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(false);
if (IS_WIN) {
Services.prefs.setBoolPref(PREF_APP_UPDATE_SERVICE_ENABLED, false);
}
let channel = Services.prefs.getCharPref(PREF_APP_UPDATE_CHANNEL);
let patches = getLocalPatchString(null, null, null, null, null, "true",
STATE_PENDING);
@ -40,6 +44,16 @@ function run_test() {
}
function setupAppFilesFinished() {
// For Mac OS X set the last modified time for the root directory to a date in
// the past to test that the last modified time is updated on a successful
// update (bug 600098).
if (IS_MACOSX) {
let now = Date.now();
let yesterday = now - (1000 * 60 * 60 * 24);
let applyToDir = getApplyDirFile();
applyToDir.lastModifiedTime = yesterday;
}
stageUpdate();
}
@ -67,12 +81,13 @@ function checkUpdateApplied() {
}
function finishTest() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
}
do_check_eq(readStatusState(), STATE_PENDING);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
unlockDirectory(getAppBaseDir());
waitForFilesInUse();
}

Просмотреть файл

@ -18,7 +18,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(true);
@ -112,14 +112,10 @@ function checkUpdateApplied() {
// Don't proceed until the last update log has been created.
let log;
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
log = getUpdatesDir();
} else {
log = getUpdatedDir();
if (IS_MACOSX) {
log.append("Contents");
log.append("MacOS");
}
log = getStageDirFile(null, true);
log.append(DIR_UPDATES);
}
log.append(FILE_LAST_LOG);
@ -133,32 +129,22 @@ function checkUpdateApplied() {
return;
}
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
}
let updatedDir = getUpdatedDir();
logTestInfo("testing " + updatedDir.path + " should exist");
do_check_true(updatedDir.exists());
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
// On Windows, make sure not to use the maintenance service for switching
// the app.
if (IS_WIN) {
writeStatusFile(STATE_APPLIED);
do_check_eq(readStatusState(), STATE_APPLIED);
}
log = getUpdatesDir();
log.append("0");
log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
@ -171,41 +157,27 @@ function checkUpdateApplied() {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatedDir();
if (IS_MACOSX) {
updatesDir.append("Contents");
updatesDir.append("MacOS");
}
updatesDir.append("updates");
log = updatesDir.clone();
log.append("0");
log.append(FILE_UPDATE_LOG);
let updatesDir = getStageDirFile(DIR_UPDATES + "/0", true);
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
log = getStageDirFile(DIR_UPDATES + "/0/" + FILE_UPDATE_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
if (!IS_WIN) {
log = updatesDir.clone();
log.append(FILE_LAST_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_LAST_LOG, true);
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
} else {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
}
log = updatesDir.clone();
log.append(FILE_BACKUP_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_BACKUP_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
// On Windows, make sure not to use the maintenance service for switching
// the app.
if (IS_WIN) {
writeStatusFile(STATE_APPLIED);
do_check_eq(readStatusState(), STATE_APPLIED);
}
// Switch the application to the staged application that was updated by
// launching the application.
do_timeout(TEST_CHECK_TIMEOUT, launchAppToApplyUpdate);
@ -216,7 +188,7 @@ function checkUpdateApplied() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateFinished;
checkPostUpdateAppLog();
} else {
@ -246,7 +218,7 @@ function finishCheckUpdateFinished() {
// Don't proceed until the application was switched out with the staged update
// successfully.
let updatedDir = getUpdatedDir();
let updatedDir = getStageDirFile(null, true);
if (updatedDir.exists()) {
if (gTimeoutRuns > MAX_TIMEOUT_RUNS) {
do_throw("Exceeded while waiting for updated dir to not exist. Path: " +
@ -285,26 +257,23 @@ function finishCheckUpdateFinished() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
let log = getUpdatesDir();
log.append("0");
standardInit();
let update = gUpdateManager.getUpdateAt(0);
do_check_eq(update.state, STATE_SUCCEEDED);
let updatesDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
let log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
if (IS_WIN) {
// On Windows, this log file is written to the AppData directory, and will
// therefore exist.
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
}
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
@ -313,13 +282,8 @@ function finishCheckUpdateFinished() {
log = getUpdatesDir();
log.append(FILE_BACKUP_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatesDir();
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
waitForFilesInUse();
}

Просмотреть файл

@ -16,7 +16,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(false);
@ -87,14 +87,10 @@ function checkUpdateApplied() {
// Don't proceed until the last update log has been created.
let log;
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
log = getUpdatesDir();
} else {
log = getUpdatedDir();
if (IS_MACOSX) {
log.append("Contents");
log.append("MacOS");
}
log = getStageDirFile(null, true);
log.append(DIR_UPDATES);
}
log.append(FILE_LAST_LOG);
@ -108,32 +104,22 @@ function checkUpdateApplied() {
return;
}
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
}
let updatedDir = getUpdatedDir();
logTestInfo("testing " + updatedDir.path + " should exist");
do_check_true(updatedDir.exists());
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
// On Windows, make sure not to use the maintenance service for switching
// the app.
if (IS_WIN) {
writeStatusFile(STATE_APPLIED);
do_check_eq(readStatusState(), STATE_APPLIED);
}
log = getUpdatesDir();
log.append("0");
log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
@ -146,41 +132,27 @@ function checkUpdateApplied() {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatedDir();
if (IS_MACOSX) {
updatesDir.append("Contents");
updatesDir.append("MacOS");
}
updatesDir.append("updates");
log = updatesDir.clone();
log.append("0");
log.append(FILE_UPDATE_LOG);
let updatesDir = getStageDirFile(DIR_UPDATES + "/0", true);
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
log = getStageDirFile(DIR_UPDATES + "/0/" + FILE_UPDATE_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
if (!IS_WIN) {
log = updatesDir.clone();
log.append(FILE_LAST_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_LAST_LOG, true);
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
} else {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
}
log = updatesDir.clone();
log.append(FILE_BACKUP_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_BACKUP_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
// On Windows, make sure not to use the maintenance service for switching
// the app.
if (IS_WIN) {
writeStatusFile(STATE_APPLIED);
do_check_eq(readStatusState(), STATE_APPLIED);
}
// Switch the application to the staged application that was updated by
// launching the application.
do_timeout(TEST_CHECK_TIMEOUT, launchAppToApplyUpdate);
@ -191,7 +163,7 @@ function checkUpdateApplied() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -220,7 +192,7 @@ function finishCheckUpdateApplied() {
// Don't proceed until the application was switched out with the staged update
// successfully.
let updatedDir = getUpdatedDir();
let updatedDir = getStageDirFile(null, true);
if (updatedDir.exists()) {
if (gTimeoutRuns > MAX_TIMEOUT_RUNS) {
do_throw("Exceeded while waiting for updated dir to not exist. Path: " +
@ -259,27 +231,25 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
gSwitchApp = true;
checkUpdateLogContents();
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
gSwitchApp = true;
checkUpdateLogContents();
gSwitchApp = false;
checkCallbackAppLog();
let log = getUpdatesDir();
log.append("0");
standardInit();
let update = gUpdateManager.getUpdateAt(0);
do_check_eq(update.state, STATE_SUCCEEDED);
let updatesDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
let log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
if (IS_WIN) {
// On Windows, this log file is written to the AppData directory, and will
// therefore exist.
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
}
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
@ -288,13 +258,13 @@ function finishCheckUpdateApplied() {
log = getUpdatesDir();
log.append(FILE_BACKUP_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatesDir();
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
}
waitForFilesInUse();
}

Просмотреть файл

@ -16,7 +16,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI();
@ -52,7 +52,7 @@ function setupAppFilesFinished() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateFinished;
checkPostUpdateAppLog();
} else {
@ -120,12 +120,8 @@ function finishCheckUpdateFinished() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
standardInit();
@ -133,6 +129,10 @@ function finishCheckUpdateFinished() {
let update = gUpdateManager.getUpdateAt(0);
do_check_eq(update.state, STATE_SUCCEEDED);
let updatesPatchDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesPatchDir.path + " should exist");
do_check_true(updatesPatchDir.exists());
log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
@ -148,9 +148,5 @@ function finishCheckUpdateFinished() {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesPatchDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesPatchDir.path + " should exist");
do_check_true(updatesPatchDir.exists());
waitForFilesInUse();
}

Просмотреть файл

@ -10,11 +10,11 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch the callback helper application so it is in use during the update.
let callbackApp = getApplyDirFile("a/b/" + gCallbackBinFile);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let callbackApp = getApplyDirFile(DIR_RESOURCES + gCallbackBinFile);
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let callbackAppProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -38,7 +38,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,11 +10,11 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch the callback helper application so it is in use during the update.
let callbackApp = getApplyDirFile("a/b/" + gCallbackBinFile);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let callbackApp = getApplyDirFile(DIR_RESOURCES + gCallbackBinFile);
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let callbackAppProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -39,7 +39,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -8,8 +8,13 @@ function run_test() {
gStageUpdate = true;
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestFiles[gTestFiles.length - 1].originalContents = null;
gTestFiles[gTestFiles.length - 1].compareContents = "FromComplete\n";
gTestFiles[gTestFiles.length - 1].comparePerms = 0o644;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(false);
// For Mac OS X set the last modified time for the root directory to a date in
// the past to test that the last modified time is updated on a successful
@ -17,14 +22,32 @@ function run_test() {
if (IS_MACOSX) {
let now = Date.now();
let yesterday = now - (1000 * 60 * 60 * 24);
let applyToDir = getApplyDirFile(null, true);
let applyToDir = getApplyDirFile();
applyToDir.lastModifiedTime = yesterday;
}
if (IS_UNIX) {
removeSymlink();
createSymlink();
do_register_cleanup(removeSymlink);
gTestFiles.splice(gTestFiles.length - 3, 0,
{
description : "Readable symlink",
fileName : "link",
relPathDir : DIR_RESOURCES,
originalContents : "test",
compareContents : "test",
originalFile : null,
compareFile : null,
originalPerms : 0o666,
comparePerms : 0o666
});
}
// Launch the callback helper application so it is in use during the update
let callbackApp = getApplyDirFile("a/b/" + gCallbackBinFile);
let callbackApp = getApplyDirFile(DIR_RESOURCES + gCallbackBinFile);
callbackApp.permissions = PERMS_DIRECTORY;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let callbackAppProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -37,16 +60,14 @@ function run_test() {
function doUpdate() {
runUpdate(0, STATE_APPLIED, null);
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile(null, true);
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkFilesAfterUpdateSuccess();
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
}
// Switch the application to the staged application that was updated.
gStageUpdate = false;
@ -56,20 +77,77 @@ function doUpdate() {
});
}
/**
* Checks if the post update binary was properly launched for the platforms that
* support launching post update process.
*/
function checkUpdateApplied() {
let applyToDir = getApplyDirFile();
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
finishCheckUpdateApplied();
}
}
/**
* Checks if the update has finished and if it has finished performs checks for
* the test.
*/
function finishCheckUpdateApplied() {
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile();
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
setupHelperFinish();
}
function checkUpdate() {
if (IS_UNIX) {
checkSymlink();
}
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
}
function runHelperProcess(args) {
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let process = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
process.init(helperBin);
logTestInfo("Running " + helperBin.path + " " + args.join(" "));
process.run(true, args, args.length);
do_check_eq(process.exitValue, 0);
}
function createSymlink() {
let args = ["setup-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
getApplyDirFile(DIR_RESOURCES + "link", false).permissions = 0o666;
args = ["setup-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path +"/" + DIR_RESOURCES + "link2", "change-perm"];
runHelperProcess(args);
}
function removeSymlink() {
let args = ["remove-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
args = ["remove-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link2"];
runHelperProcess(args);
}
function checkSymlink() {
let args = ["check-symlink",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
}

Просмотреть файл

@ -8,12 +8,12 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch the callback helper application so it is in use during the update.
let callbackApp = getApplyDirFile("a/b/" + gCallbackBinFile);
let callbackApp = getApplyDirFile(DIR_RESOURCES + gCallbackBinFile);
callbackApp.permissions = PERMS_DIRECTORY;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let callbackAppProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -51,11 +51,7 @@ function checkUpdate() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
}

Просмотреть файл

@ -9,7 +9,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
gCallbackBinFile = "exe0.exe";
@ -22,6 +22,6 @@ function run_test() {
}
function checkUpdateApplied() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackAppLog();
}

Просмотреть файл

@ -9,7 +9,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
gCallbackBinFile = "exe0.exe";
@ -22,6 +22,6 @@ function run_test() {
}
function checkUpdateApplied() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackAppLog();
}

Просмотреть файл

@ -8,7 +8,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
gCallbackBinFile = "exe0.exe";
@ -16,6 +16,6 @@ function run_test() {
}
function checkUpdateApplied() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackAppLog();
}

Просмотреть файл

@ -8,7 +8,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
gCallbackBinFile = "exe0.exe";
@ -16,6 +16,6 @@ function run_test() {
}
function checkUpdateApplied() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackAppLog();
}

Просмотреть файл

@ -11,7 +11,7 @@ function run_test() {
gTestFiles[11].originalFile = "partial.png";
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI();
@ -34,7 +34,7 @@ function run_test() {
* the test.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
}
@ -48,11 +48,7 @@ function checkUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateFailure();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
}
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,12 +10,12 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[13].relPathDir +
gTestFiles[13].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -39,7 +39,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,12 +10,12 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[11].relPathDir +
gTestFiles[11].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -39,7 +39,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,12 +10,12 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[13].relPathDir +
gTestFiles[13].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -40,7 +40,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,12 +10,12 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[11].relPathDir +
gTestFiles[11].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -40,7 +40,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -8,12 +8,12 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, true);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[13].relPathDir +
gTestFiles[13].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -32,7 +32,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackAppLog();
}

Просмотреть файл

@ -8,12 +8,12 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, true);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[11].relPathDir +
gTestFiles[11].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -32,7 +32,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackAppLog();
}

Просмотреть файл

@ -9,19 +9,21 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[3].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[3].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -40,7 +42,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure();
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -9,19 +9,21 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[2].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[2].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -40,7 +42,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure();
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_UNABLE_OPEN_DEST);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,19 +10,21 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[3].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[3].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -46,7 +48,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,19 +10,21 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[2].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[2].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -46,7 +48,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,19 +10,21 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[3].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[3].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -47,7 +49,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -10,19 +10,21 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[2].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[2].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -47,7 +49,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -11,7 +11,7 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[4].relPathDir +
gTestDirs[4].subDirs[0] +
@ -26,7 +26,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[4].subDirFiles[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -50,7 +50,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -11,7 +11,7 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[2].relPathDir +
gTestDirs[2].files[0]);
@ -24,7 +24,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[2].files[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -48,7 +48,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -11,7 +11,7 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[4].relPathDir +
gTestDirs[4].subDirs[0] +
@ -26,7 +26,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[4].subDirFiles[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -51,7 +51,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -11,7 +11,7 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[2].relPathDir +
gTestDirs[2].files[0]);
@ -24,7 +24,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[2].files[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -49,7 +49,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -8,7 +8,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, true);
setupUpdaterTest(FILE_COMPLETE_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[4].relPathDir +
gTestDirs[4].subDirs[0] +
@ -23,7 +23,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[4].subDirFiles[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -42,7 +42,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackAppLog();
}

Просмотреть файл

@ -8,7 +8,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, true);
setupUpdaterTest(FILE_PARTIAL_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[2].relPathDir +
gTestDirs[2].files[0]);
@ -21,7 +21,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[2].files[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -40,7 +40,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackAppLog();
}

Просмотреть файл

@ -12,7 +12,7 @@ function run_test() {
gTestFiles[11].originalFile = "partial.png";
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI(true);
@ -34,27 +34,12 @@ function run_test() {
* the test.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
}
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile();
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
gStageUpdate = false;
checkFilesAfterUpdateFailure();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
gStageUpdate = true;
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
}
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
waitForFilesInUse();
}

Просмотреть файл

@ -5,41 +5,6 @@
/* General Complete MAR File Staged Patch Apply Test */
function runHelperProcess(args) {
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let process = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
process.init(helperBin);
logTestInfo("Running " + helperBin.path + " " + args.join(" "));
process.run(true, args, args.length);
do_check_eq(process.exitValue, 0);
}
function createSymlink() {
let args = ["setup-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/a/b/link"];
runHelperProcess(args);
getApplyDirFile("a/b/link", false).permissions = 0o666;
args = ["setup-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/a/b/link2", "change-perm"];
runHelperProcess(args);
}
function removeSymlink() {
let args = ["remove-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/a/b/link"];
runHelperProcess(args);
args = ["remove-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/a/b/link2"];
runHelperProcess(args);
}
function checkSymlink() {
let args = ["check-symlink", getApplyDirFile().path + "/a/b/link"];
runHelperProcess(args);
}
function run_test() {
gStageUpdate = true;
setupTestCommon();
@ -48,7 +13,7 @@ function run_test() {
gTestFiles[gTestFiles.length - 1].compareContents = "FromComplete\n";
gTestFiles[gTestFiles.length - 1].comparePerms = 0o644;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(false);
@ -62,14 +27,17 @@ function run_test() {
applyToDir.lastModifiedTime = yesterday;
}
if (IS_UNIX) {
// Don't test symlinks on Mac OS X in this test since it tends to timeout.
// It is tested on Mac OS X in marAppInUseStageSuccessComplete_unix.js
if (IS_UNIX && !IS_MACOSX) {
removeSymlink();
createSymlink();
do_register_cleanup(removeSymlink);
gTestFiles.push({
gTestFiles.splice(gTestFiles.length - 3, 0,
{
description : "Readable symlink",
fileName : "link",
relPathDir : "a/b/",
relPathDir : DIR_RESOURCES,
originalContents : "test",
compareContents : "test",
originalFile : null,
@ -81,22 +49,10 @@ function run_test() {
runUpdate(0, STATE_APPLIED, null);
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile();
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
@ -115,7 +71,7 @@ function run_test() {
* support launching post update process.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -137,13 +93,46 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
if (IS_UNIX) {
if (IS_UNIX && !IS_MACOSX) {
checkSymlink();
} else {
// Sorting on Linux is different so skip this check for now.
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
}
function runHelperProcess(args) {
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let process = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
process.init(helperBin);
logTestInfo("Running " + helperBin.path + " " + args.join(" "));
process.run(true, args, args.length);
do_check_eq(process.exitValue, 0);
}
function createSymlink() {
let args = ["setup-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
getApplyDirFile(DIR_RESOURCES + "link", false).permissions = 0o666;
args = ["setup-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link2", "change-perm"];
runHelperProcess(args);
}
function removeSymlink() {
let args = ["remove-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
args = ["remove-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link2"];
runHelperProcess(args);
}
function checkSymlink() {
let args = ["check-symlink",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
}

Просмотреть файл

@ -13,7 +13,7 @@ function run_test() {
gTestFiles[gTestFiles.length - 2].compareContents = "FromPartial\n";
gTestFiles[gTestFiles.length - 2].comparePerms = 0o644;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI(false);
@ -29,22 +29,10 @@ function run_test() {
runUpdate(0, STATE_APPLIED, null);
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile();
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
}
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
@ -63,7 +51,7 @@ function run_test() {
* support launching post update process.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -85,11 +73,7 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
checkCallbackAppLog();
}

Просмотреть файл

@ -9,7 +9,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI();
@ -31,7 +31,7 @@ function run_test() {
* support launching post update process.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -53,11 +53,7 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
gTestFiles[gTestFiles.length - 2].compareContents = "FromPartial\n";
gTestFiles[gTestFiles.length - 2].comparePerms = 0o644;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI(true);
@ -37,7 +37,7 @@ function run_test() {
* support launching post update process.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -59,11 +59,7 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
checkCallbackAppLog();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
// application return code and update.status result.
gTestFiles = gTestFilesCommon;
gTestDirs = [];
setupUpdaterTest(FILE_OLD_VERSION_MAR, false, false);
setupUpdaterTest(FILE_OLD_VERSION_MAR);
createUpdaterINI(true);
@ -31,11 +31,11 @@ function run_test() {
* the test.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
}
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
doTestFinish();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
// application return code and update.status result.
gTestFiles = gTestFilesCommon;
gTestDirs = [];
setupUpdaterTest(FILE_WRONG_CHANNEL_MAR, false, false);
setupUpdaterTest(FILE_WRONG_CHANNEL_MAR);
createUpdaterINI();
@ -31,11 +31,11 @@ function run_test() {
* the test.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
}
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
doTestFinish();
}

Просмотреть файл

@ -14,7 +14,7 @@ function run_test() {
// application return code and update.status result.
gTestFiles = gTestFilesCommon;
gTestDirs = [];
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
setupAppFilesAsync();
}
@ -24,7 +24,7 @@ function setupAppFilesFinished() {
}
function checkUpdateFinished() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
// We need to check the service log even though this is a bootstrap
// because the app bin could be in use by this test by the time the next

Просмотреть файл

@ -21,10 +21,14 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(false);
if (IS_WIN) {
Services.prefs.setBoolPref(PREF_APP_UPDATE_SERVICE_ENABLED, true);
}
let channel = Services.prefs.getCharPref(PREF_APP_UPDATE_CHANNEL);
let patches = getLocalPatchString(null, null, null, null, null, "true",
STATE_PENDING_SVC);
@ -44,6 +48,16 @@ function run_test() {
}
function setupAppFilesFinished() {
// For Mac OS X set the last modified time for the root directory to a date in
// the past to test that the last modified time is updated on a successful
// update (bug 600098).
if (IS_MACOSX) {
let now = Date.now();
let yesterday = now - (1000 * 60 * 60 * 24);
let applyToDir = getApplyDirFile();
applyToDir.lastModifiedTime = yesterday;
}
stageUpdate();
}
@ -71,12 +85,15 @@ function checkUpdateApplied() {
}
function finishTest() {
if (IS_MACOSX || IS_WIN) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file doesn't " +
"exist. Path: " + running.path);
do_check_false(running.exists());
}
do_check_eq(readStatusState(), STATE_PENDING);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
unlockDirectory(getAppBaseDir());
waitForFilesInUse();
}

Просмотреть файл

@ -22,7 +22,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(true);
@ -116,14 +116,10 @@ function checkUpdateApplied() {
// Don't proceed until the last update log has been created.
let log;
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
log = getUpdatesDir();
} else {
log = getUpdatedDir();
if (IS_MACOSX) {
log.append("Contents");
log.append("MacOS");
}
log = getStageDirFile(null, true);
log.append(DIR_UPDATES);
}
log.append(FILE_LAST_LOG);
@ -137,32 +133,23 @@ function checkUpdateApplied() {
return;
}
if (IS_MACOSX || IS_WIN) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file doesn't " +
"exist. Path: " + running.path);
do_check_false(running.exists());
}
let updatedDir = getUpdatedDir();
logTestInfo("testing " + updatedDir.path + " should exist");
do_check_true(updatedDir.exists());
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
// On Windows, make sure not to use the maintenance service for switching
// the app.
if (IS_WIN) {
writeStatusFile(STATE_APPLIED);
do_check_eq(readStatusState(), STATE_APPLIED);
}
log = getUpdatesDir();
log.append("0");
log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
@ -175,34 +162,27 @@ function checkUpdateApplied() {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatedDir();
if (IS_MACOSX) {
updatesDir.append("Contents");
updatesDir.append("MacOS");
}
updatesDir.append("updates");
log = updatesDir.clone();
log.append("0");
log.append(FILE_UPDATE_LOG);
let updatesDir = getStageDirFile(DIR_UPDATES + "/0", true);
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
log = getStageDirFile(DIR_UPDATES + "/0/" + FILE_UPDATE_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
if (!IS_WIN) {
log = updatesDir.clone();
log.append(FILE_LAST_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_LAST_LOG, true);
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
} else {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
}
log = updatesDir.clone();
log.append(FILE_BACKUP_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_BACKUP_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
// Switch the application to the staged application that was updated by
// launching the application.
do_timeout(TEST_CHECK_TIMEOUT, launchAppToApplyUpdate);
@ -213,7 +193,7 @@ function checkUpdateApplied() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateFinished;
checkPostUpdateAppLog();
} else {
@ -243,7 +223,7 @@ function finishCheckUpdateFinished() {
// Don't proceed until the application was switched out with the staged update
// successfully.
let updatedDir = getUpdatedDir();
let updatedDir = getStageDirFile(null, true);
if (updatedDir.exists()) {
if (gTimeoutRuns > MAX_TIMEOUT_RUNS) {
do_throw("Exceeded while waiting for updated dir to not exist. Path: " +
@ -282,26 +262,30 @@ function finishCheckUpdateFinished() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file exists. " +
"Path: " + running.path);
do_check_true(running.exists());
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
let log = getUpdatesDir();
log.append("0");
standardInit();
let update = gUpdateManager.getUpdateAt(0);
do_check_eq(update.state, STATE_SUCCEEDED);
let updatesDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
let log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
if (IS_WIN) {
// On Windows, this log file is written to the AppData directory, and will
// therefore exist.
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
}
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
@ -310,13 +294,8 @@ function finishCheckUpdateFinished() {
log = getUpdatesDir();
log.append(FILE_BACKUP_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatesDir();
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
waitForFilesInUse();
}

Просмотреть файл

@ -20,7 +20,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(false);
@ -91,14 +91,10 @@ function checkUpdateApplied() {
// Don't proceed until the last update log has been created.
let log;
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
log = getUpdatesDir();
} else {
log = getUpdatedDir();
if (IS_MACOSX) {
log.append("Contents");
log.append("MacOS");
}
log = getStageDirFile(null, true);
log.append(DIR_UPDATES);
}
log.append(FILE_LAST_LOG);
@ -112,25 +108,23 @@ function checkUpdateApplied() {
return;
}
if (IS_MACOSX || IS_WIN) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file doesn't " +
"exist. Path: " + running.path);
do_check_false(running.exists());
}
let updatedDir = getUpdatedDir();
logTestInfo("testing " + updatedDir.path + " should exist");
do_check_true(updatedDir.exists());
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
log = getUpdatesDir();
log.append("0");
log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
if (IS_WIN) {
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
@ -143,41 +137,27 @@ function checkUpdateApplied() {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatedDir();
if (IS_MACOSX) {
updatesDir.append("Contents");
updatesDir.append("MacOS");
}
updatesDir.append("updates");
log = updatesDir.clone();
log.append("0");
log.append(FILE_UPDATE_LOG);
let updatesDir = getStageDirFile(DIR_UPDATES + "/0", true);
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
log = getStageDirFile(DIR_UPDATES + "/0/" + FILE_UPDATE_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
if (!IS_WIN) {
log = updatesDir.clone();
log.append(FILE_LAST_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_LAST_LOG, true);
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
} else {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
}
log = updatesDir.clone();
log.append(FILE_BACKUP_LOG);
log = getStageDirFile(DIR_UPDATES + "/" + FILE_BACKUP_LOG, true);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " shouldn't exist");
do_check_false(updatesDir.exists());
// On Windows, make sure not to use the maintenance service for switching
// the app.
if (IS_WIN) {
writeStatusFile(STATE_APPLIED);
do_check_eq(readStatusState(), STATE_APPLIED);
}
// Switch the application to the staged application that was updated by
// launching the application.
do_timeout(TEST_CHECK_TIMEOUT, launchAppToApplyUpdate);
@ -188,7 +168,7 @@ function checkUpdateApplied() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -217,7 +197,7 @@ function finishCheckUpdateApplied() {
// Don't proceed until the application was switched out with the staged update
// successfully.
let updatedDir = getUpdatedDir();
let updatedDir = getStageDirFile(null, true);
if (updatedDir.exists()) {
if (gTimeoutRuns > MAX_TIMEOUT_RUNS) {
do_throw("Exceeded while waiting for updated dir to not exist. Path: " +
@ -256,27 +236,32 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
gSwitchApp = true;
checkUpdateLogContents();
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file exists. " +
"Path: " + running.path);
do_check_true(running.exists());
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
gSwitchApp = true;
checkUpdateLogContents();
gSwitchApp = false;
checkCallbackAppLog();
let log = getUpdatesDir();
log.append("0");
standardInit();
let update = gUpdateManager.getUpdateAt(0);
do_check_eq(update.state, STATE_SUCCEEDED);
let updatesDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
let log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
if (IS_WIN) {
// On Windows, this log file is written to the AppData directory, and will
// therefore exist.
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
}
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
log = getUpdatesDir();
log.append(FILE_LAST_LOG);
@ -285,13 +270,13 @@ function finishCheckUpdateApplied() {
log = getUpdatesDir();
log.append(FILE_BACKUP_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesDir = getUpdatesDir();
updatesDir.append("0");
logTestInfo("testing " + updatesDir.path + " should exist");
do_check_true(updatesDir.exists());
if (IS_WIN || IS_MACOSX) {
logTestInfo("testing " + log.path + " should exist");
do_check_true(log.exists());
} else {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
}
waitForFilesInUse();
}

Просмотреть файл

@ -20,7 +20,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI();
@ -56,7 +56,7 @@ function setupAppFilesFinished() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateFinished;
checkPostUpdateAppLog();
} else {
@ -124,12 +124,8 @@ function finishCheckUpdateFinished() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
standardInit();
@ -137,6 +133,10 @@ function finishCheckUpdateFinished() {
let update = gUpdateManager.getUpdateAt(0);
do_check_eq(update.state, STATE_SUCCEEDED);
let updatesPatchDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesPatchDir.path + " should exist");
do_check_true(updatesPatchDir.exists());
log = getUpdatesPatchDir();
log.append(FILE_UPDATE_LOG);
logTestInfo("testing " + log.path + " shouldn't exist");
@ -152,9 +152,5 @@ function finishCheckUpdateFinished() {
logTestInfo("testing " + log.path + " shouldn't exist");
do_check_false(log.exists());
let updatesPatchDir = getUpdatesPatchDir();
logTestInfo("testing " + updatesPatchDir.path + " should exist");
do_check_true(updatesPatchDir.exists());
waitForFilesInUse();
}

Просмотреть файл

@ -14,11 +14,11 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch the callback helper application so it is in use during the update.
let callbackApp = getApplyDirFile("a/b/" + gCallbackBinFile);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let callbackApp = getApplyDirFile(DIR_RESOURCES + gCallbackBinFile);
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let callbackAppProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -48,7 +48,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -14,11 +14,11 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch the callback helper application so it is in use during the update.
let callbackApp = getApplyDirFile("a/b/" + gCallbackBinFile);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let callbackApp = getApplyDirFile(DIR_RESOURCES + gCallbackBinFile);
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let callbackAppProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -49,7 +49,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -12,12 +12,12 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch the callback helper application so it is in use during the update.
let callbackApp = getApplyDirFile("a/b/" + gCallbackBinFile);
let callbackApp = getApplyDirFile(DIR_RESOURCES + gCallbackBinFile);
callbackApp.permissions = PERMS_DIRECTORY;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let callbackAppProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -59,11 +59,7 @@ function checkUpdate() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackServiceLog();
}

Просмотреть файл

@ -13,7 +13,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
gCallbackBinFile = "exe0.exe";
@ -32,6 +32,6 @@ function checkUpdateFinished() {
}
function checkUpdateApplied() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackAppLog();
}

Просмотреть файл

@ -13,7 +13,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
gCallbackBinFile = "exe0.exe";
@ -32,6 +32,6 @@ function checkUpdateFinished() {
}
function checkUpdateApplied() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackAppLog();
}

Просмотреть файл

@ -12,7 +12,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
gCallbackBinFile = "exe0.exe";
@ -24,6 +24,6 @@ function setupAppFilesFinished() {
}
function checkUpdateFinished() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackServiceLog();
}

Просмотреть файл

@ -12,7 +12,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
gCallbackBinFile = "exe0.exe";
@ -24,6 +24,6 @@ function setupAppFilesFinished() {
}
function checkUpdateFinished() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkCallbackServiceLog();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
gTestFiles[11].originalFile = "partial.png";
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI();
@ -41,11 +41,6 @@ function setupAppFilesFinished() {
* the test.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
}
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
@ -55,11 +50,14 @@ function checkUpdateFinished() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateFailure();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file doesn't " +
"exist. Path: " + running.path);
do_check_false(running.exists());
}
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
checkCallbackServiceLog();
}

Просмотреть файл

@ -14,12 +14,12 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[13].relPathDir +
gTestFiles[13].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -49,7 +49,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -14,12 +14,12 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[11].relPathDir +
gTestFiles[11].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -49,7 +49,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -14,12 +14,12 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[13].relPathDir +
gTestFiles[13].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -50,7 +50,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -14,12 +14,12 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[11].relPathDir +
gTestFiles[11].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -50,7 +50,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -12,12 +12,12 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, true);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[13].relPathDir +
gTestFiles[13].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -40,7 +40,7 @@ function checkUpdateFinished() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackServiceLog();
}

Просмотреть файл

@ -12,12 +12,12 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, true);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Launch an existing file so it is in use during the update.
let fileInUseBin = getApplyDirFile(gTestFiles[11].relPathDir +
gTestFiles[11].fileName);
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -40,7 +40,7 @@ function checkUpdateFinished() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackServiceLog();
}

Просмотреть файл

@ -13,19 +13,21 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[3].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[3].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -48,7 +50,7 @@ function checkUpdateFinished() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure();
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackServiceLog();
}

Просмотреть файл

@ -13,19 +13,21 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[2].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[2].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -48,7 +50,7 @@ function checkUpdateFinished() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure();
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_UNABLE_OPEN_DEST);
checkCallbackServiceLog();
}

Просмотреть файл

@ -14,19 +14,21 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[3].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[3].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -56,7 +58,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -14,19 +14,21 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[2].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[2].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -56,7 +58,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -14,19 +14,21 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[3].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[3].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -57,7 +59,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -14,19 +14,21 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
// Exclusively lock an existing file so it is in use during the update.
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let helperDestDir = getApplyDirFile("a/b/");
let helperDestDir = getApplyDirFile(DIR_RESOURCES);
helperBin.copyTo(helperDestDir, FILE_HELPER_BIN);
helperBin = getApplyDirFile("a/b/" + FILE_HELPER_BIN);
helperBin = getApplyDirFile(DIR_RESOURCES + FILE_HELPER_BIN);
// Strip off the first two directories so the path has to be from the helper's
// working directory.
let lockFileRelPath = gTestFiles[2].relPathDir.split("/");
lockFileRelPath = lockFileRelPath.slice(2);
if (IS_MACOSX) {
lockFileRelPath = lockFileRelPath.slice(2);
}
lockFileRelPath = lockFileRelPath.join("/") + "/" + gTestFiles[2].fileName;
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT, lockFileRelPath];
let lockFileProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -57,7 +59,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[4].relPathDir +
gTestDirs[4].subDirs[0] +
@ -30,7 +30,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[4].subDirFiles[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -60,7 +60,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[2].relPathDir +
gTestDirs[2].files[0]);
@ -28,7 +28,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[2].files[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -58,7 +58,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, false, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_COMPLETE_MAR, true, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[4].relPathDir +
gTestDirs[4].subDirs[0] +
@ -30,7 +30,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[4].subDirFiles[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -61,7 +61,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -15,7 +15,7 @@ function run_test() {
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[2].relPathDir +
gTestDirs[2].files[0]);
@ -28,7 +28,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[2].files[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -59,7 +59,7 @@ function checkUpdateApplied() {
}
function checkUpdate() {
checkFilesAfterUpdateFailure(getApplyDirFile);
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContains(ERR_RENAME_FILE);
checkCallbackAppLog();
}

Просмотреть файл

@ -12,7 +12,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, true);
setupUpdaterTest(FILE_COMPLETE_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[4].relPathDir +
gTestDirs[4].subDirs[0] +
@ -27,7 +27,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[4].subDirFiles[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -50,7 +50,7 @@ function checkUpdateFinished() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackServiceLog();
}

Просмотреть файл

@ -12,7 +12,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesPartialSuccess;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, true);
setupUpdaterTest(FILE_PARTIAL_MAR);
let fileInUseBin = getApplyDirFile(gTestDirs[2].relPathDir +
gTestDirs[2].files[0]);
@ -25,7 +25,7 @@ function run_test() {
helperBin.copyTo(fileInUseDir, gTestDirs[2].files[0]);
// Launch an existing file so it is in use during the update.
let args = [getApplyDirPath() + "a/b/", "input", "output", "-s",
let args = [getApplyDirPath() + DIR_RESOURCES, "input", "output", "-s",
HELPER_SLEEP_TIMEOUT];
let fileInUseProcess = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
@ -48,7 +48,7 @@ function checkUpdateFinished() {
}
function checkUpdate() {
checkFilesAfterUpdateSuccess();
checkFilesAfterUpdateSuccess(getApplyDirFile, false, true);
checkUpdateLogContains(ERR_BACKUP_DISCARD);
checkCallbackServiceLog();
}

Просмотреть файл

@ -16,7 +16,7 @@ function run_test() {
gTestFiles[11].originalFile = "partial.png";
gTestDirs = gTestDirsPartialSuccess;
setTestFilesAndDirsForFailure();
setupUpdaterTest(FILE_PARTIAL_MAR, true, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI(true);
@ -42,27 +42,14 @@ function setupAppFilesFinished() {
* the test.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
// Check that the post update process was not launched.
do_check_false(getPostUpdateFile(".running").exists());
}
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile();
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
gStageUpdate = false;
checkFilesAfterUpdateFailure();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
gStageUpdate = true;
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file doesn't " +
"exist. Path: " + running.path);
do_check_false(running.exists());
}
checkFilesAfterUpdateFailure(getApplyDirFile, true, false);
checkUpdateLogContents(LOG_PARTIAL_FAILURE);
waitForFilesInUse();
}

Просмотреть файл

@ -5,41 +5,6 @@
/* General Complete MAR File Staged Patch Apply Test */
function runHelperProcess(args) {
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let process = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
process.init(helperBin);
logTestInfo("Running " + helperBin.path + " " + args.join(" "));
process.run(true, args, args.length);
do_check_eq(process.exitValue, 0);
}
function createSymlink() {
let args = ["setup-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/a/b/link"];
runHelperProcess(args);
getApplyDirFile("a/b/link", false).permissions = 0o666;
args = ["setup-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/a/b/link2", "change-perm"];
runHelperProcess(args);
}
function removeSymlink() {
let args = ["remove-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/a/b/link"];
runHelperProcess(args);
args = ["remove-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/a/b/link2"];
runHelperProcess(args);
}
function checkSymlink() {
let args = ["check-symlink", getApplyDirFile().path + "/a/b/link"];
runHelperProcess(args);
}
function run_test() {
if (!shouldRunServiceTest()) {
return;
@ -52,7 +17,7 @@ function run_test() {
gTestFiles[gTestFiles.length - 1].compareContents = "FromComplete\n";
gTestFiles[gTestFiles.length - 1].comparePerms = 0o644;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI(false);
@ -66,14 +31,17 @@ function run_test() {
applyToDir.lastModifiedTime = yesterday;
}
if (IS_UNIX) {
// Don't test symlinks on Mac OS X in this test since it tends to timeout.
// It is tested on Mac OS X in marAppInUseStageSuccessComplete_unix.js
if (IS_UNIX && !IS_MACOSX) {
removeSymlink();
createSymlink();
do_register_cleanup(removeSymlink);
gTestFiles.push({
gTestFiles.splice(gTestFiles.length - 3, 0,
{
description : "Readable symlink",
fileName : "link",
relPathDir : "a/b/",
relPathDir : DIR_RESOURCES,
originalContents : "test",
compareContents : "test",
originalFile : null,
@ -91,31 +59,22 @@ function setupAppFilesFinished() {
}
function checkUpdateFinished() {
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile();
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
if (IS_MACOSX || IS_WIN) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file doesn't " +
"exist. Path: " + running.path);
do_check_false(running.exists());
}
// Switch the application to the staged application that was updated.
gStageUpdate = false;
gSwitchApp = true;
runUpdate(0, STATE_SUCCEEDED);
do_timeout(TEST_CHECK_TIMEOUT, function() {
runUpdate(0, STATE_SUCCEEDED);
});
}
/**
@ -123,7 +82,7 @@ function checkUpdateFinished() {
* support launching post update process.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -145,13 +104,53 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
if (IS_UNIX) {
checkSymlink();
} else {
// Sorting on Linux is different so skip this check for now.
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file exists. " +
"Path: " + running.path);
do_check_true(running.exists());
}
if (IS_UNIX && !IS_MACOSX) {
checkSymlink();
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackAppLog();
}
function runHelperProcess(args) {
let helperBin = getTestDirFile(FILE_HELPER_BIN);
let process = AUS_Cc["@mozilla.org/process/util;1"].
createInstance(AUS_Ci.nsIProcess);
process.init(helperBin);
logTestInfo("Running " + helperBin.path + " " + args.join(" "));
process.run(true, args, args.length);
do_check_eq(process.exitValue, 0);
}
function createSymlink() {
let args = ["setup-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
getApplyDirFile(DIR_RESOURCES + "link", false).permissions = 0o666;
args = ["setup-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link2", "change-perm"];
runHelperProcess(args);
}
function removeSymlink() {
let args = ["remove-symlink", "moz-foo", "moz-bar", "target",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
args = ["remove-symlink", "moz-foo2", "moz-bar2", "target2",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link2"];
runHelperProcess(args);
}
function checkSymlink() {
let args = ["check-symlink",
getApplyDirFile().path + "/" + DIR_RESOURCES + "link"];
runHelperProcess(args);
}

Просмотреть файл

@ -17,7 +17,7 @@ function run_test() {
gTestFiles[gTestFiles.length - 2].compareContents = "FromPartial\n";
gTestFiles[gTestFiles.length - 2].comparePerms = 0o644;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI(false);
@ -39,31 +39,22 @@ function setupAppFilesFinished() {
}
function checkUpdateFinished() {
if (IS_MACOSX) {
logTestInfo("testing last modified time on the apply to directory has " +
"changed after a successful update (bug 600098)");
let now = Date.now();
let applyToDir = getApplyDirFile();
let timeDiff = Math.abs(applyToDir.lastModifiedTime - now);
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess(getStageDirFile, true, false);
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
}
if (IS_MACOSX || IS_WIN) {
// Check that the post update process was not launched when staging an
// update.
do_check_false(getPostUpdateFile(".running").exists());
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file doesn't " +
"exist. Path: " + running.path);
do_check_false(running.exists());
}
// Switch the application to the staged application that was updated.
gStageUpdate = false;
gSwitchApp = true;
runUpdate(0, STATE_SUCCEEDED);
do_timeout(TEST_CHECK_TIMEOUT, function() {
runUpdate(0, STATE_SUCCEEDED);
});
}
/**
@ -71,7 +62,7 @@ function checkUpdateFinished() {
* support launching post update process.
*/
function checkUpdateApplied() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateApplied;
checkPostUpdateAppLog();
} else {
@ -93,11 +84,14 @@ function finishCheckUpdateApplied() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
if (IS_WIN || IS_MACOSX) {
let running = getPostUpdateFile(".running");
logTestInfo("checking that the post update process running file exists. " +
"Path: " + running.path);
do_check_true(running.exists());
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
checkCallbackAppLog();
}

Просмотреть файл

@ -13,7 +13,7 @@ function run_test() {
setupTestCommon();
gTestFiles = gTestFilesCompleteSuccess;
gTestDirs = gTestDirsCompleteSuccess;
setupUpdaterTest(FILE_COMPLETE_MAR, false, false);
setupUpdaterTest(FILE_COMPLETE_MAR);
createUpdaterINI();
@ -39,7 +39,7 @@ function setupAppFilesFinished() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateFinished;
checkPostUpdateAppLog();
} else {
@ -61,11 +61,7 @@ function finishCheckUpdateFinished() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_COMPLETE_SUCCESS);
checkCallbackServiceLog();
}

Просмотреть файл

@ -19,7 +19,7 @@ function run_test() {
gTestFiles[gTestFiles.length - 2].compareContents = "FromPartial\n";
gTestFiles[gTestFiles.length - 2].comparePerms = 0o644;
gTestDirs = gTestDirsPartialSuccess;
setupUpdaterTest(FILE_PARTIAL_MAR, false, false);
setupUpdaterTest(FILE_PARTIAL_MAR);
createUpdaterINI(true);
@ -45,7 +45,7 @@ function setupAppFilesFinished() {
* support launching post update process.
*/
function checkUpdateFinished() {
if (IS_MACOSX || IS_WIN) {
if (IS_WIN || IS_MACOSX) {
gCheckFunc = finishCheckUpdateFinished;
checkPostUpdateAppLog();
} else {
@ -67,11 +67,7 @@ function finishCheckUpdateFinished() {
do_check_true(timeDiff < MAC_MAX_TIME_DIFFERENCE);
}
checkFilesAfterUpdateSuccess();
// Sorting on Linux is different so skip this check for now.
if (!IS_UNIX) {
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
}
checkFilesAfterUpdateSuccess(getApplyDirFile, false, false);
checkUpdateLogContents(LOG_PARTIAL_SUCCESS);
checkCallbackServiceLog();
}