selftests/filesystems: Add six consecutive 'x' characters to mktemp
Subsystems (2)
PATCH 1/1 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]>
--- tools/testing/selftests/filesystems/fat/run_fat_tests.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
tools/testing/selftests/filesystems/fat/run_fat_tests.sh +1 -1
@@ -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"
Signature · 1 line
2.34.1
Quoted 6 lines · Hui Min Mina Chou
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]>
Signature · 5 lines
Best regards, Javier Martinez Canillas Core Platforms Red Hat
Shuah Khan
maintainerQuoted 11 lines · Javier Martinez Canillas
Quoted 6 lines · Hui Min Mina Chou
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]>
Applied to linux-kselftest next for Linux 6.6-rc1.
thanks,
-- Shuah