fix tests

- only leave fedora enabled
- test each package one at a time to ensure they install correctly
This commit is contained in:
Matthew Stobbs
2025-02-28 20:11:35 -07:00
parent f4744bcec9
commit ac87ba3f4c
4 changed files with 56 additions and 39 deletions

View File

@@ -1,10 +1,16 @@
#!/usr/bin/env zsh
IMAGE=packagetest
CONTAINER=packagetest
MACHINENAME=podman-machine-default
[[ -f ./lib.sh ]] && source ./lib.sh || exit 1
ssh-keygen -R "[127.0.0.1]:2222"
podman stop $CONTAINER
podman rm $IMAGE
podman machine stop $MACHINENAME
for os in ${OSBUILDS[@]}
do
if podman container exists ${IMAGE}:${os}
then
podman stop ${IMAGE}:${os}
fi
done
if [ "$HOSTOS" = "Darwin" ]
then
podman machine stop ${MACHINENAME}
fi