#!/bin/sh # manual smoke tests for whisper via telegram SCRIPT_DIR=$(cd "$(dirname "$0")" && pwd) echo '--- test 1: plain text ---\n' "$SCRIPT_DIR/whisper" -t telegram -m "Hello from whisper test" || true echo '\n--- test 2: HTML formatting ---\n' "$SCRIPT_DIR/whisper" -t telegram -m "bold italic code" || true echo '\n--- test 3: multiline ---\n' MSG=$(printf 'Line one\nLine two\nLine three') "$SCRIPT_DIR/whisper" -t telegram -m "$MSG" || true echo '\nAll tests done.\n'