remove skipping the noatime tests on GNU/Hurd, fixes #2710

I recently installed GNU/Hurd 2017 and found the atime test works now.

(cherry picked from commit 49411d1c6c)
This commit is contained in:
Thomas Waldmann 2017-06-21 15:59:44 +02:00
parent 4689c041a8
commit 8deb4dfdda

View file

@ -375,9 +375,6 @@ class ArchiverTestCase(ArchiverTestCaseBase):
# the interesting parts of info_output2 and info_output should be same
self.assert_equal(filter(info_output), filter(info_output2))
# Search for O_NOATIME there: https://www.gnu.org/software/hurd/contributing.html - we just
# skip the test on Hurd, it is not critical anyway, just testing a performance optimization.
@pytest.mark.skipif(sys.platform == 'gnu0', reason="O_NOATIME is strangely broken on GNU Hurd")
def test_atime(self):
def has_noatime(some_file):
atime_before = os.stat(some_file).st_atime_ns