aboutsummaryrefslogtreecommitdiff
path: root/runtest.exp
diff options
context:
space:
mode:
Diffstat (limited to 'runtest.exp')
-rw-r--r--runtest.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtest.exp b/runtest.exp
index 9f0997f..8e7c262 100644
--- a/runtest.exp
+++ b/runtest.exp
@@ -1838,7 +1838,7 @@ foreach current_target $target_list {
# list of directories. Look for match on each item.
set found 0
foreach directory $cmdline_dir_to_run {
- if {[string match "*${directory}*" $dir]} {
+ if {[string match $directory $dir]} {
set found 1
break
}