From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2126) id F3A67396D807; Fri, 13 May 2022 14:16:40 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org F3A67396D807 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Tom Tromey To: gdb-cvs@sourceware.org Subject: [binutils-gdb] Put corefile-run.core into test subdirectory X-Act-Checkin: binutils-gdb X-Git-Author: Tom Tromey X-Git-Refname: refs/heads/master X-Git-Oldrev: 28c5801a94ea5943213b2a304a00a3eb1f2ef622 X-Git-Newrev: f1025b233f6dad43981f5ad35c81481f8d3658bf Message-Id: <20220513141640.F3A67396D807@sourceware.org> Date: Fri, 13 May 2022 14:16:40 +0000 (GMT) X-BeenThere: gdb-cvs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 May 2022 14:16:41 -0000 https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3Df1025b233f6d= ad43981f5ad35c81481f8d3658bf commit f1025b233f6dad43981f5ad35c81481f8d3658bf Author: Tom Tromey Date: Mon Apr 25 11:20:48 2022 -0600 Put corefile-run.core into test subdirectory =20 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: --- gdb/testsuite/gdb.tui/corefile-run.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 =20 standard_testfile tui-layout.c =20 -set core "${testfile}.core" +set core [standard_output_file "${testfile}.core"] =20 if { [prepare_for_testing "failed to prepare" $testfile $srcfile debug] } { return -1