mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-11 08:27:36 +00:00
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> |
||
|---|---|---|
| .. | ||
| build.go | ||
| build_test.go | ||
| build_unix.go | ||
| build_windows.go | ||
| build_windows_test.go | ||
| diff.go | ||
| images.go | ||
| pull.go | ||
| push.go | ||
| rm.go | ||
| types.go | ||
| types_diff_options.go | ||
| types_exists_options.go | ||
| types_export_options.go | ||
| types_get_options.go | ||
| types_history_options.go | ||
| types_import_options.go | ||
| types_list_options.go | ||
| types_load_options.go | ||
| types_prune_options.go | ||
| types_pull_options.go | ||
| types_push_options.go | ||
| types_remove_options.go | ||
| types_scp_options.go | ||
| types_search_options.go | ||
| types_tag_options.go | ||
| types_tree_options.go | ||
| types_untag_options.go | ||