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 <[email protected]>Reviewed-by: Javier Martinez Canillas <[email protected]>Signed-off-by: Shuah Khan <[email protected]>
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 <[email protected]>Reviewed-by: Javier Martinez Canillas <[email protected]>Cc: Shuah Khan <[email protected]>Signed-off-by: Andrew Morton <[email protected]>
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/[email protected]Signed-off-by: Javier Martinez Canillas <[email protected]>Acked-by: Muhammad Usama Anjum <[email protected]>Acked-by: OGAWA Hirofumi <[email protected]>Cc: Alexander Larsson <[email protected]>Cc: Christian Kellner <[email protected]>Cc: Chung-Chiang Cheng <[email protected]>Cc: Colin Walters <[email protected]>Cc: Lennart Poettering <[email protected]>Cc: Peter Jones <[email protected]>Signed-off-by: Andrew Morton <[email protected]>