Merge pull request #20145 from hashicorp/t-cmd-clarify-msg

command/test: Clarify failure (add full path)
This commit is contained in:
Radek Simko 2019-01-30 00:01:09 +00:00 committed by GitHub
commit cb5a7c74ce
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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{