debian-forge/test
Christian Kellner 4126a3af7c test/loop: check for data integrity
Add a simple check that data written through the loop device is
actually ending up in the file. NB: this this will _fail_ if the
fd is cleared via `clear_fd` without the use of `flush_buf`. It
seems that the kernel (as of 5.13.8) will indeed not clear the
buffer cache of the loop device if the backing file is detached
via `LOOP_CLR_FD`. On the other hand, if the autoclear flag is,
i.e. the backing file cleared when the last file descriptor of
the loop device is closed, the buffer cached will be cleared as
part of the `release` operation of the block device.
2021-08-13 17:35:32 +02:00
..
data test/data: use LVM in fedora-ostree-image 2021-08-13 12:20:54 +02:00
mod test/loop: check for data integrity 2021-08-13 17:35:32 +02:00
pipelines test: move all test manifests to get fedora packages from kernel mirrors 2020-06-07 22:08:34 +02:00
run device: add support for parent devices 2021-08-13 12:20:54 +02: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 Reformat other subprocess.run commands to highlight command 2021-07-02 11:38:02 +01:00