command/test: Clarify failure (add full path)

This commit is contained in:
Radek Simko 2019-01-29 22:16:41 +00:00
parent 6749287aa3
commit 37f397dded
No known key found for this signature in database
GPG Key ID: 1F1C84FE689A88D7
1 changed files with 2 additions and 1 deletions

View File

@ -85,7 +85,8 @@ func TestInit_fromModule_explicitDest(t *testing.T) {
// is causing a terraform.tfstate to get left behind in our directory
// here, which can interfere with our init process in a way that
// isn't relevant to this test.
t.Fatalf("some other test has left terraform.tfstate behind")
fullPath, _ := filepath.Abs(DefaultStateFilename)
t.Fatalf("some other test has left terraform.tfstate behind:\n%s", fullPath)
}
args := []string{