[PATCH] gdb.threads/manythreads.exp add a default case

Michael Snyder Michael.Snyder@palmsource.com
Fri Mar 2 22:38:00 GMT 2007


-------------- next part --------------
2007-03-02  Michael Snyder  <michael.snyder@palmsource.com>

	* gdb.threads/manythreads.exp: Use $message string for 
	consistancy; add a default (timeout) case.

Index: testsuite/gdb.threads/manythreads.exp
===================================================================
RCS file: /cvs/src/src/gdb/testsuite/gdb.threads/manythreads.exp,v
retrieving revision 1.4
diff -p -r1.4 manythreads.exp
*** testsuite/gdb.threads/manythreads.exp	9 Jan 2007 17:59:14 -0000	1.4
--- testsuite/gdb.threads/manythreads.exp	2 Mar 2007 22:14:36 -0000
*************** gdb_test_multiple "" "stop threads 2" {
*** 108,114 ****
      exp_continue
    }
    -re "Program received signal SIGINT.*$gdb_prompt $" {
!     pass "stop threads 2"
    }
  } 
  
--- 108,117 ----
      exp_continue
    }
    -re "Program received signal SIGINT.*$gdb_prompt $" {
!     pass "$message"
!   }
!   timeout {
!     fail "$message (timeout)"
    }
  } 
  


More information about the Gdb-patches mailing list