From f1025b233f6dad43981f5ad35c81481f8d3658bf Mon Sep 17 00:00:00 2001 From: Tom Tromey Date: Mon, 25 Apr 2022 11:20:48 -0600 Subject: [PATCH] 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. --- 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 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 -- 2.30.2