Files
podman/pkg/machine/e2e
Ashley Cui 65ce034863 hyperV: Respect rootful option on machine init
Fixed a bug where the rootful option to the podman machine init command
would not be written to to the machine config, and the rootful docker
sock would not be set.

Signed-off-by: Ashley Cui <acui@redhat.com>
2023-09-25 16:13:55 -04:00
..
2023-08-17 15:00:35 -04:00
2023-02-11 18:23:24 +01:00
2023-05-02 11:27:35 +02:00
2023-08-17 15:05:48 -04:00
2023-05-02 11:27:35 +02:00
2023-06-05 18:03:14 +03:00
2023-08-17 15:00:35 -04:00
2023-05-02 11:27:35 +02:00
2023-08-17 15:04:18 -04:00
2023-05-02 11:27:35 +02:00

Working README for running the machine tests

Note: you must not have any machines defined before running tests

Linux

QEMU

make localmachine

Microsoft Windows

HyperV

  1. Open a powershell as admin
  2. $env:CONTAINERS_MACHINE_PROVIDER="hyperv"
  3. $env:MACHINE_IMAGE="https://fedorapeople.org/groups/podman/testing/hyperv/fedora-coreos-38.20230830.dev.0-hyperv.x86_64.vhdx.zip"
  4. ./test/tools/build/ginkgo.exe -vv --tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote" -timeout=90m --trace --no-color pkg/machine/e2e/.

Note: Add --focus-file "basic_test.go" to only run basic test

WSL

  1. Open a powershell as a regular user
  2. Build and copy win-sshproxy into bin/
  3. ./test/tools/build/ginkgo.exe -vv --tags "remote exclude_graphdriver_btrfs btrfs_noversion exclude_graphdriver_devicemapper containers_image_openpgp remote" -timeout=90m --trace --no-color pkg/machine/e2e/.

Note: Add --focus-file "basic_test.go" to only run basic test