diff options
author | Chong Lu <Chong.Lu@windriver.com> | 2014-01-26 15:50:14 +0800 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2014-02-17 15:27:55 +0000 |
commit | 9b42aacca362ea5c404e2fd3ac25a51790ba41a5 (patch) | |
tree | 316538865f9ba684ab6c1e1e8da93eda98038ee3 /meta/recipes-support/attr/acl | |
parent | 11e2aaf2d751277e3e99ac2acbbeff2b7227be94 (diff) | |
download | openembedded-core-contrib-9b42aacca362ea5c404e2fd3ac25a51790ba41a5.tar.gz |
acl: enable ptest support
Install acl test suite and run it as ptest.
nfs test cases need depend on nfs service. So exclude them order to
make ptest all pass.
Signed-off-by: Chong Lu <Chong.Lu@windriver.com>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/recipes-support/attr/acl')
-rw-r--r-- | meta/recipes-support/attr/acl/run-ptest | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-support/attr/acl/run-ptest b/meta/recipes-support/attr/acl/run-ptest new file mode 100644 index 0000000000..3b31cc99af --- /dev/null +++ b/meta/recipes-support/attr/acl/run-ptest @@ -0,0 +1,7 @@ +#!/bin/sh + +gpasswd -a daemon bin +make -C test -k tests root-tests |sed \ + -e 's|^\[.*\] \(.*\) -- ok$|PASS: \1|' \ + -e 's|^\[.*\] \(.*\) -- failed|FAIL: \1|' +gpasswd -d daemon bin |