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

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