Add option to disable symlinks (fixes #1017)

This commit is contained in:
Audrius Butkevicius
2014-11-30 22:10:32 +00:00
parent 2d7b0cf94d
commit 7ad711f554
5 changed files with 10 additions and 1 deletions

View File

@@ -53,6 +53,7 @@ func TestDefaultValues(t *testing.T) {
KeepTemporariesH: 24,
CacheIgnoredFiles: true,
ProgressUpdateIntervalS: 5,
DisableSymlinks: false,
}
cfg := New(device1)
@@ -155,6 +156,7 @@ func TestOverriddenValues(t *testing.T) {
KeepTemporariesH: 48,
CacheIgnoredFiles: false,
ProgressUpdateIntervalS: 10,
DisableSymlinks: true,
}
cfg, err := Load("testdata/overridenvalues.xml", device1)