Github messages for voidlinux
 help / color / mirror / Atom feed
From: Chocimier <Chocimier@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: [PR PATCH] bash: disable test suspending xbps-src
Date: Thu, 21 Oct 2021 20:34:43 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33678@inbox.vuxu.org> (raw)

[-- 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
 }
 

             reply	other threads:[~2021-10-21 18:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-10-21 18:34 Chocimier [this message]
2021-10-22 19:38 ` [PR PATCH] [Merged]: " Chocimier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-33678@inbox.vuxu.org \
    --to=chocimier@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).