diff options
author | Gordon Messmer <gordon@dragonsdawn.net> | 2015-11-19 11:56:55 -0800 |
---|---|---|
committer | Gordon Messmer <gordon@dragonsdawn.net> | 2015-11-19 11:56:55 -0800 |
commit | 09da95213441569103749a2759cc7ed445edc66d (patch) | |
tree | 0bbbd5e850cc840ed344185fa5d4b2aba74e36f6 /testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py | |
parent | 8199191538593b6b24db2dc5c37c038aacd0ea0c (diff) | |
download | bcfg2-09da95213441569103749a2759cc7ed445edc66d.tar.gz bcfg2-09da95213441569103749a2759cc7ed445edc66d.tar.bz2 bcfg2-09da95213441569103749a2759cc7ed445edc66d.zip |
Set secontext attribute to a full ucontext value, as the bcfg2 server will generate
Diffstat (limited to 'testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py')
-rw-r--r-- | testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py b/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py index 065a26f05..bbe04a1a3 100644 --- a/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py +++ b/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py @@ -708,7 +708,7 @@ class TestPOSIXTool(TestTool): ptool._gather_data = Mock() entry = lxml.etree.Element("Path", name="/test", type="file", group="group", owner="user", mode="664", - secontext='etc_t') + secontext='unconfined_u:object_r:etc_t:s0') # _verify_metadata() mutates the entry, so we keep a backup so we # can start fresh every time orig_entry = copy.deepcopy(entry) |