]> git.ipfire.org Git - thirdparty/lldpd.git/commit
tests/integration: use ctypes for mount instead of util-linux
authorVincent Bernat <vincent@bernat.im>
Wed, 16 Mar 2016 20:32:53 +0000 (21:32 +0100)
committerVincent Bernat <vincent@bernat.im>
Wed, 16 Mar 2016 20:32:53 +0000 (21:32 +0100)
commit916374bf9e712166d4c1aff65caf078dd9ab5e9e
treef3ea5dfb85ae5549ed0dea5ffcbc2252d3996ee9
parent8bb212d9c5970f509d53733092c8826de5fc0862
tests/integration: use ctypes for mount instead of util-linux

Some versions of util-linux had a bug with respect to private/slave
mounts. The kernel doesn't expect the option to be passed during the
initial mount but only during subsequent calls (you mount the FS, you
make it private and slave). Directly use mount(2) to avoid the problem.
tests/integration/fixtures/programs.py