Blame SOURCES/gdb-6.3-rh-testversion-20041202.patch

7bc85d
From FEDORA_PATCHES Mon Sep 17 00:00:00 2001
7bc85d
From: Elena Zannoni <ezannoni@redhat.com>
7bc85d
Date: Fri, 27 Oct 2017 21:07:50 +0200
7bc85d
Subject: gdb-6.3-rh-testversion-20041202.patch
7bc85d
7bc85d
;; Match the Fedora's version info.
7bc85d
;;=fedora
7bc85d
7bc85d
2003-02-24  Elena Zannoni  <ezannoni@redhat.com>
7bc85d
7bc85d
        * gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
7bc85d
        string.
7bc85d
7bc85d
diff --git a/gdb/testsuite/gdb.gdb/selftest.exp b/gdb/testsuite/gdb.gdb/selftest.exp
7bc85d
--- a/gdb/testsuite/gdb.gdb/selftest.exp
7bc85d
+++ b/gdb/testsuite/gdb.gdb/selftest.exp
7bc85d
@@ -53,6 +53,9 @@ proc test_with_self { } {
7bc85d
 	-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
7bc85d
 	    pass "printed version with cast"
7bc85d
 	}
7bc85d
+	-re ".\[0-9\]+ = .(Fedora|Red Hat Enterprise Linux) \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
7bc85d
+	    pass "printed version Fedora or Red Hat Enterprise Linux only"
7bc85d
+	}
7bc85d
     }
7bc85d
 
7bc85d
     # start the "xgdb" process