mirror of
https://github.com/containers/podman.git
synced 2025-08-06 11:32:07 +08:00

- Remove redundant exact match checks in ancestor filter implementations - Add comprehensive test coverage for both prefix and non-prefix substring matching - Fix missing output verification in ID filter test - Improve test reliability with proper length checks and consistent flags - Remove unnecessary length check to ensure tests fail properly if image ID is too short - Add -q and --no-trunc flags for consistent test output format - Focus test on substring ID matching specifically (not image names) - Restore image name matching functionality for existing tests - Keep substring ID matching for Docker compatibility - Ensure both regex matching and substring ID matching work together The ancestor filter now supports both: 1. Image name matching (existing functionality) 2. Substring ID matching (new Docker compatibility feature) Fixes: #26623 Signed-off-by: shiavm006 <shivammittal42006@gmail.com>