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
00cf531
--- ./gdb/testsuite/gdb.gdb/selftest.exp.1	Fri Jul 11 09:44:09 2003
00cf531
+++ ./gdb/testsuite/gdb.gdb/selftest.exp	Fri Jul 11 09:44:16 2003
00cf531
@@ -314,7 +314,10 @@ proc test_with_self { executable } {
00cf531
 	-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
00cf531
 	    pass "printed version with cast"
00cf531
 	}
5bed391
+	-re ".\[0-9\]+ = .Fedora \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
5bed391
+	    pass "printed version Fedora only"
00cf531
+	}
00cf531
 	-re ".*$gdb_prompt $"	{ fail "printed version" }
00cf531
 	timeout		{ fail "(timeout) printed version" }
00cf531
     }