From 01610fec498c0ed7a2d1377a3a2a960172355a4b Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 17 Sep 2015 16:33:20 +0100 Subject: [PATCH] Remove non-deterministic part of canonical() test * testsuite/experimental/filesystem/operations/canonical.cc: Remove non-deterministic part of the test. From-SVN: r227873 --- libstdc++-v3/ChangeLog | 3 +++ .../experimental/filesystem/operations/canonical.cc | 11 ----------- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 25aa16b2973..fd1ed22cb93 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2015-09-17 Jonathan Wakely + * testsuite/experimental/filesystem/operations/canonical.cc: Remove + non-deterministic part of the test. + PR libstdc++/65142 * src/c++11/random.cc (random_device::_M_getval()): Retry after short reads. diff --git a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc index d752febf44a..5091a709c41 100644 --- a/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc +++ b/libstdc++-v3/testsuite/experimental/filesystem/operations/canonical.cc @@ -57,17 +57,6 @@ test01() p = canonical( p, ec ); VERIFY( p == "/" ); VERIFY( !ec ); - - p = "/dev/stdin"; - if (exists(p)) - { - auto p2 = canonical(p); - if (is_symlink(p)) - VERIFY( p != p2 ); - else - VERIFY( p == p2 ); - VERIFY( canonical(p2) == p2 ); - } } int -- 2.30.2