mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
Merge pull request #26170 from hashicorp/pselle/fixE2Etests-osx
Update workDir of e2e binary to eval symlinks
This commit is contained in:
commit
afa43d9484
@ -37,6 +37,11 @@ func NewBinary(binaryPath, workingDir string) *binary {
|
|||||||
panic(err)
|
panic(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
tmpDir, err = filepath.EvalSymlinks(tmpDir)
|
||||||
|
if err != nil {
|
||||||
|
panic(err)
|
||||||
|
}
|
||||||
|
|
||||||
// For our purposes here we do a very simplistic file copy that doesn't
|
// For our purposes here we do a very simplistic file copy that doesn't
|
||||||
// attempt to preserve file permissions, attributes, alternate data
|
// attempt to preserve file permissions, attributes, alternate data
|
||||||
// streams, etc. Since we only have to deal with our own fixtures in
|
// streams, etc. Since we only have to deal with our own fixtures in
|
||||||
|
Loading…
Reference in New Issue
Block a user