Merge pull request #842 from AudriusButkevicius/ignorecache

Cache ignore file matches
This commit is contained in:
Jakob Borg
2014-10-14 12:43:21 +02:00
9 changed files with 302 additions and 36 deletions

View File

@@ -51,6 +51,7 @@ func TestDefaultValues(t *testing.T) {
RestartOnWakeup: true,
AutoUpgradeIntervalH: 12,
KeepTemporariesH: 24,
CacheIgnoredFiles: true,
}
cfg := New(device1)
@@ -148,6 +149,7 @@ func TestOverriddenValues(t *testing.T) {
RestartOnWakeup: false,
AutoUpgradeIntervalH: 24,
KeepTemporariesH: 48,
CacheIgnoredFiles: false,
}
cfg, err := Load("testdata/overridenvalues.xml", device1)