diff options
Diffstat (limited to 'libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc')
-rw-r--r-- | libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc b/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc index dc78bb0e75e..d4aaa5b3ea2 100644 --- a/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc +++ b/libstdc++-v3/testsuite/27_io/ios_base/sync_with_stdio/1.cc @@ -25,6 +25,12 @@ // @require@ %-*.tst // @diff@ %-*.tst %-*.txt +// This test fails on platforms using a wrapper, because this test +// redirects stdout to a file and so the exit status printed by the +// wrapper is not visibile to DejaGNU. DejaGNU then assumes that the +// test exited with a non-zero exit status. +// { dg-do run { xfail { ! unwrapped } } } + #include <cstdio> #include <sstream> #include <iostream> |