Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions pkg/test-scripts/test-cascade.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,23 @@ case $1 in

echo -e "\nCASCADED MAN PAGE (first 20 lines only):"
man -P cat cascaded | head -n 20 || true

echo -e "\nCASCADED SERVICE SHOULD BE STOPPED BY DEFAULT:"
if systemctl is-active cascaded; then
echo "Systemd 'cascaded' service is unexpectedly active"
exit 1
fi

echo -e "\nTEST SYSTEMD SERVICE STARTUP:"
systemctl start cascaded

# Give it time to start
sleep 3s

# Dump the status
systemctl status cascaded

# Check that the service is active
systemctl is-active cascaded
;;
esac
Loading