1 2003-02-24 Elena Zannoni <ezannoni@redhat.com>
3 * gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
6 Index: gdb-6.8/gdb/testsuite/gdb.gdb/selftest.exp
7 ===================================================================
8 --- gdb-6.8.orig/gdb/testsuite/gdb.gdb/selftest.exp 2008-01-26 14:56:37.000000000 +0100
9 +++ gdb-6.8/gdb/testsuite/gdb.gdb/selftest.exp 2008-07-14 10:23:50.000000000 +0200
10 @@ -354,6 +354,9 @@ proc test_with_self { executable } {
11 -re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
12 pass "printed version with cast"
14 + -re ".\[0-9\]+ = .Fedora \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
15 + pass "printed version Fedora only"
17 -re ".*$gdb_prompt $" { fail "printed version" }
18 timeout { fail "(timeout) printed version" }