Skip to content

test_copy_file fails on tmpfs #7566

@graywolf

Description

@graywolf

Please provide the following information

libtorrent version (or branch): 2.0.9

platform/architecture: linux/x86_64

When running the test suite, test_copy_file fails since it assumes that tmpfs does not support sparse file, but in fact it does. Adding TMPFS_MAGIC into sparse_filesystems seems to suffice to fix this problem.

But in general I wonder if more robust detection strategy should not be used, the whitelist approach does seem like it has few holes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions