[Issue 16571] New: Unittests should not list /tmp/ recursively
via Digitalmars-d-bugs
digitalmars-d-bugs at puremagic.com
Sat Oct 1 18:22:51 PDT 2016
https://issues.dlang.org/show_bug.cgi?id=16571
Issue ID: 16571
Summary: Unittests should not list /tmp/ recursively
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P1
Component: phobos
Assignee: nobody at puremagic.com
Reporter: andrei at erdani.com
I think I found where the intermittent test failures are:
https://github.com/dlang/phobos/blob/master/std/file.d#L3312
There, we list the full content of /tmp, recursively. That's not quite the
right thing to do. Not only the run time is arbitrarily slow, but the test may
file if certain subdirs are inaccessible.
--
More information about the Digitalmars-d-bugs
mailing list