diff options
author | Hui Min Mina Chou <[email protected]> | 2023-07-18 11:43:51 +0800 |
---|---|---|
committer | Shuah Khan <[email protected]> | 2023-08-16 10:10:39 -0600 |
commit | 1e9519b6fbe44caac13504724ef02c69124b3cd9 (patch) | |
tree | 4da7c2b5aed897e4b4188defe367ea1e4d3a9da4 | |
parent | 2b2fe6052dd01fdb4e9a31031c2c9d8f03cf7753 (diff) |
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 <[email protected]>
Reviewed-by: Javier Martinez Canillas <[email protected]>
Signed-off-by: Shuah Khan <[email protected]>
-rwxr-xr-x | tools/testing/selftests/filesystems/fat/run_fat_tests.sh | 2 |
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" |