From: Tom Tromey Date: Mon, 25 Apr 2022 17:20:48 +0000 (-0600) Subject: Put corefile-run.core into test subdirectory X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f1025b233f6dad43981f5ad35c81481f8d3658bf;p=binutils-gdb.git 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. --- 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