From c07d91e9caf5c77f1570607371091c0d6d3f81b0 Mon Sep 17 00:00:00 2001 From: Marian Beermann Date: Tue, 12 Jul 2016 14:42:00 +0200 Subject: [PATCH] test_atime: exclude GNU Hurd from this test It has O_NOATIME, opening doesn't fail with EPERM, but it still updates the atime of the file. --- borg/testsuite/archiver.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/borg/testsuite/archiver.py b/borg/testsuite/archiver.py index 11bbe6f79..0ec78587f 100644 --- a/borg/testsuite/archiver.py +++ b/borg/testsuite/archiver.py @@ -370,7 +370,7 @@ class ArchiverTestCase(ArchiverTestCaseBase): except PermissionError: have_noatime = False else: - have_noatime = flags_noatime != flags_normal + have_noatime = (flags_noatime != flags_normal and sys.platform != 'gnu0') os.utime('input/file1', (atime, mtime)) self.cmd('init', self.repository_location) self.cmd('create', self.repository_location + '::test', 'input')