Skip to content

missing /sys/kernel/address_bits causes failing Linux tests #6276

@jtracey

Description

@jtracey

Three tests added in #6220 use the /sys/kernel/address_bits file on Linux (test_cp_default_virtual_file(), test_cp_debug_sparse_always_sparse_virtual_file(), and test_cp_debug_default_sparse_virtual_file()). This file was only added a year ago, so those tests are failing on any distro with a kernel older than that. E.g., I don't have that file on Debian 12 (bookworm). @AnirbanHalder654322, is there anything special about this file (other than being virtual) for those tests, and if so, are there any other older files that could be used instead?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions