Skip to content

openat02: Run on TMPDIR with noatime and relatime #1247

@pevik

Description

@pevik

openat02 requires to use TMPDIR mounted with noatime and relatime otherwise it TCONF. This works on tmpfs but not on /var/tmp on btrfs on Tumbleweed with kernel 6.15:

https://openqa.opensuse.org/tests/5088823#step/openat02/8

openat02    0  TINFO  :  Using /var/tmp/LTP_opeixQRmv as tmpdir (btrfs filesystem)
openat02    1  TPASS  :  test O_APPEND for openat success
openat02    2  TPASS  :  test O_CLOEXEC for openat success
openat02    3  TPASS  :  test O_LARGEFILE for openat success
openat02    4  TCONF  :  openat02.c:222: test O_NOATIME flag for openat needs filesystems which are mounted without noatime and relatime
openat02    5  TPASS  :  test O_NOFOLLOW for openat success
openat02    6  TPASS  :  test O_TRUNC for openat success
### TEST openat02 COMPLETE >>> 0.

When test is rewritten to the new API, it should be possible to pass mount options. Also .all_filesystems = 1 could be considered.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions