forked from TrueCloudLab/restic
Remove flags from tests
This commit is contained in:
parent
002c7883c3
commit
030f08a410
7 changed files with 44 additions and 20 deletions
|
@ -103,11 +103,11 @@ var nodeTests = []restic.Node{
|
|||
}
|
||||
|
||||
func TestNodeRestoreAt(t *testing.T) {
|
||||
tempdir, err := ioutil.TempDir(*TestTempDir, "restic-test-")
|
||||
tempdir, err := ioutil.TempDir(TestTempDir, "restic-test-")
|
||||
OK(t, err)
|
||||
|
||||
defer func() {
|
||||
if *TestCleanup {
|
||||
if TestCleanup {
|
||||
OK(t, os.RemoveAll(tempdir))
|
||||
} else {
|
||||
t.Logf("leaving tempdir at %v", tempdir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue