diff --git a/pkg/shaman/config/testing.go b/pkg/shaman/config/testing.go index 4da32890..61f26ee4 100644 --- a/pkg/shaman/config/testing.go +++ b/pkg/shaman/config/testing.go @@ -25,6 +25,7 @@ package config import ( "io/ioutil" "os" + "path/filepath" "time" ) @@ -35,6 +36,11 @@ func CreateTestConfig() (conf Config, cleanup func()) { panic(err) } + tempDir, err = filepath.EvalSymlinks(tempDir) + if err != nil { + panic(err) + } + conf = Config{ TestTempDir: tempDir, Enabled: true,