From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by sourceware.org (Postfix) with ESMTPS id 87F36385480B for ; Fri, 17 Mar 2023 09:01:50 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 87F36385480B Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=suse.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=suse.de Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id B2F771FDD9 for ; Fri, 17 Mar 2023 09:01:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_rsa; t=1679043709; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+flFeF8F9FrXa+xbW6Exq96eSVkTAXTvuhtE+JgdEsE=; b=it6l1iLiYqBxpHnlT+ku5E/77w7MXmU7stBAkFGSbXV3plmFs5D3HEpTsN6pR5rqzwdmLp obqRmezXFfGsaExmGQfW9AKzpMKaQtq61Xsj2+EYM5aikpM7brrd6SBWP/2x76jy6oBM72 cKiTvH2emiNXJVprGRKLd0j0GRrT98o= DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=suse.de; s=susede2_ed25519; t=1679043709; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc: mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=+flFeF8F9FrXa+xbW6Exq96eSVkTAXTvuhtE+JgdEsE=; b=rgtlx1pg8KGHG0MU2k/B+DbtYEkZUdu5GsMjFJyIxSRkqmwsIavSzFUwZ6v7/4LhSQMbKs GAeoSYnqoNQmPNBw== Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 97A7613428 for ; Fri, 17 Mar 2023 09:01:49 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id O33tIn0sFGT6QQAAMHmgww (envelope-from ) for ; Fri, 17 Mar 2023 09:01:49 +0000 From: Tom de Vries To: gdb-patches@sourceware.org Subject: [pushed] [gdb/testsuite] Fix filename in gdb.debuginfod/crc_mismatch.exp Date: Fri, 17 Mar 2023 10:01:48 +0100 Message-Id: <20230317090148.9739-1-tdevries@suse.de> X-Mailer: git-send-email 2.35.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: After running test-case gdb.debuginfod/crc_mismatch.exp, I find a dir called '$': ... $ ls $build/gdb/testsuite/ $ config.log gdb.log lib outputs site.exp cache config.status gdb.sum Makefile site.bak temp ... Fix this by removing the stray '$' here: ... set debugfile "$[standard_output_file ${testfile}.debug]" ... Tested on x86_64-linux. --- gdb/testsuite/gdb.debuginfod/crc_mismatch.exp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp index ff1a4663260..36d008b8930 100644 --- a/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp +++ b/gdb/testsuite/gdb.debuginfod/crc_mismatch.exp @@ -41,7 +41,7 @@ if {[gdb_gnu_strip_debug $binfile]} { return -1 } -set debugfile "$[standard_output_file ${testfile}.debug]" +set debugfile [standard_output_file ${testfile}.debug] set debugdir [standard_output_file "debug"] remote_exec build "mkdir $debugdir" remote_exec build "mkdir -p [file dirname $debugfile]" base-commit: abee4501ebe519270ad52a436ad1fc8229e963bc -- 2.35.3