criu/scripts
Radostin Stoyanov deeb0f8a82 test/others: Cover all-raw compression entries
Compression can fall back to raw storage for every block in an entry.
The writer then omits compression metadata so restore can use ordinary
I/O, but that fast path also depends on a page-aligned payload.

Add per-page and region tests with an incompressible mapping. Inspect
the pagemap for an aligned 56-page entry without compression metadata,
while requiring another genuine LZ4 block to prove compression was
active. Restore through direct image I/O, require native AIO when
O_DIRECT is available, and verify the workload contents.

Run the test in CI when page compression is available.

Assisted-by: Codex:GPT-5
Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
2026-07-14 10:17:01 +01:00
..
build ci: remove mips64el-stable-cross and mips64el-unstable-cross 2026-03-13 07:51:33 +00:00
ci test/others: Cover all-raw compression entries 2026-07-14 10:17:01 +01:00
nmk make: default CC to cc instead of gcc 2026-04-24 00:52:06 +00:00
criu-ns criu-ns: fix lint error 2024-09-11 16:02:11 -07:00
fake-restore.sh zdtm: check an exit code of a straced restore 2018-05-12 11:45:31 +03:00
feature-tests.mak build: detect drm_color_ctm_3x4 in system libdrm headers 2026-06-09 14:57:41 -07:00
fetch-clang-format.sh clang-format: disable column limit constraint 2023-10-22 13:29:25 -07:00
flake8.cfg coredump: remove unused import 2022-04-28 17:53:52 -07:00
github-indent-warnings.py lint: don't fail workflow on indent fail 2023-10-22 13:29:25 -07:00
install-criu-image-streamer.sh scripts: run shellcheck on the scripts folder 2020-10-20 00:18:24 -07:00
magic-gen.py scripts: add magic-gen.py to ruff linting 2026-07-09 10:32:19 +01:00
protobuf-gen.sh scripts/protobuf-gen.sh: fix (not ignore) shellcheck warnings 2023-04-15 21:17:21 -07:00
ruff.toml make: replace flake8 with ruff 2024-09-11 16:02:11 -07:00
systemd-autofs-restart.sh Fix some codespell warnings 2022-04-28 17:53:52 -07:00
tmp-files.sh scripts: fix shellcheck warnings 2021-09-03 10:31:00 -07:00
uninstall_module.py scripts/uninstall_module: import signal module 2025-03-21 12:40:31 -07:00