From 67902e06e9c0145e2c2248ce82ceba7bb2390b94 Mon Sep 17 00:00:00 2001 From: Johannes Schauer Marin Rodrigues Date: Mon, 7 Nov 2022 16:11:47 +0100 Subject: [PATCH] tests/dev-ptmx: needs adduser inside the chroot --- tests/dev-ptmx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/dev-ptmx b/tests/dev-ptmx index 760c244..72bb974 100644 --- a/tests/dev-ptmx +++ b/tests/dev-ptmx @@ -117,7 +117,7 @@ END # use script to create a fake tty # run all tests as root and as a normal user (the latter requires ptmxmode=666) script -qfc "$prefix {{ CMD }} --mode={{ MODE }} --variant=apt \ - --include=gcc,libc6-dev,python3 \ + --include=gcc,libc6-dev,python3,adduser \ --customize-hook='chroot \"\$1\" adduser --gecos user --disabled-password user' \ --customize-hook='chroot \"\$1\" python3 -c \"import pty; print(pty.openpty())\"' \ --customize-hook='chroot \"\$1\" runuser -u user -- python3 -c \"import pty; print(pty.openpty())\"' \