From: Yao Qi Date: Sun, 4 Mar 2012 02:36:38 +0000 (+0000) Subject: gdb/testsuite/ X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=69dc1c4dd35a20185a19c62485817029c02d3625;p=binutils-gdb.git gdb/testsuite/ * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error messages for KFAIL. --- diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 37c6d096598..d941bb5fc39 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,8 @@ +2012-03-04 Yao Qi + + * gdb.base/disp-step-syscall.exp (disp_step_cross_syscall): Catch error + messages for KFAIL. + 2012-03-03 Jan Kratochvil * gdb.ada/arrayidx.exp: Call get_compiler_info. New variable old_gcc. diff --git a/gdb/testsuite/gdb.base/disp-step-syscall.exp b/gdb/testsuite/gdb.base/disp-step-syscall.exp index 486701c7eab..915cb97476b 100644 --- a/gdb/testsuite/gdb.base/disp-step-syscall.exp +++ b/gdb/testsuite/gdb.base/disp-step-syscall.exp @@ -127,6 +127,10 @@ proc disp_step_cross_syscall { syscall } { with_test_prefix "$syscall" { fail $test return } + -re "\\\[Inferior .* exited normally\\\].*\r\n$gdb_prompt $" { + fail $test + return + } -re "\r\n$gdb_prompt $" { pass $test }