debian-forge/test/mod
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
..
__init__.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00
test_api.py api: remove host side arguments facility 2021-07-08 15:01:33 +01:00
test_buildroot.py buildroot: make var a positional argument 2021-02-11 23:49:18 +01:00
test_fmt_v1.py test/fmt_v1: check result is complete 2021-03-09 21:40:47 +00:00
test_fmt_v2.py device: add support for parent devices 2021-08-13 12:20:54 +02:00
test_host.py test/host: test for host services 2021-06-09 18:37:47 +01:00
test_loop.py test/loop: check for data integrity 2021-08-13 17:35:32 +02:00
test_monitor.py osbuild: assemblers are pipelines now 2021-01-22 15:03:19 +01:00
test_objectstore.py objectstore: sub-tree support for read_at 2021-06-09 18:37:47 +01:00
test_osbuild.py test/osbuild: fix type in assembler 2021-06-11 16:55:45 +02:00
test_util_checksum.py test/mod: add checks for util.test_util 2021-05-12 14:26:16 +02:00
test_util_ctx.py util/ctx: extract suppress_oserror() 2020-05-11 18:05:12 +02:00
test_util_jsoncomm.py util/jsoncomm: add send_and_recv helper 2021-06-09 18:37:47 +01:00
test_util_linux.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_lorax.py test/util_lorax: add basic checks 2021-02-19 14:42:32 +00:00
test_util_lvm2.py test: add rename check for lvm2 module 2021-08-13 12:20:54 +02:00
test_util_osrelease.py test: make TestBase inherit unittest.TestCase 2020-06-05 09:27:40 +02:00
test_util_ostree.py osbuild: replace capture_output in subprocess.run 2020-06-09 13:42:35 +02:00
test_util_path.py test/util_path: add basic utility function test 2021-06-28 19:07:42 +02:00
test_util_rhsm.py sources/curl: Implement new way of getting RHSM secrets 2021-06-04 18:23:05 +01:00
test_util_rmrf.py test: convert to shared helpers 2020-05-13 14:26:05 +02:00
test_util_selinux.py test: '{. -> ./mod}/test_util_selinux.py' 2020-04-24 15:50:44 +02:00