• Russ Cox's avatar
    path/filepath: fix race with other tests · 5dc8c4db
    Russ Cox authored
    Bug3486 tried to walk the entire file tree, but other tests might
    be creating and removing files in that tree. In particular, package os
    creates and removes files in the os directory, and issue 5863
    reports failures due to seeing those files appear and then disappear.
    
    Change the test to walk just the test tree, which should not be
    changing.
    
    Fixes #5863.
    
    R=golang-dev, bradfitz
    CC=golang-dev
    https://golang.org/cl/13467045
    5dc8c4db
Name
Last commit
Last update
..
filepath Loading commit data...
example_test.go Loading commit data...
match.go Loading commit data...
match_test.go Loading commit data...
path.go Loading commit data...
path_test.go Loading commit data...