summaryrefslogtreecommitdiff
path: root/gdb/testsuite
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2022-04-25 11:20:48 -0600
committerTom Tromey <tromey@adacore.com>2022-05-13 08:16:31 -0600
commitf1025b233f6dad43981f5ad35c81481f8d3658bf (patch)
treeefd2c3097921799493794a06ff08056342bdc893 /gdb/testsuite
parent28c5801a94ea5943213b2a304a00a3eb1f2ef622 (diff)
downloadbinutils-gdb-f1025b233f6dad43981f5ad35c81481f8d3658bf.tar.gz
Put corefile-run.core into test subdirectory
I noticed that corefile-run.core ends up in the 'runtest' directory. It's better, when at all possible, for test files to end up in the test's designated subdirectory. This patch makes this change.
Diffstat (limited to 'gdb/testsuite')
-rw-r--r--gdb/testsuite/gdb.tui/corefile-run.exp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.tui/corefile-run.exp b/gdb/testsuite/gdb.tui/corefile-run.exp
index 0529a83f3cb..219ebadadae 100644
--- a/gdb/testsuite/gdb.tui/corefile-run.exp
+++ b/gdb/testsuite/gdb.tui/corefile-run.exp
@@ -22,7 +22,7 @@ tuiterm_env
standard_testfile tui-layout.c
-set core "${testfile}.core"
+set core [standard_output_file "${testfile}.core"]
if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } {
return -1