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

Commit c5723e3a authored by Lukacs T. Berki's avatar Lukacs T. Berki
Browse files

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

Test: "m nothing"
Change-Id: Ib88f1632792dc9351bcf52dbe78822acf94fad27
parent 35570c14
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 {