[gdb/testsuite] Stabilize gdb-caching-proc.exp test order
[deliverable/binutils-gdb.git] / gdb / testsuite / gdb.base / gdb11531.exp
index 4f5b89c5183904848415e402544f2edad8830b45..a2ba43c3eafd237c3e3e1288ef8c533d591e1c40 100644 (file)
@@ -1,6 +1,6 @@
 # This testcase is part of GDB, the GNU debugger.
 
-# Copyright 2010-2012 Free Software Foundation, Inc.
+# Copyright 2010-2019 Free Software Foundation, Inc.
 
 # This program is free software; you can redistribute it and/or modify
 # it under the terms of the GNU General Public License as published by
 # It affects Solaris native targets.
 
 
-set testfile "gdb11531"
+standard_testfile
 
-if { [prepare_for_testing $testfile.exp $testfile $testfile.c {debug}] } {
-    return -1;
+if { [prepare_for_testing "failed to prepare" $testfile $testfile.c {debug}] } {
+    return -1
 }
 
 # Disable hardware watchpoints if necessary.
@@ -50,7 +50,7 @@ delete_breakpoints
 
 set nl "\[\r\n\]+"
 
-gdb_test "watch myrec.x" ".*atchpoint \[0-9\]+: myrec\.x" "Set watchpoint"
+gdb_test "watch myrec.x" ".*atchpoint \[0-9\]+: myrec\.x" "set watchpoint"
 
 gdb_test "next" \
     ".*${nl}.*atchpoint \[0-9\]+: myrec\.x${nl}Old value = 0${nl}New value = 5${nl}.*" \
This page took 0.025975 seconds and 4 git commands to generate.