]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
quilt: run ptest as normal user
authorDengke Du <dengke.du@windriver.com>
Fri, 25 Mar 2016 08:28:54 +0000 (04:28 -0400)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 28 Mar 2016 14:55:48 +0000 (15:55 +0100)
commitddedab4d1d6d14cd08a0b084a2da705ef3c191e7
treecddd3d3bfb653969dd107f10a0d4a5b976375f2e
parentafa4d5ebfab310d2e1ddbe3bf55e3dbb5b806d7f
quilt: run ptest as normal user

When the user is root, run quilt ptest, the faildiff.test failed.
Because in the faildiff.test, we drop the read permission of the
file test.txt, we can't "quilt refresh" as normal user, so we got
the following:
>~ .*diff:test\.txt: Permission denied
> Diff failed on file 'test.txt', aborting
But when the user is root, we can access the file, so we got the
following:
> Nothing in patch patchs/test.diff
So the faildiff.test was failed. We should create a normal user
to run the ptest in the run-ptest scripts to slove the problem.

(From OE-Core rev: f7d52d12f943b9e1f79b32758308607036d6a760)

Signed-off-by: Dengke Du <dengke.du@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/quilt/quilt.inc
meta/recipes-devtools/quilt/quilt/run-ptest
meta/recipes-devtools/quilt/quilt/test.sh [new file with mode: 0755]