summaryrefslogtreecommitdiff
path: root/tools/testing/selftests/filesystems
diff options
context:
space:
mode:
authorHui Min Mina Chou <minachou@andestech.com>2023-07-18 06:43:51 +0300
committerShuah Khan <skhan@linuxfoundation.org>2023-08-16 19:10:39 +0300
commit1e9519b6fbe44caac13504724ef02c69124b3cd9 (patch)
tree4da7c2b5aed897e4b4188defe367ea1e4d3a9da4 /tools/testing/selftests/filesystems
parent2b2fe6052dd01fdb4e9a31031c2c9d8f03cf7753 (diff)
downloadlinux-1e9519b6fbe44caac13504724ef02c69124b3cd9.tar.xz
selftests/filesystems: Add six consecutive 'x' characters to mktemp
In busybox, the mktemp requires that the generated filename be suffixed 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>
Diffstat (limited to 'tools/testing/selftests/filesystems')
-rwxr-xr-xtools/testing/selftests/filesystems/fat/run_fat_tests.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/testing/selftests/filesystems/fat/run_fat_tests.sh b/tools/testing/selftests/filesystems/fat/run_fat_tests.sh
index 7f35dc3d15df..d61264d4795d 100755
--- a/tools/testing/selftests/filesystems/fat/run_fat_tests.sh
+++ b/tools/testing/selftests/filesystems/fat/run_fat_tests.sh
@@ -12,7 +12,7 @@ set -u
set -o pipefail
BASE_DIR="$(dirname $0)"
-TMP_DIR="$(mktemp -d /tmp/fat_tests_tmp.XXXX)"
+TMP_DIR="$(mktemp -d /tmp/fat_tests_tmp.XXXXXX)"
IMG_PATH="${TMP_DIR}/fat.img"
MNT_PATH="${TMP_DIR}/mnt"