Skip to content

Tests failing on ntfs-3g #1363

@PlasmaPower

Description

@PlasmaPower
  • No ACLs: KeyError: 'acl_access' pops up a bunch - also present on SSHFS (see Tests failing on SSHFS #1362, fixed in Filesystem feature detection and test skipping #1373)

  • Funky permissions and modes: (fixed in Skip mode tests with BORG_TESTS_IGNORE_MODES #1383)

                    # i have seen cases where the copied tree has world-readable
                    # permissions, which is wrong
    >               assert stat_segment(backup).st_mode & UMASK_DEFAULT == 0
    E               assert (33279 & 63) == 0
    
    .tox/py35/lib/python3.5/site-packages/borg/testsuite/upgrader.py:180: AssertionError
    
            # Directory replaced with a regular file
    >       assert '[drwxr-xr-x -> -rwxr-xr-x] input/dir_replaced_with_file' in output
    E       AssertionError: assert '[drwxr-xr-x -> -rwxr-xr-x] input/dir_replaced_with_file' in '    +13 B       0 B input/empty\n    +13 B       0 B input/hardlink_contents_changed\n     +1 B
    -1.0 kB input/file_...moved       512 B input/file_removed2\nremoved directory   input/dir_removed\nremoved link        input/link_removed\n'
    
            mode = os.stat(self.repository_path).st_mode
    >       self.assertEqual(stat.S_IMODE(mode), 0o700)
    E       AssertionError: 0o777 != 0o700
    
    .tox/py35/lib/python3.5/site-packages/borg/testsuite/archiver.py:995: AssertionError
    
  • No atime - fixed with Fixed noatime detection #1367:

These should be fixed before #1359 is merged.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions