aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python/python.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.python/python.exp')
-rw-r--r--gdb/testsuite/gdb.python/python.exp6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/testsuite/gdb.python/python.exp b/gdb/testsuite/gdb.python/python.exp
index 48ff07e..15ec525 100644
--- a/gdb/testsuite/gdb.python/python.exp
+++ b/gdb/testsuite/gdb.python/python.exp
@@ -217,7 +217,7 @@ clean_restart ${testfile}
# The following tests require execution.
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}
@@ -431,7 +431,7 @@ clean_restart ${testfile}
# The following tests require execution.
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}
@@ -486,7 +486,7 @@ clean_restart ${testfile}
# The following tests require execution.
-if ![runto_main] then {
+if {![runto_main]} {
return 0
}