mirror of
https://github.com/restic/restic.git
synced 2025-08-21 17:18:03 +00:00
Disable Tests when benchdir is unset
This commit is contained in:
@@ -166,6 +166,10 @@ func countBlobs(t *testing.T, server restic.Server) int {
|
||||
}
|
||||
|
||||
func TestArchiverPreload(t *testing.T) {
|
||||
if *benchArchiveDirectory == "" {
|
||||
t.Skip("benchdir not set, skipping TestArchiverPreload")
|
||||
}
|
||||
|
||||
be := setupBackend(t)
|
||||
defer teardownBackend(t, be)
|
||||
key := setupKey(t, be, "geheim")
|
||||
|
Reference in New Issue
Block a user