mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Add test for %:
This commit is contained in:
@@ -778,6 +778,13 @@ echo "Testing proper redirection of RUN stdout in JSON mode... here's stdout" >>
|
||||
echo "... and here is stderr" >> ../tests/test.out 2>&1
|
||||
../src/remind --json ../tests/json-redirect.rem 1 Jan 2025 > /dev/null 2>> ../tests/test.out
|
||||
|
||||
# Test %: substitution sequence
|
||||
../src/remind -p - 2025-08-13 <<'EOF' >> ../tests/test.out 2>&1
|
||||
REM TODO 2025-08-13 MSG Task1%:
|
||||
REM TODO 2025-08-13 COMPLETE-THROUGH 2025-08-12 MSG Task2%:
|
||||
REM TODO 2025-08-13 COMPLETE-THROUGH 2025-08-13 MSG Task3%:
|
||||
EOF
|
||||
|
||||
cmp -s ../tests/test.out ../tests/test.cmp
|
||||
if [ "$?" = "0" ]; then
|
||||
echo "Remind: Acceptance test PASSED"
|
||||
|
||||
Reference in New Issue
Block a user