Add $WarningLevel special variable.

This commit is contained in:
Dianne Skoll
2025-09-25 17:55:16 -04:00
parent 604e1b049c
commit 2f86920842
10 changed files with 82 additions and 20 deletions

View File

@@ -838,6 +838,15 @@ set c mbchar(0x1F642) * 40
DUMP
EOF
# Test $WarningLevel
../src/remind -de -h --flush -q - 2025-01-01 <<'EOF' >> ../tests/test.out 2>&1
BANNER %
SET $AddBlankLines 0
REM Monday ADDOMIT MSG woohoo!
set $WarningLevel "06.01.02"
REM Tuesday ADDOMIT MSG Cabbage.
EOF
cmp -s ../tests/test.out ../tests/test.cmp
if [ "$?" = "0" ]; then
echo "Remind: Acceptance test PASSED"