Versions in this module Expand all Collapse all v0 v0.1.0 Aug 21, 2015 Changes in this version + var BenchArchiveDirectory = getStringVar("RESTIC_BENCH_DIR", ".") + var RunFuseTest = getBoolVar("RESTIC_TEST_FUSE", true) + var RunIntegrationTest = getBoolVar("RESTIC_TEST_INTEGRATION", true) + var TestCleanup = getBoolVar("RESTIC_TEST_CLEANUP", true) + var TestPassword = getStringVar("RESTIC_TEST_PASSWORD", "geheim") + var TestSFTPPath = getStringVar("RESTIC_TEST_SFTPPATH", "/usr/lib/ssh:/usr/lib/openssh") + var TestTempDir = getStringVar("RESTIC_TEST_TMPDIR", "") + var TestWalkerPath = getStringVar("RESTIC_TEST_PATH", ".") + func Assert(tb testing.TB, condition bool, msg string, v ...interface{}) + func Equals(tb testing.TB, exp, act interface{}) + func OK(tb testing.TB, err error) + func OKs(tb testing.TB, errs []error) + func OpenLocalRepo(t testing.TB, dir string) *repository.Repository + func ParseID(s string) backend.ID + func Random(seed, count int) []byte + func RandomReader(seed, size int) *bytes.Reader + func RemoveAll(t testing.TB, path string) + func ResetReadOnly(t testing.TB, dir string) + func SetupRepo() *repository.Repository + func SetupTarTestFixture(t testing.TB, outputDir, tarFile string) + func SnapshotDir(t testing.TB, repo *repository.Repository, path string, parent *backend.ID) *restic.Snapshot + func TeardownRepo(repo *repository.Repository) + func WithRepo(t testing.TB, f func(*repository.Repository)) + func WithTestEnvironment(t testing.TB, repoFixture string, f func(repodir string)) v0.1.0-doc Feb 21, 2016