aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.base/completion.exp
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2010-02-16 20:18:53 +0000
committerDaniel Jacobowitz <drow@false.org>2010-02-16 20:18:53 +0000
commitfdc498b81cfb6943b0d544047e8d519dab0f1662 (patch)
tree9009906023d62e2d529c5842aa3bfc1f5c62e91d /gdb/testsuite/gdb.base/completion.exp
parentb519e2a636df83d31818d397896e69763439cde2 (diff)
downloadgdb-fdc498b81cfb6943b0d544047e8d519dab0f1662.zip
gdb-fdc498b81cfb6943b0d544047e8d519dab0f1662.tar.gz
gdb-fdc498b81cfb6943b0d544047e8d519dab0f1662.tar.bz2
gdb/testsuite/
* gdb.base/comp-dir/subdir/dummy.txt: New file. * gdb.base/completion.exp: Use comp-dir/subdir instead of creating a temporary directory.
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}/" {