gdb/testsuite/
authorDaniel Jacobowitz <drow@false.org>
Tue, 16 Feb 2010 20:18:53 +0000 (20:18 +0000)
committerDaniel Jacobowitz <drow@false.org>
Tue, 16 Feb 2010 20:18:53 +0000 (20:18 +0000)
* gdb.base/comp-dir/subdir/dummy.txt: New file.
* gdb.base/completion.exp: Use comp-dir/subdir instead of creating
a temporary directory.

gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/comp-dir/subdir/dummy.txt [new file with mode: 0644]
gdb/testsuite/gdb.base/completion.exp

index eaff2110ee4642c35240a80d40ca08393f898f0f..ff1b0099aebc25c8ce8adb2d0202944afb2fee60 100644 (file)
@@ -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>
 
        * gdb.base/charset.exp: Use a single regular expression to match
diff --git a/gdb/testsuite/gdb.base/comp-dir/subdir/dummy.txt b/gdb/testsuite/gdb.base/comp-dir/subdir/dummy.txt
new file mode 100644 (file)
index 0000000..b10a2c3
--- /dev/null
@@ -0,0 +1 @@
+For completion.exp
index 68be35debbb1cbdee493c90f40f3f5bb7ebc3315..53d021a2c9435e62e0e799f002c748f639ea2142 100644 (file)
@@ -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}/" {
This page took 0.038995 seconds and 4 git commands to generate.