All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] aardvark-dns: Improve the ptest output
@ 2024-06-26  3:24 mingli.yu
  2024-07-10  3:52 ` [meta-virtualization] " Bruce Ashfield
  0 siblings, 1 reply; 2+ messages in thread
From: mingli.yu @ 2024-06-26  3:24 UTC (permalink / raw)
  To: meta-virtualization

From: Mingli Yu <mingli.yu@windriver.com>

The previous ptest result show as ✓ or ✗ , improve the result to
PASS or FAIL.
 # ./run-ptest
 [snip]
 PASS: 6 basic container - dns itself with long network name
 PASS: 7 two containers on the same network
 PASS: 8 two containers on different networks
 [snip]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 recipes-containers/aardvark-dns/files/run-ptest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/recipes-containers/aardvark-dns/files/run-ptest b/recipes-containers/aardvark-dns/files/run-ptest
index b33d8fd4..d7abbb34 100644
--- a/recipes-containers/aardvark-dns/files/run-ptest
+++ b/recipes-containers/aardvark-dns/files/run-ptest
@@ -1,3 +1,3 @@
 #!/bin/bash
 
-NETAVARK=/usr/libexec/podman/netavark AARDVARK=/usr/libexec/podman/aardvark-dns bats ./test/
+NETAVARK=/usr/libexec/podman/netavark AARDVARK=/usr/libexec/podman/aardvark-dns bats -t ./test/ | sed -e '/^ok/ s/^ok/PASS:/g' | sed -e '/^not ok/ s/^not ok/FAIL:/g'
-- 
2.34.1



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

end of thread, other threads:[~2024-07-10  3:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-06-26  3:24 [PATCH] aardvark-dns: Improve the ptest output mingli.yu
2024-07-10  3:52 ` [meta-virtualization] " Bruce Ashfield

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.