imip-agent

Changeset

663:eb0be8a74434
2015-08-16 Paul Boddie raw files shortlog changelog graph Added a demonstration of the COUNTER method in response to an invalid but possible-to-schedule request.
tests/test_resource_invitation_constraints.sh (file)
     1.1 --- a/tests/test_resource_invitation_constraints.sh	Sun Aug 16 00:40:13 2015 +0200
     1.2 +++ b/tests/test_resource_invitation_constraints.sh	Sun Aug 16 00:41:12 2015 +0200
     1.3 @@ -36,8 +36,8 @@
     1.4  | "$SHOWMAIL" \
     1.5  > out2.tmp
     1.6  
     1.7 -   grep -q 'METHOD:REPLY' out2.tmp \
     1.8 -&& grep -q 'ATTENDEE;PARTSTAT=DECLINED' out2.tmp \
     1.9 +   grep -q 'METHOD:COUNTER' out2.tmp \
    1.10 +&& grep -q 'DTSTART;TZID=Europe/Oslo.*:20141126T161500' out2.tmp \
    1.11  && echo "Success" \
    1.12  || echo "Failed"
    1.13  
    1.14 @@ -47,6 +47,7 @@
    1.15  
    1.16     grep -q 'METHOD:REPLY' out3.tmp \
    1.17  && ! grep -q 'FREEBUSY;FBTYPE=BUSY:20141126T151000Z/20141126T160000Z' out3.tmp \
    1.18 +&& ! grep -q 'FREEBUSY;FBTYPE=BUSY:20141126T151500Z/20141126T160000Z' out3.tmp \
    1.19  && echo "Success" \
    1.20  || echo "Failed"
    1.21