selftests/filesystems: Add six consecutive 'x' characters to mktempIn busybox, the mktemp requires that the generated filename besuffixed with at least six consecutive 'X' characters. Otherwise,i
selftests/filesystems: Add six consecutive 'x' characters to mktempIn busybox, the mktemp requires that the generated filename besuffixed with at least six consecutive 'X' characters. Otherwise,it will return an "Invalid argument" error.Signed-off-by: Hui Min Mina Chou <minachou@andestech.com>Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>Signed-off-by: Shuah Khan <skhan@linuxfoundation.org>
show more ...
selftests/filesystems: grant executable permission to run_fat_tests.shWhen use tools/testing/selftests/kselftest_install.sh to make thekselftest-list.txt under tools/testing/selftests/kselftest_in
selftests/filesystems: grant executable permission to run_fat_tests.shWhen use tools/testing/selftests/kselftest_install.sh to make thekselftest-list.txt under tools/testing/selftests/kselftest_install.Then use tools/testing/selftests/kselftest_install/run_kselftest.sh to runall the kselftests in kselftest-list.txt, it will be blocked by case"filesystems/fat: run_fat_tests.sh" with "Warning: file run_fat_tests.shis not executable", so grant executable permission to run_fat_tests.sh tofix this issue.Link: https://lkml.kernel.org/r/dfdbba6df8a1ab34bb1e81cd8bd7ca3f9ed5c369.1673424747.git.pengfei.xu@intel.comFixes: dd7c9be330d8 ("selftests/filesystems: add a vfat RENAME_EXCHANGE test")Signed-off-by: Pengfei Xu <pengfei.xu@intel.com>Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>Cc: Shuah Khan <shuah@kernel.org>Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
selftests/filesystems: add a vfat RENAME_EXCHANGE testAdd a test for the renameat2 RENAME_EXCHANGE support in vfat, but split itin a tool that just does the rename exchange and a script that is ru
selftests/filesystems: add a vfat RENAME_EXCHANGE testAdd a test for the renameat2 RENAME_EXCHANGE support in vfat, but split itin a tool that just does the rename exchange and a script that is run bythe kselftests framework on `make TARGETS="filesystems/fat" kselftest`.That way the script can be easily extended to test other file operations.The script creates a 1 MiB disk image, that is then formated with a vfatfilesystem and mounted using a loop device. That way all file operationsare done on an ephemeral filesystem.Link: https://lkml.kernel.org/r/20220610075721.1182745-5-javierm@redhat.comSigned-off-by: Javier Martinez Canillas <javierm@redhat.com>Acked-by: Muhammad Usama Anjum <usama.anjum@collabora.com>Acked-by: OGAWA Hirofumi <hirofumi@mail.parknet.co.jp>Cc: Alexander Larsson <alexl@redhat.com>Cc: Christian Kellner <ckellner@redhat.com>Cc: Chung-Chiang Cheng <cccheng@synology.com>Cc: Colin Walters <walters@verbum.org>Cc: Lennart Poettering <lennart@poettering.net>Cc: Peter Jones <pjones@redhat.com>Signed-off-by: Andrew Morton <akpm@linux-foundation.org>