service/test: Follow symlinks in integration tests
This commit is contained in:
parent
389e96ae95
commit
3194ab1c9b
@ -52,6 +52,10 @@ func testProgPath(t *testing.T, name string) string {
|
|||||||
t.Fatal(err)
|
t.Fatal(err)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
sympath, err := filepath.EvalSymlinks(fp)
|
||||||
|
if err == nil {
|
||||||
|
fp = strings.Replace(sympath, "\\", "/", -1)
|
||||||
|
}
|
||||||
return fp
|
return fp
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user