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>
This commit is contained in:
parent
2b2fe6052d
commit
1e9519b6fb
|
|
@ -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"
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue