libstdc++: Make "nonexistent" paths less predictable in filesystem tests
authorJonathan Wakely <jwakely@redhat.com>
Fri, 12 Feb 2021 15:13:02 +0000 (15:13 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 12 Feb 2021 15:13:02 +0000 (15:13 +0000)
commit4179ec107943bea360b8aa75e29e2c5ad9f13e9e
tree7b08c20a9e43e171d07017176dd9b38765f87732
parentd1a821b93c45bfe7606b5dee8d160c7172b37e3e
libstdc++: Make "nonexistent" paths less predictable in filesystem tests

The helper function for creating new paths doesn't work well on Windows,
because the PID of a process started by Wine is very consistent and so
the same path gets created each time.

libstdc++-v3/ChangeLog:

* testsuite/util/testsuite_fs.h (nonexistent_path): Add
random number to the path.
libstdc++-v3/testsuite/util/testsuite_fs.h