public inbox for pve-devel@lists.proxmox.com
 help / color / mirror / Atom feed
* [PATCH proxmox 0/2] oci: tests: refactor to drop static test tarballs
@ 2026-03-24 15:35 Filip Schauer
  2026-03-24 15:35 ` [PATCH proxmox 1/2] oci: tests: return Result from tests to avoid unwrap calls Filip Schauer
  2026-03-24 15:35 ` [PATCH proxmox 2/2] oci: tests: generate OCI test images on the fly Filip Schauer
  0 siblings, 2 replies; 3+ messages in thread
From: Filip Schauer @ 2026-03-24 15:35 UTC (permalink / raw)
  To: pve-devel

Refactor the OCI tests to generate OCI images on the fly instead of
relying on pre-built tar files checked into the repository.

Filip Schauer (2):
  oci: tests: return Result from tests to avoid unwrap calls
  oci: tests: generate OCI test images on the fly

 proxmox-oci/Cargo.toml                        |   2 +
 proxmox-oci/tests/extract_replace.rs          |  73 +++++---
 proxmox-oci/tests/extract_whiteouts.rs        | 123 ++++++++-----
 proxmox-oci/tests/helper/mod.rs               |   3 +
 .../tests/helper/oci_tar_image_builder.rs     | 171 ++++++++++++++++++
 .../oci_test_replace_dir_with_file.tar        | Bin 8704 -> 0 bytes
 .../oci_image_data/oci_test_replace_file.tar  | Bin 8704 -> 0 bytes
 .../oci_test_replace_file_with_dir.tar        | Bin 8704 -> 0 bytes
 .../oci_test_whiteout_current_directory.tar   | Bin 8704 -> 0 bytes
 .../oci_test_whiteout_dead_symlink_parent.tar | Bin 8704 -> 0 bytes
 .../oci_test_whiteout_root_breakout.tar       | Bin 7168 -> 0 bytes
 ...oci_test_whiteout_root_parent_breakout.tar | Bin 7168 -> 0 bytes
 .../oci_test_whiteout_symlink.tar             | Bin 8704 -> 0 bytes
 13 files changed, 297 insertions(+), 75 deletions(-)
 create mode 100644 proxmox-oci/tests/helper/mod.rs
 create mode 100644 proxmox-oci/tests/helper/oci_tar_image_builder.rs
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_replace_dir_with_file.tar
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_replace_file.tar
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_replace_file_with_dir.tar
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_whiteout_current_directory.tar
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_whiteout_dead_symlink_parent.tar
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_whiteout_root_breakout.tar
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_whiteout_root_parent_breakout.tar
 delete mode 100644 proxmox-oci/tests/oci_image_data/oci_test_whiteout_symlink.tar

-- 
2.47.3





^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-03-24 15:36 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-03-24 15:35 [PATCH proxmox 0/2] oci: tests: refactor to drop static test tarballs Filip Schauer
2026-03-24 15:35 ` [PATCH proxmox 1/2] oci: tests: return Result from tests to avoid unwrap calls Filip Schauer
2026-03-24 15:35 ` [PATCH proxmox 2/2] oci: tests: generate OCI test images on the fly Filip Schauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal