summaryrefslogtreecommitdiffstats
path: root/testsuite
diff options
context:
space:
mode:
authorChris St. Pierre <chris.a.st.pierre@gmail.com>2013-07-30 11:13:26 -0700
committerChris St. Pierre <chris.a.st.pierre@gmail.com>2013-07-30 11:13:26 -0700
commita5f53757aad35827004762e1e3063310cd7f5fda (patch)
tree28a675c5a1c72f8f3febf27cae02ed2c6c839809 /testsuite
parent8ad614f3d2c19037e9aaa8895119adad7d699060 (diff)
parent9482a5637a4fe67f42783ebcad7c89ef413717a0 (diff)
downloadbcfg2-a5f53757aad35827004762e1e3063310cd7f5fda.tar.gz
bcfg2-a5f53757aad35827004762e1e3063310cd7f5fda.tar.bz2
bcfg2-a5f53757aad35827004762e1e3063310cd7f5fda.zip
Merge pull request #126 from fennm/posix-ignore-perms-failures-for-autocreated-dirs
POSIX: Ignore permissions error on auto-created dirs
Diffstat (limited to 'testsuite')
-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 e0406fd92..8e7b58d30 100644
--- a/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py
+++ b/testsuite/Testsrc/Testlib/TestClient/TestTools/TestPOSIX/Testbase.py
@@ -1009,7 +1009,7 @@ class TestPOSIXTool(TestTool):
else:
return True
ptool._set_perms.side_effect = set_perms_rv
- self.assertFalse(ptool._makedirs(entry))
+ self.assertTrue(ptool._makedirs(entry))
self.assertItemsEqual(mock_exists.call_args_list,
[call("/test"), call("/test/foo"),
call("/test/foo/bar")])