spiegel_podman/pkg/bindings/images
Daksha1611 20a077b16c pkg/bindings/images: fix TestConvertAdditionalBuildContexts on non-Windows hosts
TestConvertAdditionalBuildContexts asserted that the additional build
context "C:\test" is rewritten to "/mnt/c/test". That rewrite is done by
specgen.ConvertWinMountPath, which is a no-op unless shouldResolveWinPaths()
is true: always on Windows, but on Linux only when the client runs inside a
WSL or Hyper-V guest. On an ordinary Linux host the value is passed through
unchanged and the test fails.

Keep the platform independent expectations (URLs, images and unix paths are
never rewritten) in the shared test and move the drive letter case to a
Windows only file, following the existing split in pkg/specgen.

Signed-off-by: Daksha1611 <mehtadaksha1611@gmail.com>
2026-09-18 21:17:26 +05:30
..
build.go added errorlint 2026-08-14 01:35:03 +05:30
build_test.go pkg/bindings/images: fix TestConvertAdditionalBuildContexts on non-Windows hosts 2026-09-18 21:17:26 +05:30
build_unix.go pkg/bindings/images: fix linter warning on Darwin 2025-03-31 12:27:55 -07:00
build_windows.go lint: reenable revive unused-parameter check 2025-10-01 10:42:08 -04:00
build_windows_test.go pkg/bindings/images: fix TestConvertAdditionalBuildContexts on non-Windows hosts 2026-09-18 21:17:26 +05:30
diff.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
images.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
pull.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
push.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
rm.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types.go Merge pull request #29395 from scallaway/image-scp-compression 2026-09-17 17:09:06 +02:00
types_diff_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_exists_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_export_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_get_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_history_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_import_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_list_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_load_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_prune_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_pull_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_push_options.go Add --platform to podman push 2026-09-01 11:30:48 -04:00
types_remove_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_scp_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_search_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_tag_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_tree_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00
types_untag_options.go RUN-4539: Change podman module paths 2026-04-22 14:02:25 -05:00