Merge pull request #20145 from hashicorp/t-cmd-clarify-msg
command/test: Clarify failure (add full path)
This commit is contained in:
commit
cb5a7c74ce
|
@ -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{
|
||||
|
|
Loading…
Reference in New Issue