Merge pull request #25263 from hashicorp/alisdair/fix-test-cleanup

command: Fix test cleanup
pull/25265/head
Alisdair McDiarmid 6 years ago committed by GitHub
commit a3231814c2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -745,7 +745,10 @@ func TestImport_missingModuleConfig(t *testing.T) {
}
func TestImportModuleVarFile(t *testing.T) {
defer testChdir(t, testFixturePath("import-module-var-file"))()
td := tempDir(t)
copy.CopyDir(testFixturePath("import-module-var-file"), td)
defer os.RemoveAll(td)
defer testChdir(t, td)()
statePath := testTempFile(t)

Loading…
Cancel
Save