diff options
author | Susan LoVerso <sue@mongodb.com> | 2016-03-01 14:02:10 -0500 |
---|---|---|
committer | Susan LoVerso <sue@mongodb.com> | 2016-03-01 14:02:10 -0500 |
commit | c8f122e9e7010d06c0e3b84927bb3750ea7783c8 (patch) | |
tree | eb8c35c9e53cf973dee98846d2f5f0b6bcdb589a | |
parent | 5229ef8d6b2e42b7a19e701b58e549f1b8b9bafd (diff) | |
download | mongo-c8f122e9e7010d06c0e3b84927bb3750ea7783c8.tar.gz |
WT-2437 Skip the chmod'ed portion of the test on Windows.
-rw-r--r-- | test/suite/test_readonly01.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/test/suite/test_readonly01.py b/test/suite/test_readonly01.py index 86604eb6bfb..0a4bc219700 100644 --- a/test/suite/test_readonly01.py +++ b/test/suite/test_readonly01.py @@ -96,7 +96,10 @@ class test_readonly01(wttest.WiredTigerTestCase, suite_subprocess): # connection with readonly. # self.close_conn() - if self.dirchmod: + # + # The chmod command is not fully portable to windows. + # + if self.dirchmod and os.name == 'posix': for f in os.listdir(self.home): if os.path.isfile(f): os.chmod(f, 0444) |