diff --git a/test/shell.d/system-power-test.sh b/test/shell.d/system-power-test.sh index 2c65b5e1aa2a..586895f696f4 100755 --- a/test/shell.d/system-power-test.sh +++ b/test/shell.d/system-power-test.sh @@ -17,7 +17,7 @@ printf 'systemd-run %s\n' "$*" >>"$CALL_LOG" exit 0 SH -for command in omarchy-state omarchy-hyprland-window-close-all sleep; do +for command in omarchy-osd omarchy-state omarchy-hyprland-window-close-all sleep; do cat >"$mock_bin/$command" <<'SH' #!/bin/bash @@ -36,10 +36,12 @@ run_power_command() { assert_power_calls() { local action="$1" local systemctl_action="$2" + local osd_message="$3" local expected_log="$test_tmp/$action-expected.log" cat >"$expected_log" <"$call_log"