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

26bbde
2003-02-24  Elena Zannoni  <ezannoni@redhat.com>
26bbde
26bbde
        * gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
26bbde
        string.
26bbde
26bbde
Index: gdb-7.1.90.20100711/gdb/testsuite/gdb.gdb/selftest.exp
26bbde
===================================================================
26bbde
--- gdb-7.1.90.20100711.orig/gdb/testsuite/gdb.gdb/selftest.exp	2010-06-26 08:44:47.000000000 +0200
26bbde
+++ gdb-7.1.90.20100711/gdb/testsuite/gdb.gdb/selftest.exp	2010-07-12 09:59:42.000000000 +0200
26bbde
@@ -342,6 +342,9 @@ proc test_with_self { executable } {
26bbde
 	-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
26bbde
 	    pass "printed version with cast"
26bbde
 	}
26bbde
+	-re ".\[0-9\]+ = .(Fedora|Red Hat Enterprise Linux) \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
26bbde
+	    pass "printed version Fedora or Red Hat Enterprise Linux only"
26bbde
+	}
26bbde
     }
26bbde
 
26bbde
     do_steps_and_nexts