Cache ignore file matches

This commit is contained in:
Audrius Butkevicius
2014-10-12 22:35:15 +01:00
parent baf4cc225e
commit 665c5992f0
9 changed files with 302 additions and 36 deletions

View File

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