From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1691948-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 1AFEF1581EC
	for <garchives@archives.gentoo.org>; Thu, 21 Nov 2024 15:27:12 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 446C0E080E;
	Thu, 21 Nov 2024 15:27:11 +0000 (UTC)
Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 2AB62E080E
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Nov 2024 15:27:11 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 0F231340943
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Nov 2024 15:27:10 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 7833018C4
	for <gentoo-commits@lists.gentoo.org>; Thu, 21 Nov 2024 15:27:08 +0000 (UTC)
From: "Mats Lidell" <matsl@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Mats Lidell" <matsl@gentoo.org>
Message-ID: <1732202810.0b9876a6741959d319bca158db3935baa9a556c5.matsl@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/xemacs/files/, app-editors/xemacs/
X-VCS-Repository: repo/gentoo
X-VCS-Files: app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch app-editors/xemacs/xemacs-21.5.35-r5.ebuild app-editors/xemacs/xemacs-21.5.9999.ebuild
X-VCS-Directories: app-editors/xemacs/files/ app-editors/xemacs/
X-VCS-Committer: matsl
X-VCS-Committer-Name: Mats Lidell
X-VCS-Revision: 0b9876a6741959d319bca158db3935baa9a556c5
X-VCS-Branch: master
Date: Thu, 21 Nov 2024 15:27:08 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: a9f2b953-2700-4fe5-90ba-846bb3a2fb39
X-Archives-Hash: 707aff92b2ed75eb1a5ad8559fa743c9

commit:     0b9876a6741959d319bca158db3935baa9a556c5
Author:     Mats Lidell <matsl <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 21 15:24:07 2024 +0000
Commit:     Mats Lidell <matsl <AT> gentoo <DOT> org>
CommitDate: Thu Nov 21 15:26:50 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0b9876a6

app-editors/xemacs: remove test causing QA notice

Test for calling unknown_command causes QA notice. Resolve
by removing the test.

Closes: https://bugs.gentoo.org/944219
Signed-off-by: Mats Lidell <matsl <AT> gentoo.org>

 .../xemacs/files/xemacs-21.5.35-unknown-command-test.patch   | 12 ++++++++++++
 app-editors/xemacs/xemacs-21.5.35-r5.ebuild                  |  1 +
 app-editors/xemacs/xemacs-21.5.9999.ebuild                   |  1 +
 3 files changed, 14 insertions(+)

diff --git a/app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch b/app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch
new file mode 100644
index 000000000000..4fb7d4c58a44
--- /dev/null
+++ b/app-editors/xemacs/files/xemacs-21.5.35-unknown-command-test.patch
@@ -0,0 +1,12 @@
+diff -r fd166650770a tests/automated/process-tests.el
+--- a/tests/automated/process-tests.el	Sat May 13 15:18:19 2023 +0100
++++ b/tests/automated/process-tests.el	Thu Nov 21 15:24:34 2024 +0100
+@@ -52,7 +52,7 @@
+     (goto-char (point-min))
+     (Assert (looking-at "foo"))):
+ 
+-  (Assert (= 127 (shell-command "unknown_command")))
++  ;;(Assert (= 127 (shell-command "unknown_command")))
+   (Assert (= 2 (shell-command "exit 2")))
+   (Assert (equal "(Shell command failed with code 2 and no output)" (message-displayed-p t)))
+   

diff --git a/app-editors/xemacs/xemacs-21.5.35-r5.ebuild b/app-editors/xemacs/xemacs-21.5.35-r5.ebuild
index b96d774099ab..4b5fc14d88d7 100644
--- a/app-editors/xemacs/xemacs-21.5.35-r5.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.35-r5.ebuild
@@ -70,6 +70,7 @@ src_prepare() {
 	eapply "${FILESDIR}/${P}-va_args.patch"
 	eapply "${FILESDIR}/${P}-linker-flags.patch"
 	eapply "${WORKDIR}/${P}-ootags-boolint.patch"
+	eapply "${FILESDIR}/${P}-unknown-command-test.patch"
 
 	eapply_user
 

diff --git a/app-editors/xemacs/xemacs-21.5.9999.ebuild b/app-editors/xemacs/xemacs-21.5.9999.ebuild
index 43b49b662f80..2d5ac33dd3be 100644
--- a/app-editors/xemacs/xemacs-21.5.9999.ebuild
+++ b/app-editors/xemacs/xemacs-21.5.9999.ebuild
@@ -65,6 +65,7 @@ src_prepare() {
 	find "${S}"/lisp -name '*.elc' -exec rm {} \; || die
 	eapply "${FILESDIR}/${PN}-21.5.35-mule-tests.patch"
 	eapply "${FILESDIR}/${PN}-21.5.35-configure-libc-version.patch"
+	eapply "${FILESDIR}/${PN}-21.5.35-unknown-command-test.patch"
 
 	eapply_user