security-manager: fix privilege-to-gid mapping tests 40/57040/3
authorRafal Krypa <r.krypa@samsung.com>
Thu, 14 Jan 2016 14:56:39 +0000 (15:56 +0100)
committerBartlomiej Grzelewski <b.grzelewski@samsung.com>
Fri, 5 Feb 2016 16:24:20 +0000 (17:24 +0100)
commit229a84bac5ab07d8202695c9d3c8f9f4da3819c6
tree52383e7603c2b10ad46ed76ee492806b05c2fe41
parent0280da9dd233886b4db4e715de7fa9694760b1a6
security-manager: fix privilege-to-gid mapping tests

Verification whether privileges are correctly mapped to grouops is based
on an assumption that the privileges used (camera, location) are not mapped
to any groups in the real configuration. But recently the camera privilege has
been mapped to a group "priv_camera" on the image.
To keep the test working, it now uses a different privilege instead ("nfc") that
doesn't have a group associated to it.

Change-Id: I3cb6ae7911abb5c7efab6558ffdb8043714fbce7
Signed-off-by: Rafal Krypa <r.krypa@samsung.com>
src/security-manager-tests/security_manager_tests.cpp