aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/print-internal-string.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/print-internal-string.exp')
-rw-r--r--gdb/testsuite/gdb.base/print-internal-string.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.base/print-internal-string.exp b/gdb/testsuite/gdb.base/print-internal-string.exp
index 156fb80..ddfaaef 100644
--- a/gdb/testsuite/gdb.base/print-internal-string.exp
+++ b/gdb/testsuite/gdb.base/print-internal-string.exp
@@ -27,7 +27,7 @@ if {![runto_main]} {
return 0
}
-if [allow_python_tests] {
+if {[allow_python_tests]} {
# The $_as_string convenience function is implemented in Python.
gdb_test {printf "%s\n", $_as_string("aabbcc")} "\"aabbcc\""