Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test limactl copy #3170

Open
1 of 10 tasks
nirs opened this issue Jan 28, 2025 · 0 comments
Open
1 of 10 tasks

Test limactl copy #3170

nirs opened this issue Jan 28, 2025 · 0 comments
Labels
area/test Tests and CI

Comments

@nirs
Copy link
Member

nirs commented Jan 28, 2025

The copy command seems to be tests only in one case, copying file from vm to host. The command support many other untested operations.

Tests:

  • copy single file from vm to host
  • copy single file from host to vm
  • copy directory from vm to host
  • copy single file from vm to host
  • copy directory from vm to host with --recursive flag
  • copy directory from host to vm with --recursive flag
  • copy multiple sources from vm to host
  • copy multiple sources from host to vm
  • copy multiple sources from vm to host with --recursive flag
  • copy multiple sources from host to vm with --recursive flag

I'm not sure that adding these test-template.sh is the best way, it is very hard to work with such a big test.

I think we need to use go test running limactl with test vms created before the test.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test Tests and CI
Projects
None yet
Development

No branches or pull requests

1 participant