rpms/coredumper/F-11 coredumper_unittest_c.patch, NONE, 1.1 coredumper.spec, 1.2, 1.3

Rakesh Pandit rakesh at fedoraproject.org
Tue Apr 21 04:28:11 UTC 2009


Author: rakesh

Update of /cvs/pkgs/rpms/coredumper/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv17561

Modified Files:
	coredumper.spec 
Added Files:
	coredumper_unittest_c.patch 
Log Message:

Fix for test suite -- (as per changed GDB messages).


coredumper_unittest_c.patch:

--- NEW FILE coredumper_unittest_c.patch ---
--- coredumper-1.2.1/src/coredumper_unittest.c-orig	2008-04-02 02:31:17.000000000 +0200
+++ coredumper-1.2.1/src/coredumper_unittest.c	2009-04-20 11:07:20.000000000 +0200
@@ -424,7 +424,7 @@ static void CheckWithGDB(FILE *input, FI
    * to gdb. "*" is a glob wildcard character.
    */
   static const char *msg[] = { "Core was generated by",
-                               " @ process * *"DUMPFUNCTION,
+                               " @ Thread * *"DUMPFUNCTION,
                                "[Switching to thread * *"DUMPFUNCTION,
                                "#* *CoreDump",
                                "#@ * TestCoreDump",
@@ -432,7 +432,7 @@ static void CheckWithGDB(FILE *input, FI
                                "$1 = ",
 #ifdef THREADS
                                " Busy",
-                               " @ process * Busy",
+                               " @ Thread * Busy",
                                "[Switching to thread * Busy",
                                "Busy",
                                "Busy",


Index: coredumper.spec
===================================================================
RCS file: /cvs/pkgs/rpms/coredumper/F-11/coredumper.spec,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- coredumper.spec	24 Feb 2009 09:11:32 -0000	1.2
+++ coredumper.spec	21 Apr 2009 04:27:41 -0000	1.3
@@ -1,6 +1,6 @@
 Name:           coredumper
 Version:        1.2.1
-Release:        7%{?dist}
+Release:        8%{?dist}
 Summary:        Library to create core dumps
 
 Group:          Development/Tools
@@ -8,6 +8,7 @@
 URL:            http://code.google.com/p/google-%{name}/
 Source0:        http://google-%{name}.googlecode.com/files/%{name}-%{version}.tar.gz
 Patch0:         coredumper-remove_linux_dirent_h.patch
+Patch1:         coredumper_unittest_c.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires:  binutils, gdb
 
@@ -38,6 +39,7 @@
 %setup -q
 
 %patch0 -p1 -b .remove_linux_dirent_h
+%patch1 -p1 -b .coredumper_unittest_c
 
 %build
 %configure --enable-static=no
@@ -80,6 +82,9 @@
 %{_includedir}/google/*.h
 
 %changelog
+* Mon Apr 20 2009 Rakesh Pandit <rakesh at fedoraproject.org> - 1.2.1-8
+- GDB messages changed, fixes the test suite - by Jan Kratochvil (FTBFS #496523)
+
 * Tue Feb 24 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 1.2.1-7
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the scm-commits mailing list