From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1726) id 92DFF384F487; Fri, 18 Nov 2022 11:46:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 92DFF384F487 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1668772002; bh=m1VWD7p0AF31q9P/eBnb2tjjo6MCp5gns+ITNB2EQZk=; h=From:To:Subject:Date:From; b=ZCBr9DnnFbVKB1p/NfbMD7pmhwxmEAPDG3rdqa288MOsypD63zKXwL+08GIMhRzdq wIPVvq4EylvG5Yvc4ckSPoWtL84qZS24U/txHgUnhXBwr3fpuVaa6Sbyaog8r+PMfp w0cOtvBOsPxu7mNfrbKGSAIYtOYxtPK7dV3E16Kg= Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable From: Andrew Burgess To: gdb-cvs@sourceware.org Subject: [binutils-gdb] gdb/testsuite: rename source file gdb.debuginfod/main.c X-Act-Checkin: binutils-gdb X-Git-Author: Andrew Burgess X-Git-Refname: refs/heads/master X-Git-Oldrev: f2509beef8d8c81f7bd6f61a1baab089a470626e X-Git-Newrev: 59d6ca65f5e29a110be55f5057c710e29527e229 Message-Id: <20221118114642.92DFF384F487@sourceware.org> Date: Fri, 18 Nov 2022 11:46:42 +0000 (GMT) List-Id: https://sourceware.org/git/gitweb.cgi?p=3Dbinutils-gdb.git;h=3D59d6ca65f5e2= 9a110be55f5057c710e29527e229 commit 59d6ca65f5e29a110be55f5057c710e29527e229 Author: Andrew Burgess Date: Thu Nov 17 11:11:13 2022 +0000 gdb/testsuite: rename source file gdb.debuginfod/main.c =20 The test gdb.debuginfod/fetch_src_and_symbols.exp uses a source file named main.c. I can't see any particular reason why the file is named as such. =20 Usually test source files are named after the test script. =20 This commit just renames the source file inline with the test script, and updates the call to standard_testfile (removing the reference to main.c). =20 There's no particular reason for this change other than seeing the file named main.c made me thing that the source file must be shared with some other test (it isn't). =20 There should be no change in what is tested after this commit. Diff: --- gdb/testsuite/gdb.debuginfod/{main.c =3D> fetch_src_and_symbols.c} | 0 gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.debuginfod/main.c b/gdb/testsuite/gdb.debugi= nfod/fetch_src_and_symbols.c similarity index 100% rename from gdb/testsuite/gdb.debuginfod/main.c rename to gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.c diff --git a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp b/gdb/t= estsuite/gdb.debuginfod/fetch_src_and_symbols.exp index b57b3201cf7..8b3c2cf709e 100644 --- a/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp +++ b/gdb/testsuite/gdb.debuginfod/fetch_src_and_symbols.exp @@ -15,7 +15,7 @@ =20 # Test debuginfod functionality =20 -standard_testfile main.c +standard_testfile =20 load_lib dwarf.exp load_lib debuginfod-support.exp