aardvark-dns: Improve the ptest output

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>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
This commit is contained in:
Mingli Yu 2024-06-26 11:24:17 +08:00 committed by Bruce Ashfield
parent 61cec3e210
commit 66961d278a

View File

@ -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'