mirror of
https://github.com/containers/podman.git
synced 2025-10-18 11:42:55 +08:00

Use filepath utility instead of generic string replace to convert path on Windows. This also separates OS specific implementations to separate compilation sources and removes redundant check for virtualization provider on Windows platform. Signed-off-by: Arthur Sengileyev <arthur.sengileyev@gmail.com>
13 lines
207 B
Go
13 lines
207 B
Go
package e2e_test
|
|
|
|
type fakeCompose struct {
|
|
cmd []string
|
|
}
|
|
|
|
func (f *fakeCompose) buildCmd(m *machineTestBuilder) []string {
|
|
cmd := []string{"compose"}
|
|
cmd = append(cmd, "env")
|
|
f.cmd = cmd
|
|
return cmd
|
|
}
|