]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[gdb/testsuite, tclint] Fix syntax error in gdb.base/dtrace-probe.exp
authorTom de Vries <tdevries@suse.de>
Thu, 11 Sep 2025 16:31:37 +0000 (18:31 +0200)
committerTom de Vries <tdevries@suse.de>
Thu, 11 Sep 2025 16:31:37 +0000 (18:31 +0200)
commit2517917f0c79098df416d87d62a342162e0ef625
treec7c8d0fc6a8dff4623be8ff0125e34406575da3b
parent4c99cc54233d97d712c4a78810ba0ff0850ec3f8
[gdb/testsuite, tclint] Fix syntax error in gdb.base/dtrace-probe.exp

When running tclint with gdb.base/dtrace-probe.exp I get:
...
$ tclint gdb.base/dtrace-probe.exp
$exp:67:45: syntax error: expected newline or semicolon, got ]
...
due to these lines:
...
    67      runto "-probe-dtrace test:two-locations"]
    68      runto "-probe-dtrace test:two-locations"]
...

Fix this by dropping the trailing ']'.

Tested by rerunning tclint.

Approved-By: Simon Marchi <simon.marchi@efficios.com>
PR testsuite/33403
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=33403
gdb/testsuite/gdb.base/dtrace-probe.exp