mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-16 14:28:40 +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"
|
||||
|
||||
@@ -25050,6 +25050,7 @@ TRANSLATE "`%s' re-SET without being used (previous SET: %s:%d)" ""
|
||||
TRANSLATE "are" ""
|
||||
TRANSLATE "defined at" ""
|
||||
TRANSLATE "did you mean" ""
|
||||
TRANSLATE "done" ""
|
||||
TRANSLATE "here" ""
|
||||
TRANSLATE "psmoon() is deprecated; use SPECIAL MOON instead." ""
|
||||
TRANSLATE "psshade() is deprecated; use SPECIAL SHADE instead." ""
|
||||
@@ -39622,3 +39623,14 @@ Testing proper redirection of RUN stdout in JSON mode... here's stdout
|
||||
]
|
||||
... and here is stderr
|
||||
This is executed by the shell.
|
||||
# translations
|
||||
{"LANGID":"en"}
|
||||
# rem2ps begin
|
||||
August 2025 31 5 0
|
||||
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
|
||||
July 31
|
||||
September 30
|
||||
2025/08/13 * * * * Task1
|
||||
2025/08/13 * * * * Task2
|
||||
2025/08/13 * * * * Task3 (done)
|
||||
# rem2ps end
|
||||
|
||||
Reference in New Issue
Block a user