diff options
author | Andrew Stubbs <andrew.stubbs@st.com> | 2006-07-19 13:05:21 +0000 |
---|---|---|
committer | Andrew Stubbs <andrew.stubbs@st.com> | 2006-07-19 13:05:21 +0000 |
commit | e59ce0b3beb01bd1d5832c1e676c3e7b0c318293 (patch) | |
tree | ab41a54e0e10a311b70a6dbd58bb288f8865b29e | |
parent | 60f3cccfbd7cc628c4b0b3a6e710e8845ae14098 (diff) | |
download | gdb-e59ce0b3beb01bd1d5832c1e676c3e7b0c318293.tar.gz |
2006-07-19 Andrew Stubbs <andrew.stubbs@st.com>
* gdb.base/ifelse.exp: Remove troublesome 'got here' messages.
-rw-r--r-- | gdb/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/testsuite/gdb.base/ifelse.exp | 16 |
2 files changed, 12 insertions, 8 deletions
diff --git a/gdb/testsuite/ChangeLog b/gdb/testsuite/ChangeLog index 0a50407fbf5..a6ba05e1623 100644 --- a/gdb/testsuite/ChangeLog +++ b/gdb/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2006-07-19 Andrew Stubbs <andrew.stubbs@st.com> + + * gdb.base/ifelse.exp: Remove troublesome 'got here' messages. + 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com> * gdb.arch/i386-size.c, gdb.arch/i386-size.exp: New files. diff --git a/gdb/testsuite/gdb.base/ifelse.exp b/gdb/testsuite/gdb.base/ifelse.exp index fd570a6f55f..1ad6520fb03 100644 --- a/gdb/testsuite/gdb.base/ifelse.exp +++ b/gdb/testsuite/gdb.base/ifelse.exp @@ -30,8 +30,8 @@ gdb_start # with true condition set message "if 1 with empty body" -gdb_test_multiple "if 1\nend\necho got here\\n" $message { - -re ".*got here.*$gdb_prompt $" {pass $message} +gdb_test_multiple "if 1\nend" $message { + -re "$gdb_prompt $" {pass $message} eof { fail "$message (crashed)" gdb_exit @@ -41,8 +41,8 @@ gdb_test_multiple "if 1\nend\necho got here\\n" $message { # with false condition set message "if 0 with empty body" -gdb_test_multiple "if 0\nend\necho got here\\n" $message { - -re ".*got here.*$gdb_prompt $" {pass $message} +gdb_test_multiple "if 0\nend" $message { + -re "$gdb_prompt $" {pass $message} eof { fail "$message (crashed)" gdb_exit @@ -62,8 +62,8 @@ gdb_test "if 1\necho true\\n\nelse\necho false\\n\nend" "true" "" # with true condition set message "if 1 .. else with empty body" -gdb_test_multiple "if 1\nelse\nend\necho got here\\n" $message { - -re ".*got here.*$gdb_prompt $" {pass $message} +gdb_test_multiple "if 1\nelse\nend" $message { + -re "$gdb_prompt $" {pass $message} eof { fail "$message (crashed)" gdb_exit @@ -76,8 +76,8 @@ gdb_test "if 1\necho true\\n\nelse\necho false\\n\nend" "true" "" # with false condition set message "if 0 .. else with empty body" -gdb_test_multiple "if 0\nelse\nend\necho got here\\n" $message { - -re ".*got here.*$gdb_prompt $" {pass $message} +gdb_test_multiple "if 0\nelse\nend" $message { + -re "$gdb_prompt $" {pass $message} eof { fail "$message (crashed)" gdb_exit |