vfat/utf-8 cosmetics
This commit is contained in:
@@ -122,23 +122,23 @@ deps = [
|
|||||||
]
|
]
|
||||||
commands_pre = [
|
commands_pre = [
|
||||||
# create 64 MByte disk image
|
# create 64 MByte disk image
|
||||||
["dd", "if=/dev/zero", "of=/tmp/vfat8.img", "bs=1M", "count=64"],
|
["dd", "if=/dev/zero", "of=/tmp/vfat-utf8.img", "bs=1M", "count=64"],
|
||||||
# create file system
|
# create file system
|
||||||
["mkfs.vfat", "/tmp/vfat8.img", "-n", "VFAT"],
|
["mkfs.vfat", "/tmp/vfat-utf8.img", "-n", "VFAT"],
|
||||||
# unconditionally create mount point
|
# unconditionally create mount point
|
||||||
["mkdir", "-p", "/tmp/vfat8"],
|
["mkdir", "-p", "/tmp/vfat-utf8"],
|
||||||
# mount image
|
# mount image
|
||||||
["sudo", "/usr/bin/mount", "-o", "loop,umask=000,utf8", "/tmp/vfat8.img", "/tmp/vfat8"],
|
["sudo", "/usr/bin/mount", "-o", "loop,umask=000,utf8", "/tmp/vfat-utf8.img", "/tmp/vfat-utf8"],
|
||||||
]
|
]
|
||||||
setenv = { TEMP = "/tmp/vfat8" }
|
setenv = { TEMP = "/tmp/vfat-utf8" }
|
||||||
commands = [["pytest", "-r", "s", "."]]
|
commands = [["pytest", "-r", "s", "."]]
|
||||||
commands_post = [
|
commands_post = [
|
||||||
# umount image
|
# umount image
|
||||||
["sudo", "/usr/bin/umount", "-d", "/tmp/vfat8"],
|
["sudo", "/usr/bin/umount", "-d", "/tmp/vfat-utf8"],
|
||||||
# remove mount point
|
# remove mount point
|
||||||
["rmdir", "/tmp/vfat8"],
|
["rmdir", "/tmp/vfat-utf8"],
|
||||||
# remove image
|
# remove image
|
||||||
["rm", "/tmp/vfat8.img"]
|
["rm", "/tmp/vfat-utf8.img"]
|
||||||
]
|
]
|
||||||
|
|
||||||
[tool.tox.env.py_filesystem_hfsplus]
|
[tool.tox.env.py_filesystem_hfsplus]
|
||||||
|
|||||||
Reference in New Issue
Block a user