mirror of
https://github.com/kernelkit/infix.git
synced 2026-08-03 22:33:02 +02:00
test: replace hard-coded 'podman' with discovered $(runner)
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -31,5 +31,5 @@ runner()
|
||||
#
|
||||
infamy()
|
||||
{
|
||||
podman ps -f name='infamy.*' --format '{{.Names}}' |tail -1
|
||||
$(runner) ps -f name='infamy.*' --format '{{.Names}}' |tail -1
|
||||
}
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@ usage()
|
||||
|
||||
topo()
|
||||
{
|
||||
dir=$(podman inspect "$1" 2>/dev/null | jq -re '.[].Args | index("-q") as $index | .[$index+1]')
|
||||
dir=$($(runner) inspect "$1" 2>/dev/null | jq -re '.[].Args | index("-q") as $index | .[$index+1]')
|
||||
dot="$dir/topology.dot.in"
|
||||
[ -f "$dot" ] && echo "$dot"
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user