Merge "Remove the special-casing of /dev from test path normalization."
This commit is contained in:
commit
5037e09ca0
1 changed files with 0 additions and 4 deletions
|
@ -787,10 +787,6 @@ func NormalizePathForTesting(path Path) string {
|
|||
return "<nil path>"
|
||||
}
|
||||
p := path.String()
|
||||
// Allow absolute paths to /dev/
|
||||
if strings.HasPrefix(p, "/dev/") {
|
||||
return p
|
||||
}
|
||||
if w, ok := path.(WritablePath); ok {
|
||||
rel, err := filepath.Rel(w.buildDir(), p)
|
||||
if err != nil {
|
||||
|
|
Loading…
Reference in a new issue