Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 5037e09c authored by Lukács T. Berki's avatar Lukács T. Berki Committed by Gerrit Code Review
Browse files

Merge "Remove the special-casing of /dev from test path normalization."

parents 706cb6f3 c5723e3a
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -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 {