Message ID | 20210413172916.24434-2-chrubis@suse.cz |
---|---|
State | Accepted |
Headers | show |
Series | [1/2,COMMITTED] syscalls/*sync: Skip test on tmpfs | expand |
diff --git a/testcases/kernel/syscalls/preadv/preadv03.c b/testcases/kernel/syscalls/preadv/preadv03.c index c456d4105..59c3b84f7 100644 --- a/testcases/kernel/syscalls/preadv/preadv03.c +++ b/testcases/kernel/syscalls/preadv/preadv03.c @@ -135,4 +135,8 @@ static struct tst_test test = { .mntpoint = MNTPOINT, .mount_device = 1, .all_filesystems = 1, + .skip_filesystems = (const char *[]) { + "tmpfs", + NULL + } }; diff --git a/testcases/kernel/syscalls/pwritev/pwritev03.c b/testcases/kernel/syscalls/pwritev/pwritev03.c index f32c368c0..91a5e3c54 100644 --- a/testcases/kernel/syscalls/pwritev/pwritev03.c +++ b/testcases/kernel/syscalls/pwritev/pwritev03.c @@ -134,4 +134,8 @@ static struct tst_test test = { .mntpoint = MNTPOINT, .mount_device = 1, .all_filesystems = 1, + .skip_filesystems = (const char *[]){ + "tmpfs", + NULL + } };
Since open with O_DIRECT returns EINVAL on tmpfs. Signed-off-by: Cyril Hrubis <chrubis@suse.cz> --- testcases/kernel/syscalls/preadv/preadv03.c | 4 ++++ testcases/kernel/syscalls/pwritev/pwritev03.c | 4 ++++ 2 files changed, 8 insertions(+)