From: Mingli Yu <mingli...@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...@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

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8812): 
https://lists.yoctoproject.org/g/meta-virtualization/message/8812
Mute This Topic: https://lists.yoctoproject.org/mt/106884095/21656
Group Owner: meta-virtualization+ow...@lists.yoctoproject.org
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to