From 2e2135cf588ad0a2e84cd5089fd6d6ee2396cd23 Mon Sep 17 00:00:00 2001 From: Andrew Clemons Date: Sun, 20 Mar 2022 21:23:49 +1300 Subject: system/mksh: Allow tests to pass without controlling tty. Signed-off-by: Andrew Clemons Signed-off-by: Willy Sudiarto Raharjo --- system/mksh/mksh.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/system/mksh/mksh.SlackBuild b/system/mksh/mksh.SlackBuild index b458e1b21b..a468e0587c 100644 --- a/system/mksh/mksh.SlackBuild +++ b/system/mksh/mksh.SlackBuild @@ -107,7 +107,13 @@ CPPFLAGS=$CPPFLAGS \ CFLAGS=$SLKCFLAGS \ CC=$CC \ sh ../Build.sh -r -./test.sh + +# make sure tests pass whether there is a controlling tty or not. There are +# some changes related to this in CVS, so this can probably be removed with the +# next release. +# thanks alpine maintainers. +sed -i ../check.t -e '/^name: selftest-tty-absent$/,/^---$/d' +./test.sh -C regress:no-ctty mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION $PKG/usr/man/man1 $PKG/install -- cgit v1.2.3