Blame SOURCES/0010-Don-t-verify-exception-handling-in-basic_filebuf-clo.patch

e60d6e
From d1555ffdd9b4fa6f3ceaa166bbfee0b3b9973ecf Mon Sep 17 00:00:00 2001
e60d6e
From: David Malcolm <dmalcolm@redhat.com>
e60d6e
Date: Wed, 1 Sep 2021 11:24:34 -0400
e60d6e
Subject: [PATCH 10/17] Don't verify exception handling in basic_filebuf::close
e60d6e
 in DTS [PR81256]
e60d6e
e60d6e
27_io/basic_filebuf/close/81256.cc was added upstream 2018-05-14 in
e60d6e
  PR libstdc++/81256 fix exception handling in basic_filebuf::close
e60d6e
    https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=e77497ab777d3dfa19224648d658220807ab7419
e60d6e
e60d6e
When run under DTS,
e60d6e
  std::basic_filebuf<wchar_t, std::char_traits<wchar_t> >::close
e60d6e
comes from the system libstdc++, and hence the test fails.
e60d6e
---
e60d6e
 libstdc++-v3/testsuite/27_io/basic_filebuf/close/81256.cc | 1 -
e60d6e
 1 file changed, 1 deletion(-)
e60d6e
e60d6e
--- a/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/81256.cc
e60d6e
+++ b/libstdc++-v3/testsuite/27_io/basic_filebuf/close/wchar_t/81256.cc
e60d6e
@@ -80,7 +80,6 @@ test01()
e60d6e
       caught = true;
e60d6e
     }
e60d6e
     VERIFY( conv.exceptions_thrown == 1 );
e60d6e
-    VERIFY( caught );
e60d6e
   }
e60d6e
   VERIFY( conv.exceptions_thrown == 1 );
e60d6e
 }
e60d6e
-- 
e60d6e
2.31.1
e60d6e