зеркало из https://github.com/mozilla/gecko-dev.git
Merge f-t to m-c
This commit is contained in:
Коммит
9e2ec4ca98
|
@ -23,8 +23,8 @@ this.FileUtils = {
|
||||||
MODE_APPEND : 0x10,
|
MODE_APPEND : 0x10,
|
||||||
MODE_TRUNCATE : 0x20,
|
MODE_TRUNCATE : 0x20,
|
||||||
|
|
||||||
PERMS_FILE : 0644,
|
PERMS_FILE : 0o644,
|
||||||
PERMS_DIRECTORY : 0755,
|
PERMS_DIRECTORY : 0o755,
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Gets a file at the specified hierarchy under a nsIDirectoryService key.
|
* Gets a file at the specified hierarchy under a nsIDirectoryService key.
|
||||||
|
|
|
@ -64,7 +64,11 @@ reason = Bug 918029 - timeout caused by copying too many files.
|
||||||
[test_0097_restartNotification_stagedServiceBackground.xul]
|
[test_0097_restartNotification_stagedServiceBackground.xul]
|
||||||
[test_0101_background_restartNotification.xul]
|
[test_0101_background_restartNotification.xul]
|
||||||
[test_0102_background_restartNotification_staging.xul]
|
[test_0102_background_restartNotification_staging.xul]
|
||||||
|
skip-if = os == 'linux'
|
||||||
|
reason = Bug 918029 - timeout caused by copying too many files.
|
||||||
[test_0103_background_restartNotification_stagingService.xul]
|
[test_0103_background_restartNotification_stagingService.xul]
|
||||||
|
run-if = os == 'win'
|
||||||
|
reason = only Windows has the maintenance service.
|
||||||
[test_0111_neverButton_basic.xul]
|
[test_0111_neverButton_basic.xul]
|
||||||
[test_0112_neverButton_billboard.xul]
|
[test_0112_neverButton_billboard.xul]
|
||||||
[test_0113_showNeverForVersionRemovedWithPref.xul]
|
[test_0113_showNeverForVersionRemovedWithPref.xul]
|
||||||
|
|
|
@ -39,8 +39,6 @@ function runTest() {
|
||||||
let url = URL_HTTP_UPDATE_XML + "?showDetails=1" + getVersionParams();
|
let url = URL_HTTP_UPDATE_XML + "?showDetails=1" + getVersionParams();
|
||||||
setUpdateURLOverride(url);
|
setUpdateURLOverride(url);
|
||||||
|
|
||||||
setupTimer(180000); // 180 seconds
|
|
||||||
|
|
||||||
gUP.checkForUpdates();
|
gUP.checkForUpdates();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -33,8 +33,6 @@ function runTest() {
|
||||||
let url = URL_HTTP_UPDATE_XML + "?showDetails=1" + getVersionParams();
|
let url = URL_HTTP_UPDATE_XML + "?showDetails=1" + getVersionParams();
|
||||||
setUpdateURLOverride(url);
|
setUpdateURLOverride(url);
|
||||||
|
|
||||||
setupTimer(180000); // 180 seconds
|
|
||||||
|
|
||||||
gAUS.notify(null);
|
gAUS.notify(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -34,8 +34,6 @@ function runTest() {
|
||||||
let url = URL_HTTP_UPDATE_XML + "?showDetails=1" + getVersionParams();
|
let url = URL_HTTP_UPDATE_XML + "?showDetails=1" + getVersionParams();
|
||||||
setUpdateURLOverride(url);
|
setUpdateURLOverride(url);
|
||||||
|
|
||||||
setupTimer(180000); // 180 seconds
|
|
||||||
|
|
||||||
gAUS.notify(null);
|
gAUS.notify(null);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -163,7 +163,7 @@ const TEST_ADDONS = [ "appdisabled_1", "appdisabled_2",
|
||||||
|
|
||||||
var gURLData = URL_HOST + "/" + REL_PATH_DATA + "/";
|
var gURLData = URL_HOST + "/" + REL_PATH_DATA + "/";
|
||||||
|
|
||||||
var gTestTimeout = 45000; // 45 seconds
|
var gTestTimeout = 240000; // 4 minutes
|
||||||
var gTimeoutTimer;
|
var gTimeoutTimer;
|
||||||
|
|
||||||
// The number of SimpleTest.executeSoon calls to perform when waiting on an
|
// The number of SimpleTest.executeSoon calls to perform when waiting on an
|
||||||
|
|
|
@ -10,7 +10,7 @@ function run_test() {
|
||||||
logTestInfo("testing write access to the application directory");
|
logTestInfo("testing write access to the application directory");
|
||||||
var testFile = getCurrentProcessDir();
|
var testFile = getCurrentProcessDir();
|
||||||
testFile.append("update_write_access_test");
|
testFile.append("update_write_access_test");
|
||||||
testFile.create(AUS_Ci.nsIFile.NORMAL_FILE_TYPE, 0644);
|
testFile.create(AUS_Ci.nsIFile.NORMAL_FILE_TYPE, 0o644);
|
||||||
do_check_true(testFile.exists());
|
do_check_true(testFile.exists());
|
||||||
testFile.remove(false);
|
testFile.remove(false);
|
||||||
do_check_false(testFile.exists());
|
do_check_false(testFile.exists());
|
||||||
|
|
|
@ -2205,7 +2205,7 @@ function symlinkUpdateFilesIntoBundleDirectory() {
|
||||||
let dest = getAppDir();
|
let dest = getAppDir();
|
||||||
dest.append("active-update.xml");
|
dest.append("active-update.xml");
|
||||||
if (!dest.exists()) {
|
if (!dest.exists()) {
|
||||||
dest.create(dest.NORMAL_FILE_TYPE, 6 * 64 + 4 * 8 + 4); // 0644
|
dest.create(dest.NORMAL_FILE_TYPE, 0o644);
|
||||||
}
|
}
|
||||||
do_check_true(dest.exists());
|
do_check_true(dest.exists());
|
||||||
let source = getUpdatesRootDir();
|
let source = getUpdatesRootDir();
|
||||||
|
@ -2221,7 +2221,7 @@ function symlinkUpdateFilesIntoBundleDirectory() {
|
||||||
if (dest2.exists()) {
|
if (dest2.exists()) {
|
||||||
dest2.remove(true);
|
dest2.remove(true);
|
||||||
}
|
}
|
||||||
dest2.create(dest.DIRECTORY_TYPE, 7 * 64 + 5 * 8 + 5); // 0755
|
dest2.create(dest.DIRECTORY_TYPE, 0o755);
|
||||||
do_check_true(dest2.exists());
|
do_check_true(dest2.exists());
|
||||||
let source2 = getUpdatesRootDir();
|
let source2 = getUpdatesRootDir();
|
||||||
source2.append("updates");
|
source2.append("updates");
|
||||||
|
@ -2259,7 +2259,7 @@ function adjustPathsOnWindows() {
|
||||||
// running doesn't prevent the updater from moving stuff around.
|
// running doesn't prevent the updater from moving stuff around.
|
||||||
let tmpDir = do_get_profile();
|
let tmpDir = do_get_profile();
|
||||||
tmpDir.append("ExecutableDir.tmp");
|
tmpDir.append("ExecutableDir.tmp");
|
||||||
tmpDir.createUnique(tmpDir.DIRECTORY_TYPE, 7 * 64 + 5 * 8 + 5); // 0755
|
tmpDir.createUnique(tmpDir.DIRECTORY_TYPE, 0o755);
|
||||||
let procDir = getCurrentProcessDir();
|
let procDir = getCurrentProcessDir();
|
||||||
logTestInfo("start - copy the process directory");
|
logTestInfo("start - copy the process directory");
|
||||||
copyMinimumAppFiles(procDir, tmpDir, "bin");
|
copyMinimumAppFiles(procDir, tmpDir, "bin");
|
||||||
|
|
|
@ -16,8 +16,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0767
|
comparePerms : 0o767
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -26,8 +26,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_precomplete",
|
originalFile : "partial_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -36,8 +36,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -47,7 +47,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -56,8 +56,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "removed-files",
|
fileName : "removed-files",
|
||||||
|
@ -66,8 +66,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_removed-files",
|
originalFile : "partial_removed-files",
|
||||||
compareFile : "complete_removed-files",
|
compareFile : "complete_removed-files",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -78,7 +78,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -88,8 +88,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -100,7 +100,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -111,7 +111,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -122,7 +122,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -133,7 +133,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -142,8 +142,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -152,8 +152,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -162,8 +162,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -172,8 +172,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0677,
|
originalPerms : 0o677,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -182,8 +182,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -192,8 +192,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0776,
|
originalPerms : 0o776,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by precomplete (remove)",
|
description : "Removed by precomplete (remove)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
|
|
@ -16,8 +16,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0767
|
comparePerms : 0o767
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -26,8 +26,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_precomplete",
|
originalFile : "partial_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -36,8 +36,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -47,7 +47,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -56,8 +56,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "removed-files",
|
fileName : "removed-files",
|
||||||
|
@ -66,8 +66,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_removed-files",
|
originalFile : "partial_removed-files",
|
||||||
compareFile : "complete_removed-files",
|
compareFile : "complete_removed-files",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -78,7 +78,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -88,8 +88,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -100,7 +100,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -111,7 +111,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -122,7 +122,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -133,7 +133,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -142,8 +142,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -152,8 +152,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -162,8 +162,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -172,8 +172,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0677,
|
originalPerms : 0o677,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -182,8 +182,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -192,8 +192,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0776,
|
originalPerms : 0o776,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by precomplete (remove)",
|
description : "Removed by precomplete (remove)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0775
|
comparePerms : 0o775
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -47,8 +47,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions1text0",
|
fileName : "extensions1text0",
|
||||||
|
@ -77,8 +77,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions1png0.png",
|
fileName : "extensions1png0.png",
|
||||||
|
@ -87,8 +87,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions0text0",
|
fileName : "extensions0text0",
|
||||||
|
@ -97,8 +97,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png1.png",
|
fileName : "extensions0png1.png",
|
||||||
|
@ -107,8 +107,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png0.png",
|
fileName : "extensions0png0.png",
|
||||||
|
@ -117,8 +117,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch)",
|
description : "Not patched for failed update (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -127,8 +127,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch) and causes " +
|
description : "Not patched for failed update (patch) and causes " +
|
||||||
"LoadSourceFile failed",
|
"LoadSourceFile failed",
|
||||||
|
@ -138,8 +138,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -158,8 +158,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -198,8 +198,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not removed for failed update (remove)",
|
description : "Not removed for failed update (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -208,8 +208,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -15,9 +15,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ShouldNotBeReplaced\n",
|
originalContents : "ShouldNotBeReplaced\n",
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -25,9 +23,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -35,9 +31,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0775,
|
|
||||||
comparePerms : 0775
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -46,9 +40,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -57,9 +49,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -68,9 +58,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -79,9 +67,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -90,9 +76,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,9 +85,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -112,9 +94,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -123,9 +103,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -133,9 +111,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -143,9 +119,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -153,9 +127,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -163,9 +135,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -173,9 +143,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -183,9 +151,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -193,9 +159,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -203,9 +167,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -213,9 +175,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -15,9 +15,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ShouldNotBeReplaced\n",
|
originalContents : "ShouldNotBeReplaced\n",
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -25,9 +23,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -35,9 +31,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0775,
|
|
||||||
comparePerms : 0775
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -46,9 +40,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -57,9 +49,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -68,9 +58,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -79,9 +67,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -90,9 +76,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,9 +85,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -112,9 +94,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -123,9 +103,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -133,9 +111,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -143,9 +119,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -153,9 +127,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -163,9 +135,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -173,9 +143,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -183,9 +151,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -193,9 +159,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -203,9 +167,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -213,9 +175,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -15,9 +15,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ShouldNotBeReplaced\n",
|
originalContents : "ShouldNotBeReplaced\n",
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -25,9 +23,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "partial_precomplete",
|
compareFile : "partial_precomplete"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -35,9 +31,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0775,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -46,9 +40,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -57,9 +49,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -68,9 +58,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -79,9 +67,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -90,9 +76,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,9 +85,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -112,9 +94,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -123,9 +103,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -133,9 +111,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -143,9 +119,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -153,9 +127,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -163,9 +135,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -173,9 +143,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -183,9 +151,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -193,9 +159,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -203,9 +167,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -213,9 +175,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0775
|
comparePerms : 0o775
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -47,8 +47,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions1text0",
|
fileName : "extensions1text0",
|
||||||
|
@ -77,8 +77,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions1png0.png",
|
fileName : "extensions1png0.png",
|
||||||
|
@ -87,8 +87,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions0text0",
|
fileName : "extensions0text0",
|
||||||
|
@ -97,8 +97,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png1.png",
|
fileName : "extensions0png1.png",
|
||||||
|
@ -107,8 +107,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png0.png",
|
fileName : "extensions0png0.png",
|
||||||
|
@ -117,8 +117,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch)",
|
description : "Not patched for failed update (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -127,8 +127,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch) and causes " +
|
description : "Not patched for failed update (patch) and causes " +
|
||||||
"LoadSourceFile failed",
|
"LoadSourceFile failed",
|
||||||
|
@ -138,8 +138,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -158,8 +158,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -198,8 +198,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not removed for failed update (remove)",
|
description : "Not removed for failed update (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -208,8 +208,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -17,8 +17,8 @@ var TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 7 * 64 + 6 * 8 + 7, // 0767
|
originalPerms : 0o767,
|
||||||
comparePerms : 7 * 64 + 6 * 8 + 7 // 0767
|
comparePerms : 0o767
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -27,8 +27,8 @@ var TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_precomplete",
|
originalFile : "partial_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 6 * 64 + 6 * 8 + 6, // 0666
|
originalPerms : 0o666,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ var TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 7 * 64 + 7 * 8 + 5, // 0775
|
originalPerms : 0o775,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -48,7 +48,7 @@ var TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ var TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 6 * 64 + 6 * 8 + 6, // 0666
|
originalPerms : 0o666,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "removed-files",
|
fileName : "removed-files",
|
||||||
|
@ -67,8 +67,8 @@ var TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_removed-files",
|
originalFile : "partial_removed-files",
|
||||||
compareFile : "complete_removed-files",
|
compareFile : "complete_removed-files",
|
||||||
originalPerms : 6 * 64 + 6 * 8 + 6, // 0666
|
originalPerms : 0o666,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -79,7 +79,7 @@ var TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -89,8 +89,8 @@ var TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 6 * 64 + 6 * 8 + 6, // 0666
|
originalPerms : 0o666,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,7 +101,7 @@ var TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -112,7 +112,7 @@ var TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -123,7 +123,7 @@ var TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -134,7 +134,7 @@ var TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -143,8 +143,8 @@ var TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 7 * 64 + 7 * 8 + 7, // 0777
|
originalPerms : 0o777,
|
||||||
comparePerms : 7 * 64 + 5 * 8 + 5 // 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -153,8 +153,8 @@ var TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 7 * 64 + 6 * 8 + 7, // 0767
|
originalPerms : 0o767,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -163,8 +163,8 @@ var TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 7 * 64 + 7 * 8 + 7, // 0777
|
originalPerms : 0o777,
|
||||||
comparePerms : 7 * 64 + 5 * 8 + 5 // 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -173,8 +173,8 @@ var TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 6 * 64 + 7 * 8 + 7, // 0677
|
originalPerms : 0o677,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -183,8 +183,8 @@ var TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 7 * 64 + 7 * 8 + 5, // 0775
|
originalPerms : 0o775,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -193,8 +193,8 @@ var TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 7 * 64 + 7 * 8 + 6, // 0776
|
originalPerms : 0o776,
|
||||||
comparePerms : 6 * 64 + 4 * 8 + 4 // 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by precomplete (remove)",
|
description : "Removed by precomplete (remove)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -291,8 +291,8 @@ function run_test() {
|
||||||
compareContents : "test",
|
compareContents : "test",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 6 * 64 + 6 * 8 + 4, // 0664
|
originalPerms : 0o664,
|
||||||
comparePerms : 6 * 64 + 6 * 8 + 4 // 0664
|
comparePerms : 0o664
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "partial_precomplete",
|
compareFile : "partial_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -48,8 +48,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -59,8 +59,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -71,7 +71,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -81,8 +81,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -92,8 +92,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -103,8 +103,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -114,8 +114,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -125,8 +125,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -135,8 +135,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -145,8 +145,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -155,8 +155,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -165,8 +165,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -176,7 +176,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -186,7 +186,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -196,7 +196,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
|
|
@ -17,8 +17,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0767
|
comparePerms : 0o767
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_precomplete",
|
originalFile : "partial_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -48,7 +48,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "removed-files",
|
fileName : "removed-files",
|
||||||
|
@ -67,8 +67,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_removed-files",
|
originalFile : "partial_removed-files",
|
||||||
compareFile : "complete_removed-files",
|
compareFile : "complete_removed-files",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -79,7 +79,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -89,8 +89,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,7 +101,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -112,7 +112,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -123,7 +123,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -134,7 +134,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -143,8 +143,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -153,8 +153,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -163,8 +163,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -173,8 +173,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0677,
|
originalPerms : 0o677,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -183,8 +183,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -193,8 +193,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0776,
|
originalPerms : 0o776,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by precomplete (remove)",
|
description : "Removed by precomplete (remove)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "partial_precomplete",
|
compareFile : "partial_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -48,8 +48,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -59,8 +59,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -71,7 +71,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -81,8 +81,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -92,8 +92,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -103,8 +103,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -114,8 +114,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -125,8 +125,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -135,8 +135,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -145,8 +145,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -155,8 +155,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -165,8 +165,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -176,7 +176,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -186,7 +186,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -196,7 +196,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
|
|
@ -16,8 +16,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0767
|
comparePerms : 0o767
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -26,8 +26,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_precomplete",
|
originalFile : "partial_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -36,8 +36,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -47,7 +47,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -56,8 +56,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "removed-files",
|
fileName : "removed-files",
|
||||||
|
@ -66,8 +66,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_removed-files",
|
originalFile : "partial_removed-files",
|
||||||
compareFile : "complete_removed-files",
|
compareFile : "complete_removed-files",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -78,7 +78,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -88,8 +88,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -100,7 +100,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -111,7 +111,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -122,7 +122,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -133,7 +133,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -142,8 +142,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -152,8 +152,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -162,8 +162,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -172,8 +172,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0677,
|
originalPerms : 0o677,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -182,8 +182,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -192,8 +192,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0776,
|
originalPerms : 0o776,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by precomplete (remove)",
|
description : "Removed by precomplete (remove)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0775
|
comparePerms : 0o775
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -47,8 +47,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions1text0",
|
fileName : "extensions1text0",
|
||||||
|
@ -77,8 +77,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions1png0.png",
|
fileName : "extensions1png0.png",
|
||||||
|
@ -87,8 +87,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions0text0",
|
fileName : "extensions0text0",
|
||||||
|
@ -97,8 +97,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png1.png",
|
fileName : "extensions0png1.png",
|
||||||
|
@ -107,8 +107,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png0.png",
|
fileName : "extensions0png0.png",
|
||||||
|
@ -117,8 +117,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch)",
|
description : "Not patched for failed update (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -127,8 +127,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch) and causes " +
|
description : "Not patched for failed update (patch) and causes " +
|
||||||
"LoadSourceFile failed",
|
"LoadSourceFile failed",
|
||||||
|
@ -138,8 +138,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -158,8 +158,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -198,8 +198,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not removed for failed update (remove)",
|
description : "Not removed for failed update (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -208,8 +208,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -15,9 +15,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ShouldNotBeReplaced\n",
|
originalContents : "ShouldNotBeReplaced\n",
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -25,9 +23,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -35,9 +31,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0775,
|
|
||||||
comparePerms : 0775
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -46,9 +40,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -57,9 +49,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -68,9 +58,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -79,9 +67,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -90,9 +76,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,9 +85,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -112,9 +94,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -123,9 +103,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -133,9 +111,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -143,9 +119,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -153,9 +127,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -163,9 +135,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -173,9 +143,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -183,9 +151,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -193,9 +159,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -203,9 +167,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -213,9 +175,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -15,9 +15,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ShouldNotBeReplaced\n",
|
originalContents : "ShouldNotBeReplaced\n",
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -25,9 +23,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -35,9 +31,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0775,
|
|
||||||
comparePerms : 0775
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -46,9 +40,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -57,9 +49,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -68,9 +58,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -79,9 +67,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -90,9 +76,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,9 +85,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -112,9 +94,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -123,9 +103,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -133,9 +111,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -143,9 +119,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : 0755
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -153,9 +127,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "ToBeReplacedWithFromPartial\n",
|
compareContents : "ToBeReplacedWithFromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -163,9 +135,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -173,9 +143,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -183,9 +151,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -193,9 +159,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -203,9 +167,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -213,9 +175,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : "ToBeDeleted\n",
|
compareContents : "ToBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -15,9 +15,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ShouldNotBeReplaced\n",
|
originalContents : "ShouldNotBeReplaced\n",
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -25,9 +23,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "partial_precomplete",
|
compareFile : "partial_precomplete"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -35,9 +31,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0775,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -46,9 +40,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -57,9 +49,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -68,9 +58,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -79,9 +67,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -90,9 +76,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,9 +85,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -112,9 +94,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -123,9 +103,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -133,9 +111,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -143,9 +119,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0755,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -153,9 +127,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeReplacedWithFromPartial\n",
|
originalContents : "ToBeReplacedWithFromPartial\n",
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : 0644,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -163,9 +135,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : 0666,
|
|
||||||
comparePerms : 0666
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -173,9 +143,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -183,9 +151,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png"
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -193,9 +159,7 @@ const TEST_FILES = [
|
||||||
originalContents : null,
|
originalContents : null,
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : 0644
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -203,9 +167,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -213,9 +175,7 @@ const TEST_FILES = [
|
||||||
originalContents : "ToBeDeleted\n",
|
originalContents : "ToBeDeleted\n",
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null
|
||||||
originalPerms : null,
|
|
||||||
comparePerms : null
|
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0775
|
comparePerms : 0o775
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -47,8 +47,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions1text0",
|
fileName : "extensions1text0",
|
||||||
|
@ -77,8 +77,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions1png0.png",
|
fileName : "extensions1png0.png",
|
||||||
|
@ -87,8 +87,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add-if)",
|
description : "Not added for failed update (add-if)",
|
||||||
fileName : "extensions0text0",
|
fileName : "extensions0text0",
|
||||||
|
@ -97,8 +97,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png1.png",
|
fileName : "extensions0png1.png",
|
||||||
|
@ -107,8 +107,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch-if)",
|
description : "Not patched for failed update (patch-if)",
|
||||||
fileName : "extensions0png0.png",
|
fileName : "extensions0png0.png",
|
||||||
|
@ -117,8 +117,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch)",
|
description : "Not patched for failed update (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -127,8 +127,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not patched for failed update (patch) and causes " +
|
description : "Not patched for failed update (patch) and causes " +
|
||||||
"LoadSourceFile failed",
|
"LoadSourceFile failed",
|
||||||
|
@ -138,8 +138,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -158,8 +158,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not added for failed update (add)",
|
description : "Not added for failed update (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -198,8 +198,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Not removed for failed update (remove)",
|
description : "Not removed for failed update (remove)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -208,8 +208,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeDeleted\n",
|
compareContents : "ShouldNotBeDeleted\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}];
|
}];
|
||||||
|
|
||||||
ADDITIONAL_TEST_DIRS = [
|
ADDITIONAL_TEST_DIRS = [
|
||||||
|
|
|
@ -17,8 +17,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0767
|
comparePerms : 0o767
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_precomplete",
|
originalFile : "partial_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -48,7 +48,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "removed-files",
|
fileName : "removed-files",
|
||||||
|
@ -67,8 +67,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_removed-files",
|
originalFile : "partial_removed-files",
|
||||||
compareFile : "complete_removed-files",
|
compareFile : "complete_removed-files",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -79,7 +79,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -89,8 +89,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,7 +101,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -112,7 +112,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -123,7 +123,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -134,7 +134,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -143,8 +143,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -153,8 +153,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -163,8 +163,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -173,8 +173,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0677,
|
originalPerms : 0o677,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -183,8 +183,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -193,8 +193,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0776,
|
originalPerms : 0o776,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by precomplete (remove)",
|
description : "Removed by precomplete (remove)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "partial_precomplete",
|
compareFile : "partial_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -48,8 +48,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -59,8 +59,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -71,7 +71,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -81,8 +81,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -92,8 +92,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -103,8 +103,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -114,8 +114,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -125,8 +125,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -135,8 +135,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -145,8 +145,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -155,8 +155,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -165,8 +165,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -176,7 +176,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -186,7 +186,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -196,7 +196,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
|
|
@ -17,8 +17,8 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0767
|
comparePerms : 0o767
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "precomplete",
|
fileName : "precomplete",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_precomplete",
|
originalFile : "partial_precomplete",
|
||||||
compareFile : "complete_precomplete",
|
compareFile : "complete_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng1.png",
|
fileName : "searchpluginspng1.png",
|
||||||
|
@ -48,7 +48,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginspng0.png",
|
fileName : "searchpluginspng0.png",
|
||||||
|
@ -57,8 +57,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "removed-files",
|
fileName : "removed-files",
|
||||||
|
@ -67,8 +67,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial_removed-files",
|
originalFile : "partial_removed-files",
|
||||||
compareFile : "complete_removed-files",
|
compareFile : "complete_removed-files",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -79,7 +79,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -89,8 +89,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -101,7 +101,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -112,7 +112,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -123,7 +123,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -134,7 +134,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -143,8 +143,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
@ -153,8 +153,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0767,
|
originalPerms : 0o767,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -163,8 +163,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "partial.png",
|
originalFile : "partial.png",
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0777,
|
originalPerms : 0o777,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text1",
|
fileName : "00text1",
|
||||||
|
@ -173,8 +173,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0677,
|
originalPerms : 0o677,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -183,8 +183,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromComplete\n",
|
compareContents : "FromComplete\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -193,8 +193,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "complete.png",
|
compareFile : "complete.png",
|
||||||
originalPerms : 0776,
|
originalPerms : 0o776,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by precomplete (remove)",
|
description : "Removed by precomplete (remove)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
|
|
@ -17,7 +17,7 @@ const TEST_FILES = [
|
||||||
compareContents : "ShouldNotBeReplaced\n",
|
compareContents : "ShouldNotBeReplaced\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : null
|
comparePerms : null
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
|
@ -27,8 +27,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete_precomplete",
|
originalFile : "complete_precomplete",
|
||||||
compareFile : "partial_precomplete",
|
compareFile : "partial_precomplete",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "searchpluginstext0",
|
fileName : "searchpluginstext0",
|
||||||
|
@ -37,8 +37,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0775,
|
originalPerms : 0o775,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -48,8 +48,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the file exists " +
|
description : "Patched by update.manifest if the file exists " +
|
||||||
"(patch-if)",
|
"(patch-if)",
|
||||||
|
@ -59,8 +59,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -71,7 +71,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -81,8 +81,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -92,8 +92,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest if the parent directory " +
|
description : "Added by update.manifest if the parent directory " +
|
||||||
"exists (add-if)",
|
"exists (add-if)",
|
||||||
|
@ -103,8 +103,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -114,8 +114,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest if the parent directory " +
|
description : "Patched by update.manifest if the parent directory " +
|
||||||
"exists (patch-if)",
|
"exists (patch-if)",
|
||||||
|
@ -125,8 +125,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "exe0.exe",
|
fileName : "exe0.exe",
|
||||||
|
@ -135,8 +135,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "0exe0.exe",
|
fileName : "0exe0.exe",
|
||||||
|
@ -145,8 +145,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0755,
|
originalPerms : 0o755,
|
||||||
comparePerms : 0755
|
comparePerms : 0o755
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text0",
|
fileName : "00text0",
|
||||||
|
@ -155,8 +155,8 @@ const TEST_FILES = [
|
||||||
compareContents : "FromPartial\n",
|
compareContents : "FromPartial\n",
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : 0644,
|
originalPerms : 0o644,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Patched by update.manifest (patch)",
|
description : "Patched by update.manifest (patch)",
|
||||||
fileName : "00png0.png",
|
fileName : "00png0.png",
|
||||||
|
@ -165,8 +165,8 @@ const TEST_FILES = [
|
||||||
compareContents : null,
|
compareContents : null,
|
||||||
originalFile : "complete.png",
|
originalFile : "complete.png",
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : 0666,
|
originalPerms : 0o666,
|
||||||
comparePerms : 0666
|
comparePerms : 0o666
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20text0",
|
fileName : "20text0",
|
||||||
|
@ -176,7 +176,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "20png0.png",
|
fileName : "20png0.png",
|
||||||
|
@ -186,7 +186,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : "partial.png",
|
compareFile : "partial.png",
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Added by update.manifest (add)",
|
description : "Added by update.manifest (add)",
|
||||||
fileName : "00text2",
|
fileName : "00text2",
|
||||||
|
@ -196,7 +196,7 @@ const TEST_FILES = [
|
||||||
originalFile : null,
|
originalFile : null,
|
||||||
compareFile : null,
|
compareFile : null,
|
||||||
originalPerms : null,
|
originalPerms : null,
|
||||||
comparePerms : 0644
|
comparePerms : 0o644
|
||||||
}, {
|
}, {
|
||||||
description : "Removed by update.manifest (remove)",
|
description : "Removed by update.manifest (remove)",
|
||||||
fileName : "10text0",
|
fileName : "10text0",
|
||||||
|
|
Загрузка…
Ссылка в новой задаче