From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Xi Lu Newsgroups: gmane.emacs.bugs Subject: bug#61595: [PATCH] 28.3; test/lisp/emacs-lisp/copyright-tests.el: Fix test failure. Date: Sat, 18 Feb 2023 13:46:07 +0800 Message-ID: Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="21016"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Xi Lu To: 61595@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Feb 18 06:47:23 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pTG4A-0005FZ-5E for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 18 Feb 2023 06:47:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pTG3t-0006o0-Cz; Sat, 18 Feb 2023 00:47:05 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTG3r-0006np-CG for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 00:47:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pTG3r-0006xa-36 for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 00:47:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pTG3q-0007po-Ig for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 00:47:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Xi Lu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 18 Feb 2023 05:47:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 61595 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.167669918930072 (code B ref -1); Sat, 18 Feb 2023 05:47:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 18 Feb 2023 05:46:29 +0000 Original-Received: from localhost ([127.0.0.1]:42180 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTG3J-0007oy-EW for submit@debbugs.gnu.org; Sat, 18 Feb 2023 00:46:29 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:59992) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pTG3H-0007op-8v for submit@debbugs.gnu.org; Sat, 18 Feb 2023 00:46:27 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTG3G-0006kt-Mk for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 00:46:26 -0500 Original-Received: from out203-205-221-192.mail.qq.com ([203.205.221.192]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pTG3B-0006nD-NU for bug-gnu-emacs@gnu.org; Sat, 18 Feb 2023 00:46:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=qq.com; s=s201512; t=1676699170; bh=ujlyAvfCfpdLoOabaZcFDx66nftTP65nKFQKSwlm2Y0=; h=From:To:Cc:Subject:Date; b=YfHeJpH0J3TR4DWYanBGXU23cg5AP5aUnzg/LsPajE7lMu4FUg5H25+LT8gDyeKaz MW7rC9YBrSzaJyR1RUCp4j0QJ6jDMAEhhgAQ9Vx3iOVONff1/5K3KDj+GhNbDV9/Cw g1GJO04G3T0zvWo3wcYLWiMhFrYws0Yv/LdXNQ9s= Original-Received: from lx-debian ([240e:399:e6f:ee32::57e]) by newxmesmtplogicsvrszb9-0.qq.com (NewEsmtp) with SMTP id B889AAD5; Sat, 18 Feb 2023 13:46:08 +0800 X-QQ-mid: xmsmtpt1676699168tgc2dsz94 X-QQ-XMAILINFO: MmB0EKORNN3+g+vTug26tQHttRLxbp6Rm30vdYxlWYbmnNSUaxpLbXMT+xCkJq Fix+LxRf9o/E0TDdmD9M3XsUGhKQKAiarYNr9x/Jy0Q3dlumbPRgqeHDKGXw9e/93z8egiNcsOi5 QSU4FkNQ20uCAnSrBQTKLpsn2rXf3rfGoOU50WyEf8TUL2wPST/yCvlRVRXTyR6YNfB4aP+Ot3jR 7auFxG21SMFZBlZ5mvdRKfUjv1HwCZn5qUOV+UrZdHdA23Nc5sdeRMqYtZ3Y/leSFsHJF2pw/D8j gA+UJ7Afradhf9LHzow28z7aSp4odHNdPeDmE/OuYz4cLIYnDTc/JUjw7cYJQb4dX6gKFssN6FuZ 7GEjcx6XkKYi8erdWNW1JmubY5BTKpbALS7VZo5MHIzP2N9kHcWKbsZ+aSMxLfgswb6zOXRmhS3M rP6Ensw9oDrQ8gX+UUZOnsVR0mFNgZaVG9YfvpMSd+geFnu15YtmVIptXHuatqDesi3nYIcb4wtC 6DNSK/xncjjVzANsgXeTdQdoiM2MFaTELOhJVm0g7grqspPCJSBJ9gY7H6IwCGrvCyl7pjikHo+e UaaT/dx9J02zby2TjUQVpLuTXXb1YMMOKGnxqMWMOYcsERKWYFAys327P9tR+YPastTHPj4rnY4a ZO+p7g4LldeD3Owx+fqG/Pdhv/AUAWLK2WhtjW2ftN4pAxCSJkBdui7AYdScMg+xezFLcXyaGzEu S50VyCliAbugghB9MIKwsVYNmzecwx9jSXvla/kyLZZjjnciMCHJJMBSSmgEpn5rO3rNPLAFjJAk fU6f0CoC6c9qgL6MpRjJlse2aq2vnzJksTVJJndb X-OQ-MSGID: <20230218054607.117907-1-lx@shellcodes.org> X-Mailer: git-send-email 2.30.2 Received-SPF: none client-ip=203.205.221.192; envelope-from=lx@shellcodes.org; helo=out203-205-221-192.mail.qq.com X-Spam_score_int: 10 X-Spam_score: 1.0 X-Spam_bar: + X-Spam_report: (1.0 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HELO_DYNAMIC_IPADDR=1.951, RCVD_IN_DNSWL_NONE=-0.0001, RDNS_DYNAMIC=0.982, SPF_HELO_NONE=0.001, SPF_NONE=0.001 autolearn=no autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:255925 Archived-At: --- test/lisp/emacs-lisp/copyright-tests.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/lisp/emacs-lisp/copyright-tests.el b/test/lisp/emacs-lisp/copyright-tests.el index abb0913a0d7..040071d90d0 100644 --- a/test/lisp/emacs-lisp/copyright-tests.el +++ b/test/lisp/emacs-lisp/copyright-tests.el @@ -59,7 +59,8 @@ test-end-chop "\nCopyright 2006, 2007, 2008 Foo Bar\n\n") (copyright-update) (buffer-substring (- (point-max) 42) (point-max)))) - "Copyright 2006, 2007, 2008, 2022 Foo Bar\n\n"))) + (format "Copyright 2006, 2007, 2008, %s Foo Bar\n\n" + (format-time-string "%Y"))))) (ert-deftest test-correct-notice () (should (equal @@ -70,7 +71,8 @@ test-correct-notice (copyright-query nil)) (copyright-update)) (buffer-string)) - "Copyright 2021 FSF\nCopyright 2021, 2022 FSF\n"))) + (format "Copyright 2021 FSF\nCopyright 2021, %s FSF\n" + (format-time-string "%Y"))))) (provide 'copyright-tests) ;;; copyright-tests.el ends here -- 2.30.2