summaryrefslogtreecommitdiffstats
path: root/testsuite/Testsrc
diff options
context:
space:
mode:
authorGordon Messmer <gordon@dragonsdawn.net>2015-11-19 11:56:55 -0800
committerGordon Messmer <gordon@dragonsdawn.net>2015-11-19 11:56:55 -0800
commit09da95213441569103749a2759cc7ed445edc66d (patch)
tree0bbbd5e850cc840ed344185fa5d4b2aba74e36f6 /testsuite/Testsrc
parent8199191538593b6b24db2dc5c37c038aacd0ea0c (diff)
downloadbcfg2-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')
-rw-r--r--testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py2
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)