bash: disable test suspending xbps-src

This commit is contained in:
Piotr Wójcik 2021-10-21 20:32:45 +02:00 committed by Piotr
parent 69ea4d1109
commit 1d493987cc

View file

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