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.
This commit is contained in:
parent
b519e2a636
commit
fdc498b81c
|
@ -1,3 +1,9 @@
|
||||||
|
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
|
* gdb.base/comp-dir/subdir/dummy.txt: New file.
|
||||||
|
* gdb.base/completion.exp: Use comp-dir/subdir instead of creating
|
||||||
|
a temporary directory.
|
||||||
|
|
||||||
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
2010-02-16 Daniel Jacobowitz <dan@codesourcery.com>
|
||||||
|
|
||||||
* gdb.base/charset.exp: Use a single regular expression to match
|
* gdb.base/charset.exp: Use a single regular expression to match
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
For completion.exp
|
|
@ -724,14 +724,11 @@ gdb_test "cd ${fullsrcdir}" \
|
||||||
|
|
||||||
|
|
||||||
# GDB used to fail adding / on directories, on the first try only.
|
# 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
|
set uniquedir ../testsuite/gdb.base/comp-dir
|
||||||
# testcase (complete 'file ./gdb.base/complet') expectations.
|
|
||||||
set uniquedir ${objdir}/${subdir}/compl-uNiQuEdIr
|
|
||||||
set escapeduniquedir [string_to_regexp ${uniquedir}]
|
set escapeduniquedir [string_to_regexp ${uniquedir}]
|
||||||
set uniquesu subdi
|
set uniquesu subdi
|
||||||
set uniquesub ${uniquesu}r
|
set uniquesub ${uniquesu}r
|
||||||
set escapeuniquesub [string_to_regexp ${uniquesub}]
|
set escapeuniquesub [string_to_regexp ${uniquesub}]
|
||||||
file mkdir ${uniquedir}/${uniquesub}
|
|
||||||
send_gdb "dir ${uniquedir}\t"
|
send_gdb "dir ${uniquedir}\t"
|
||||||
gdb_expect {
|
gdb_expect {
|
||||||
-re "${escapeduniquedir}/" {
|
-re "${escapeduniquedir}/" {
|
||||||
|
|
Loading…
Reference in New Issue