18 lines
668 B
Diff
18 lines
668 B
Diff
2003-02-24 Elena Zannoni <ezannoni@redhat.com>
|
|
|
|
* gdb.gdb/selftest.exp: Add matching on specific Red Hat only version
|
|
string.
|
|
|
|
--- ./gdb/testsuite/gdb.gdb/selftest.exp.1 Fri Jul 11 09:44:09 2003
|
|
+++ ./gdb/testsuite/gdb.gdb/selftest.exp Fri Jul 11 09:44:16 2003
|
|
@@ -314,7 +314,10 @@ proc test_with_self { executable } {
|
|
-re ".\[0-9\]+ = +.+ +0x.*\[0-9.\]+.*$gdb_prompt $" {
|
|
pass "printed version with cast"
|
|
}
|
|
+ -re ".\[0-9\]+ = .Red Hat Linux \[\\(\\)0-9.a-z\\-\]+.*$gdb_prompt $" {
|
|
+ pass "printed version Red Had Linux only"
|
|
+ }
|
|
-re ".*$gdb_prompt $" { fail "printed version" }
|
|
timeout { fail "(timeout) printed version" }
|
|
}
|