From d7f2bec47aa12d05631cb4f1ec73760e636f9f77 Mon Sep 17 00:00:00 2001 From: Jiaqing Zhao Date: Fri, 13 May 2022 17:40:14 +0800 Subject: [PATCH] sed: Specify shell for "nobody" user in run-ptest ptest testsuite/panic-tests.sh of sed need to be run as a non-root user so that the expected "sed: couldn't open temporary file : Permission denied" error can be generated. After disabling default shell for "nobody", a shell needs to be specified for running ptest. (From OE-Core rev: 175001feb3b0e5b29cba94a8cdac18b429f84645) Signed-off-by: Jiaqing Zhao Signed-off-by: Richard Purdie (cherry picked from commit c6d7216772f76af4429fdaaca518858cf014293f) Signed-off-by: Steve Sakoman Signed-off-by: Richard Purdie --- meta/recipes-extended/sed/sed/run-ptest | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meta/recipes-extended/sed/sed/run-ptest b/meta/recipes-extended/sed/sed/run-ptest index 993d7d5d75..0460c7961f 100644 --- a/meta/recipes-extended/sed/sed/run-ptest +++ b/meta/recipes-extended/sed/sed/run-ptest @@ -2,4 +2,4 @@ chown nobody testsuite chown nobody ../ptest -su nobody -c "make test-suite.log" +su nobody -s /bin/sh -c "make test-suite.log"