keiths / rpms / gdb

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