public inbox for passt-dev@passt.top
 help / color / mirror / code / Atom feed
* [PATCH v2 0/5] Sandbox test suite and enable podman tests on more hosts
@ 2024-03-21  4:57 David Gibson
  2024-03-21  4:57 ` [PATCH v2 1/5] cppcheck: Explicitly give files to check David Gibson
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: David Gibson @ 2024-03-21  4:57 UTC (permalink / raw)
  To: Stefano Brivio, passt-dev; +Cc: Paul Holzinger, David Gibson

I noticed the podman tests weren't actually running on my Fedora host.
This turns out to be because cataonit is not in the path on Fedora
(it's in /usr/libexec).

While attempting to get this working with my "test in a box" script I
ran into some additional problems: the podman tests downloaded and
built podman, which requires external network access.  That doesn't
work in an isolated network environment.

Changes since v1:
 * Test that podman is using the correct pasta binary
 * Added patch to prevent make cppcheck from checking the downloaded
   podman source as well.

David Gibson (5):
  cppcheck: Explicitly give files to check
  test: Make sure to update mbuto repository
  test: Build and download podman as a test asset
  test: catatonit may not be in $PATH
  test: Verify that podman tests are using the pasta binary we expect

 Makefile               |  2 +-
 seccomp.sh             |  4 ++--
 test/.gitignore        |  1 +
 test/Makefile          | 20 +++++++++++++++++---
 test/pasta_podman/bats | 15 ++++++++++-----
 5 files changed, 31 insertions(+), 11 deletions(-)

-- 
2.44.0


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2024-04-05 18:08 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-21  4:57 [PATCH v2 0/5] Sandbox test suite and enable podman tests on more hosts David Gibson
2024-03-21  4:57 ` [PATCH v2 1/5] cppcheck: Explicitly give files to check David Gibson
2024-03-21  4:57 ` [PATCH v2 2/5] test: Make sure to update mbuto repository David Gibson
2024-03-21  4:57 ` [PATCH v2 3/5] test: Build and download podman as a test asset David Gibson
2024-03-21  4:57 ` [PATCH v2 4/5] test: catatonit may not be in $PATH David Gibson
2024-03-21  4:57 ` [PATCH v2 5/5] test: Verify that podman tests are using the pasta binary we expect David Gibson
2024-04-05 18:08 ` [PATCH v2 0/5] Sandbox test suite and enable podman tests on more hosts Stefano Brivio

Code repositories for project(s) associated with this public inbox

	https://passt.top/passt

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for IMAP folder(s).