| Message ID | 20250630153205.19017-2-chrubis@suse.cz |
|---|---|
| State | Accepted |
| Headers | show |
| Series | [1/2] lib: Add is_fuse flag to SAFE_MOUNT() and tst_device | expand |
| Context | Check | Description |
|---|---|---|
| ltpci/alpine_latest_gcc | fail | failure |
| ltpci/fedora_latest_clang | fail | failure |
| ltpci/ubuntu_jammy_gcc | fail | failure |
| ltpci/ubuntu_bionic_gcc | fail | failure |
| ltpci/debian_stable_gcc | fail | failure |
| ltpci/debian_testing_clang | fail | failure |
| ltpci/debian_testing_gcc | fail | failure |
| ltpci/debian_stable_gcc | fail | failure |
| ltpci/debian_stable_aarch64-linux-gnu-gcc_arm64 | fail | failure |
| ltpci/debian_stable_powerpc64le-linux-gnu-gcc_ppc64el | fail | failure |
| ltpci/quay-io-centos-centos_stream9_gcc | fail | failure |
| ltpci/debian_stable_s390x-linux-gnu-gcc_s390x | fail | failure |
| ltpci/debian_oldstable_clang | fail | failure |
| ltpci/debian_oldstable_gcc | fail | failure |
| ltpci/opensuse-archive_42-2_gcc | fail | failure |
| ltpci/opensuse-leap_latest_gcc | fail | failure |
On Mon, Jun 30, 2025 at 05:32:05PM +0200, Cyril Hrubis wrote: > Reported-by: Jan Polensky <japo@linux.ibm.com> > Signed-off-by: Cyril Hrubis <chrubis@suse.cz> > --- > testcases/kernel/syscalls/statmount/statmount06.c | 8 +++----- > 1 file changed, 3 insertions(+), 5 deletions(-) > > diff --git a/testcases/kernel/syscalls/statmount/statmount06.c b/testcases/kernel/syscalls/statmount/statmount06.c > index fe41d5b87..89717a3fb 100644 > --- a/testcases/kernel/syscalls/statmount/statmount06.c > +++ b/testcases/kernel/syscalls/statmount/statmount06.c > @@ -36,8 +36,10 @@ static void run(void) > if (!TST_PASS) > return; > > + const char *fs_type = tst_device->is_fuse ? "fuseblk" : tst_device->fs_type; > + > TST_EXP_EQ_LI(st_mount->mask, STATMOUNT_FS_TYPE); > - TST_EXP_EQ_STR(st_mount->str + st_mount->fs_type, tst_device->fs_type); > + TST_EXP_EQ_STR(st_mount->str + st_mount->fs_type, fs_type); > } > > static void setup(void) > @@ -55,10 +57,6 @@ static struct tst_test test = { > .mount_device = 1, > .mntpoint = MNTPOINT, > .all_filesystems = 1, > - .skip_filesystems = (const char *const []) { > - "fuse", > - NULL > - }, > .bufs = (struct tst_buffers []) { > {&st_mount, .size = SM_SIZE}, > {} > -- > 2.49.0 Reviewed-by: Wei Gao <wegao@suse.com> > > > -- > Mailing list info: https://lists.linux.it/listinfo/ltp
On Mon, Jun 30, 2025 at 11:31 PM Cyril Hrubis <chrubis@suse.cz> wrote: > Reported-by: Jan Polensky <japo@linux.ibm.com> > Signed-off-by: Cyril Hrubis <chrubis@suse.cz> > Reviewed-by: Li Wang <liwang@redhat.com>
Hi! Patchset pushed, thanks for the reviews.
diff --git a/testcases/kernel/syscalls/statmount/statmount06.c b/testcases/kernel/syscalls/statmount/statmount06.c index fe41d5b87..89717a3fb 100644 --- a/testcases/kernel/syscalls/statmount/statmount06.c +++ b/testcases/kernel/syscalls/statmount/statmount06.c @@ -36,8 +36,10 @@ static void run(void) if (!TST_PASS) return; + const char *fs_type = tst_device->is_fuse ? "fuseblk" : tst_device->fs_type; + TST_EXP_EQ_LI(st_mount->mask, STATMOUNT_FS_TYPE); - TST_EXP_EQ_STR(st_mount->str + st_mount->fs_type, tst_device->fs_type); + TST_EXP_EQ_STR(st_mount->str + st_mount->fs_type, fs_type); } static void setup(void) @@ -55,10 +57,6 @@ static struct tst_test test = { .mount_device = 1, .mntpoint = MNTPOINT, .all_filesystems = 1, - .skip_filesystems = (const char *const []) { - "fuse", - NULL - }, .bufs = (struct tst_buffers []) { {&st_mount, .size = SM_SIZE}, {}
Reported-by: Jan Polensky <japo@linux.ibm.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz> --- testcases/kernel/syscalls/statmount/statmount06.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-)