debian-forge/test
Christian Kellner 280aca8f07 test/lvm2: use LoopControl.loop_for_fd
Instead of having custom code that basically duplicates the
functionality of `LoopControl.loop_for_fd` use that instead.
Additionally, the version used in the test had a bug where
it did not re-create the Loop device in the main loop when
it was close due to an error, leading errors in subsequent
usages of the device that would often manifest in CI runs:
  fcntl.ioctl(self.fd, self.LOOP_SET_FD, fd)
  ValueError: file descriptor cannot be a negative integer (-1)
2021-11-12 17:40:00 +01:00
..
data stages/authconfig: run authconfig 2021-11-08 20:43:51 +01:00
mod test/lvm2: use LoopControl.loop_for_fd 2021-11-12 17:40:00 +01:00
pipelines test: move all test manifests to get fedora packages from kernel mirrors 2020-06-07 22:08:34 +02:00
run devices: introduce new device manager class 2021-10-30 15:32:44 +01:00
src test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
.gitignore introduce testing script 2019-07-09 10:29:48 +02:00
__init__.py osbuild: add description() methods 2019-08-07 10:01:17 +02:00
initrd.py test/initrd: remove unneeded f-string 2021-02-16 22:58:15 +00:00
test.py stages/authconfig: run authconfig 2021-11-08 20:43:51 +01:00