mirror of
https://github.com/restic/restic.git
synced 2026-06-27 11:04:17 +00:00
5683224a3c
Each time a local backend is created, the local backend also creates all shard subdirectories. For the integration tests this has the downside that this results in ~120 (number of test) * 256 (number of directories) = 30k directories that are created unnecessarily. This significantly slows down test execution and cleanup.
10 lines
112 B
Go
10 lines
112 B
Go
package layout
|
|
|
|
import (
|
|
"testing"
|
|
)
|
|
|
|
func TestDisablePackSubdirs(t testing.TB) {
|
|
disablePackSubdirs = true
|
|
}
|