aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/utf8-identifiers.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/utf8-identifiers.exp')
-rw-r--r--gdb/testsuite/gdb.base/utf8-identifiers.exp4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/testsuite/gdb.base/utf8-identifiers.exp b/gdb/testsuite/gdb.base/utf8-identifiers.exp
index fe868e5..8d19dbc 100644
--- a/gdb/testsuite/gdb.base/utf8-identifiers.exp
+++ b/gdb/testsuite/gdb.base/utf8-identifiers.exp
@@ -23,7 +23,7 @@ load_lib completion-support.exp
if { [is_c_compiler_gcc] } {
# Gcc fully supports fextended-identifiers starting GCC 5.
- require {expr [gcc_major_version] >= 5}
+ require {expr {[gcc_major_version] >= 5}}
}
require {have_host_locale C.UTF-8}
@@ -36,7 +36,7 @@ if { [prepare_for_testing "failed to prepare" ${testfile} [list $srcfile]] } {
return -1
}
-if ![runto done] {
+if {![runto done]} {
return
}