diff options
author | 2021-03-09 14:32:51 +0000 | |
---|---|---|
committer | 2021-03-09 14:32:51 +0000 | |
commit | 5037e09ca0c33e54a901cf0fcbec8f942f5f13ab (patch) | |
tree | 06288ecbeb9245e823dc72bea1d09361be998e3e /android/testing.go | |
parent | 706cb6f344dda552731303b28f8a41cd75a2589e (diff) | |
parent | c5723e3af79c0e167e2c4c0437f392397a54e1fa (diff) |
Merge "Remove the special-casing of /dev from test path normalization."
Diffstat (limited to 'android/testing.go')
-rw-r--r-- | android/testing.go | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/android/testing.go b/android/testing.go index 2c243729e..4eb616a04 100644 --- a/android/testing.go +++ b/android/testing.go @@ -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 { |