Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] bash: disable test suspending xbps-src
@ 2021-10-21 18:34 Chocimier
  2021-10-22 19:38 ` [PR PATCH] [Merged]: " Chocimier
  0 siblings, 1 reply; 2+ messages in thread
From: Chocimier @ 2021-10-21 18:34 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 332 bytes --]

There is a new pull request by Chocimier against master on the void-packages repository

https://github.com/Chocimier/void-packages-org bash
https://github.com/void-linux/void-packages/pull/33678

bash: disable test suspending xbps-src
None

A patch file from https://github.com/void-linux/void-packages/pull/33678.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-bash-33678.patch --]
[-- Type: text/x-diff, Size: 817 bytes --]

From c198bd59557b0cee83aaeaacb90b64e4bdee760f Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= <chocimier@tlen.pl>
Date: Thu, 21 Oct 2021 20:32:45 +0200
Subject: [PATCH] bash: disable test suspending xbps-src

---
 srcpkgs/bash/template | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/srcpkgs/bash/template b/srcpkgs/bash/template
index 9e93ac43a00f..c13fef6e2bd2 100644
--- a/srcpkgs/bash/template
+++ b/srcpkgs/bash/template
@@ -56,6 +56,11 @@ post_patch() {
 }
 
 do_check() {
+	# when xbps-src is run from interactive shell, this tests receives SIGTTIN,
+	# and suspends xbps-src
+	sed -i tests/read2.sub -e '/read -t 2 a < \/dev\/tty/,/echo $a/ d'
+	sed -i tests/read.right -e '/timeout 1: ok/,+1 d'
+	sed -i tests/read.right -e '/read2.sub: line 36: read:/s/ 36:/ 27:/'
 	make tests
 }
 

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: bash: disable test suspending xbps-src
  2021-10-21 18:34 [PR PATCH] bash: disable test suspending xbps-src Chocimier
@ 2021-10-22 19:38 ` Chocimier
  0 siblings, 0 replies; 2+ messages in thread
From: Chocimier @ 2021-10-22 19:38 UTC (permalink / raw)
  To: ml

[-- Attachment #1: Type: text/plain, Size: 176 bytes --]

There's a merged pull request on the void-packages repository

bash: disable test suspending xbps-src
https://github.com/void-linux/void-packages/pull/33678

Description:
None

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-10-22 19:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-21 18:34 [PR PATCH] bash: disable test suspending xbps-src Chocimier
2021-10-22 19:38 ` [PR PATCH] [Merged]: " Chocimier

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).