Skip to content

Commit

Permalink
use predefined variable instead of direct exec, add comment
Browse files Browse the repository at this point in the history
Signed-off-by: Moritz Wiesinger <[email protected]>
  • Loading branch information
mowies committed Aug 26, 2024
1 parent 6d16a32 commit b70b08b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion scripts/package-tests/package-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ crun = [
EOF

podman run --name "$container_name" -d "$image_name"
podman exec -t "$container_name" systemctl is-system-running --quiet --wait

# ensure that the system is up and running by checking if systemctl is running
$container_exec -t "$container_name" systemctl is-system-running --quiet --wait
install_pkg "$container_name" "$PKG_PATH"

# ensure service has started and still running after 5 seconds
Expand Down

0 comments on commit b70b08b

Please sign in to comment.