]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
quilt: run ptest as normal user dengke/quilt-ptest-fail-fixed
authorDengke Du <dengke.du@windriver.com>
Fri, 25 Mar 2016 07:46:03 +0000 (03:46 -0400)
committerDengke Du <dengke.du@windriver.com>
Fri, 25 Mar 2016 07:46:03 +0000 (03:46 -0400)
commitfd0548b7b60220ca68bce43e6c27bfbf26a12c38
treefd5d9e73b126013c8819a6950ad24ad36b52e7e8
parentb58e5b1fb3bcacbcfce17a748bca5f60c3528b4f
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.

Signed-off-by: Dengke Du <dengke.du@windriver.com>
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]