From c198bd59557b0cee83aaeaacb90b64e4bdee760f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20W=C3=B3jcik?= 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 }