Skip to content
Snippets Groups Projects
Forked from Platform / Development / swh-model
371 commits behind the upstream repository.
Valentin Lorentz's avatar
vlorentz authored
Regular files were created, as the 'mode' argument of os.mknod was missing.
However, creating devices requires root; so we can't reasonably do that in
tests.

Instead, we're using /dev/null instead of creating one.
And while we're at it, let's also use /dev/zero (which, if not handled
properly, will result in an infinite read).
ad6a0302
History
Name Last commit Last update
..
model
__init__.py