# HG changeset patch # User Paul Boddie # Date 1439678472 -7200 # Node ID eb0be8a744346e2fc5667f5a290a27992926e95e # Parent f6c8cc83f18a6d3d5cd596b95ce1a1ed3f376029 Added a demonstration of the COUNTER method in response to an invalid but possible-to-schedule request. diff -r f6c8cc83f18a -r eb0be8a74434 tests/test_resource_invitation_constraints.sh --- a/tests/test_resource_invitation_constraints.sh Sun Aug 16 00:40:13 2015 +0200 +++ b/tests/test_resource_invitation_constraints.sh Sun Aug 16 00:41:12 2015 +0200 @@ -36,8 +36,8 @@ | "$SHOWMAIL" \ > out2.tmp - grep -q 'METHOD:REPLY' out2.tmp \ -&& grep -q 'ATTENDEE;PARTSTAT=DECLINED' out2.tmp \ + grep -q 'METHOD:COUNTER' out2.tmp \ +&& grep -q 'DTSTART;TZID=Europe/Oslo.*:20141126T161500' out2.tmp \ && echo "Success" \ || echo "Failed" @@ -47,6 +47,7 @@ grep -q 'METHOD:REPLY' out3.tmp \ && ! grep -q 'FREEBUSY;FBTYPE=BUSY:20141126T151000Z/20141126T160000Z' out3.tmp \ +&& ! grep -q 'FREEBUSY;FBTYPE=BUSY:20141126T151500Z/20141126T160000Z' out3.tmp \ && echo "Success" \ || echo "Failed"