summaryrefslogtreecommitdiffstats
path: root/system/mksh
diff options
context:
space:
mode:
author Andrew Clemons <andrew.clemons@gmail.com>2022-03-20 21:23:49 +1300
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-20 20:45:19 +0700
commit2e2135cf588ad0a2e84cd5089fd6d6ee2396cd23 (patch)
tree5b7a1961ffe73e0c274756e5cddbfc1218ac305a /system/mksh
parente7eaee5ff34e7ac3af91fcd72f394ae5a05782bb (diff)
downloadslackbuilds-2e2135cf588ad0a2e84cd5089fd6d6ee2396cd23.tar.gz
slackbuilds-2e2135cf588ad0a2e84cd5089fd6d6ee2396cd23.tar.xz
system/mksh: Allow tests to pass without controlling tty.
Signed-off-by: Andrew Clemons <andrew.clemons@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system/mksh')
-rw-r--r--system/mksh/mksh.SlackBuild8
1 files changed, 7 insertions, 1 deletions
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