aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/completion.exp
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/testsuite/gdb.base/completion.exp')
-rw-r--r--gdb/testsuite/gdb.base/completion.exp5
1 files changed, 1 insertions, 4 deletions
diff --git a/gdb/testsuite/gdb.base/completion.exp b/gdb/testsuite/gdb.base/completion.exp
index 68be35d..53d021a 100644
--- a/gdb/testsuite/gdb.base/completion.exp
+++ b/gdb/testsuite/gdb.base/completion.exp
@@ -724,14 +724,11 @@ gdb_test "cd ${fullsrcdir}" \
# GDB used to fail adding / on directories, on the first try only.
-# Do not use the `completion' start here as it would conflict with the
-# testcase (complete 'file ./gdb.base/complet') expectations.
-set uniquedir ${objdir}/${subdir}/compl-uNiQuEdIr
+set uniquedir ../testsuite/gdb.base/comp-dir
set escapeduniquedir [string_to_regexp ${uniquedir}]
set uniquesu subdi
set uniquesub ${uniquesu}r
set escapeuniquesub [string_to_regexp ${uniquesub}]
-file mkdir ${uniquedir}/${uniquesub}
send_gdb "dir ${uniquedir}\t"
gdb_expect {
-re "${escapeduniquedir}/" {