From: Jiaqing Zhao Date: Sat, 30 Apr 2022 02:48:11 +0000 (+0800) Subject: sed: Specify shell for "nobody" user in run-ptest X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~4274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c6d7216772f76af4429fdaaca518858cf014293f;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Jiaqing Zhao Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-extended/sed/sed/run-ptest b/meta/recipes-extended/sed/sed/run-ptest index 993d7d5d75e..0460c7961f2 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"