diff --git a/tests/test_auto_notify.zunit b/tests/test_auto_notify.zunit index 798a4f5..cd82c4e 100644 --- a/tests/test_auto_notify.zunit +++ b/tests/test_auto_notify.zunit @@ -7,6 +7,10 @@ echo "Notification: $@" } + function uname { + echo "Linux" + } + # Mock date function to return a frozen timestamp function date { if [[ "$1" == +"%s" ]]; then @@ -58,7 +62,7 @@ done } -@test 'auto-notify-send sends notification' { +@test 'auto-notify-send sends notification on Linux' { AUTO_COMMAND="f bar -r" AUTO_COMMAND_FULL="foo bar -r" AUTO_COMMAND_START=11080