mirror of
https://salsa.debian.org/dskoll/remind.git
synced 2026-04-17 14:59:20 +02:00
Add test that OMITFUNC raises nonconst_expr indicator.
This commit is contained in:
@@ -100,7 +100,10 @@ REM 1 Jan 2012 AT 10:00 MSG 10am: Should show up
|
||||
MSG [$DontTrigAts]
|
||||
EOF
|
||||
|
||||
|
||||
# An OMITFUNC should indicate nonconst_expr
|
||||
../src/remind -pp - 1 jan 2012 9:00 <<'EOF' >> ../tests/test.out 2>&1
|
||||
REM Mon OMITFUNC foo MSG bar
|
||||
EOF
|
||||
cmp -s ../tests/test.out ../tests/test.cmp
|
||||
if [ "$?" = "0" ]; then
|
||||
echo "Remind: Acceptance test PASSED"
|
||||
|
||||
@@ -4945,3 +4945,14 @@ Reminders for Sunday, 1st January, 2012:
|
||||
|
||||
2
|
||||
|
||||
# rem2ps2 begin
|
||||
January 2012 31 0 0
|
||||
Sunday Monday Tuesday Wednesday Thursday Friday Saturday
|
||||
December 31
|
||||
February 29
|
||||
{"date":"2012-01-02", "wd":["Monday"], "nonconst_expr":1, "priority":5000, "body":"bar"}
|
||||
{"date":"2012-01-09", "wd":["Monday"], "nonconst_expr":1, "priority":5000, "body":"bar"}
|
||||
{"date":"2012-01-16", "wd":["Monday"], "nonconst_expr":1, "priority":5000, "body":"bar"}
|
||||
{"date":"2012-01-23", "wd":["Monday"], "nonconst_expr":1, "priority":5000, "body":"bar"}
|
||||
{"date":"2012-01-30", "wd":["Monday"], "nonconst_expr":1, "priority":5000, "body":"bar"}
|
||||
# rem2ps2 end
|
||||
|
||||
Reference in New Issue
Block a user