diff --git a/pyproject.toml b/pyproject.toml index 0063230f..e9865805 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -122,23 +122,23 @@ deps = [ ] commands_pre = [ # 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 - ["mkfs.vfat", "/tmp/vfat8.img", "-n", "VFAT"], + ["mkfs.vfat", "/tmp/vfat-utf8.img", "-n", "VFAT"], # unconditionally create mount point - ["mkdir", "-p", "/tmp/vfat8"], + ["mkdir", "-p", "/tmp/vfat-utf8"], # 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_post = [ # umount image - ["sudo", "/usr/bin/umount", "-d", "/tmp/vfat8"], + ["sudo", "/usr/bin/umount", "-d", "/tmp/vfat-utf8"], # remove mount point - ["rmdir", "/tmp/vfat8"], + ["rmdir", "/tmp/vfat-utf8"], # remove image - ["rm", "/tmp/vfat8.img"] + ["rm", "/tmp/vfat-utf8.img"] ] [tool.tox.env.py_filesystem_hfsplus]