set -xeuo pipefail
. "$KOLA_EXT_DATA/commonlib.sh"
if [ "$(systemctl is-enabled touch@foo.service)" != 'enabled' ]; then
fatal "touch@foo.service systemd unit should be enabled"
fi
ok "touch@foo.service systemd unit is enabled"
if ! test -e /run/foo; then
fatal "touch@foo.service didn't run as /run/foo does not exist"
fi
ok "touch@foo.service ran as /run/foo exists"
if [ "$(systemctl is-enabled podman.socket)" != 'enabled' ]; then
fatal "podman.socket systemd unit should be enabled"
fi
ok "podman.socket systemd unit is enabled"