1.1 --- a/tests/test_freebusy_publishing.sh Tue Aug 04 19:59:05 2015 +0200 1.2 +++ b/tests/test_freebusy_publishing.sh Tue Aug 04 20:01:38 2015 +0200 1.3 @@ -7,7 +7,8 @@ 1.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 1.5 STORE=/tmp/store 1.6 STATIC=/tmp/static 1.7 -ARGS="-S $STORE -P $STATIC -d" 1.8 +PREFS=/tmp/prefs 1.9 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 1.10 USER="mailto:paul.boddie@example.com" 1.11 SENDER="mailto:resource-room-confroom@example.com" 1.12 FBFILE="$STORE/$USER/freebusy" 1.13 @@ -21,9 +22,14 @@ 1.14 1.15 rm -r $STORE 1.16 rm -r $STATIC 1.17 +rm -r $PREFS 1.18 rm $ERROR 1.19 rm out*.tmp 1.20 1.21 +mkdir -p "$PREFS/$USER" 1.22 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 1.23 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 1.24 + 1.25 "$PERSON_SCRIPT" $ARGS < "$TEMPLATES/fb-publish.txt" 2>> $ERROR \ 1.26 | "$SHOWMAIL" \ 1.27 > out0.tmp
2.1 --- a/tests/test_multiple_invitation.sh Tue Aug 04 19:59:05 2015 +0200 2.2 +++ b/tests/test_multiple_invitation.sh Tue Aug 04 20:01:38 2015 +0200 2.3 @@ -7,14 +7,21 @@ 2.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 2.5 STORE=/tmp/store 2.6 STATIC=/tmp/static 2.7 -ARGS="-S $STORE -P $STATIC -d" 2.8 +PREFS=/tmp/prefs 2.9 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 2.10 +USER="mailto:resource-room-confroom@example.com" 2.11 ERROR=err.tmp 2.12 2.13 rm -r $STORE 2.14 rm -r $STATIC 2.15 +rm -r $PREFS 2.16 rm $ERROR 2.17 rm out*.tmp 2.18 2.19 +mkdir -p "$PREFS/$USER" 2.20 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 2.21 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 2.22 + 2.23 "$RESOURCE_SCRIPT" $ARGS < $TEMPLATES/fb-request-all.txt 2>> $ERROR \ 2.24 | "$SHOWMAIL" \ 2.25 > out0.tmp
3.1 --- a/tests/test_outgoing_invitation.sh Tue Aug 04 19:59:05 2015 +0200 3.2 +++ b/tests/test_outgoing_invitation.sh Tue Aug 04 20:01:38 2015 +0200 3.3 @@ -7,7 +7,8 @@ 3.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 3.5 STORE=/tmp/store 3.6 STATIC=/tmp/static 3.7 -ARGS="-S $STORE -P $STATIC -d" 3.8 +PREFS=/tmp/prefs 3.9 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 3.10 USER="mailto:paul.boddie@example.com" 3.11 FBFILE="$STORE/$USER/freebusy" 3.12 TAB=`printf '\t'` 3.13 @@ -15,9 +16,14 @@ 3.14 3.15 rm -r $STORE 3.16 rm -r $STATIC 3.17 +rm -r $PREFS 3.18 rm $ERROR 3.19 rm out*.tmp 3.20 3.21 +mkdir -p "$PREFS/$USER" 3.22 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 3.23 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 3.24 + 3.25 "$OUTGOING_SCRIPT" $ARGS < "$TEMPLATES/event-request.txt" 2>> $ERROR 3.26 cp "$FBFILE" out1.tmp 3.27
4.1 --- a/tests/test_person_invitation.sh Tue Aug 04 19:59:05 2015 +0200 4.2 +++ b/tests/test_person_invitation.sh Tue Aug 04 20:01:38 2015 +0200 4.3 @@ -7,7 +7,8 @@ 4.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 4.5 STORE=/tmp/store 4.6 STATIC=/tmp/static 4.7 -ARGS="-S $STORE -P $STATIC -d" 4.8 +PREFS=/tmp/prefs 4.9 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 4.10 USER="mailto:vincent.vole@example.com" 4.11 SENDER="mailto:paul.boddie@example.com" 4.12 FBFILE="$STORE/$USER/freebusy" 4.13 @@ -29,9 +30,14 @@ 4.14 4.15 rm -r $STORE 4.16 rm -r $STATIC 4.17 +rm -r $PREFS 4.18 rm $ERROR 4.19 rm out*.tmp 4.20 4.21 +mkdir -p "$PREFS/$USER" 4.22 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 4.23 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 4.24 + 4.25 "$PERSON_SCRIPT" $ARGS < "$TEMPLATES/fb-request-person-all.txt" 2>> $ERROR \ 4.26 | "$SHOWMAIL" \ 4.27 > out0.tmp
5.1 --- a/tests/test_person_invitation_recurring.sh Tue Aug 04 19:59:05 2015 +0200 5.2 +++ b/tests/test_person_invitation_recurring.sh Tue Aug 04 20:01:38 2015 +0200 5.3 @@ -7,7 +7,8 @@ 5.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 5.5 STORE=/tmp/store 5.6 STATIC=/tmp/static 5.7 -ARGS="-S $STORE -P $STATIC -d" 5.8 +PREFS=/tmp/prefs 5.9 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 5.10 USER="mailto:vincent.vole@example.com" 5.11 SENDER="mailto:paul.boddie@example.com" 5.12 FBFILE="$STORE/$USER/freebusy" 5.13 @@ -29,9 +30,14 @@ 5.14 5.15 rm -r $STORE 5.16 rm -r $STATIC 5.17 +rm -r $PREFS 5.18 rm $ERROR 5.19 rm out*.tmp 5.20 5.21 +mkdir -p "$PREFS/$USER" 5.22 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 5.23 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 5.24 + 5.25 "$PERSON_SCRIPT" $ARGS < "$TEMPLATES/fb-request-person-all.txt" 2>> $ERROR \ 5.26 | "$SHOWMAIL" \ 5.27 > out0.tmp
6.1 --- a/tests/test_resource_invitation.sh Tue Aug 04 19:59:05 2015 +0200 6.2 +++ b/tests/test_resource_invitation.sh Tue Aug 04 20:01:38 2015 +0200 6.3 @@ -7,14 +7,21 @@ 6.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 6.5 STORE=/tmp/store 6.6 STATIC=/tmp/static 6.7 -ARGS="-S $STORE -P $STATIC -d" 6.8 +PREFS=/tmp/prefs 6.9 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 6.10 +USER="mailto:resource-room-confroom@example.com" 6.11 ERROR=err.tmp 6.12 6.13 rm -r $STORE 6.14 rm -r $STATIC 6.15 +rm -r $PREFS 6.16 rm $ERROR 6.17 rm out*.tmp 6.18 6.19 +mkdir -p "$PREFS/$USER" 6.20 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 6.21 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 6.22 + 6.23 "$RESOURCE_SCRIPT" $ARGS < "$TEMPLATES/fb-request-all.txt" 2>> $ERROR \ 6.24 | "$SHOWMAIL" \ 6.25 > out0.tmp
7.1 --- a/tests/test_resource_invitation_recurring.sh Tue Aug 04 19:59:05 2015 +0200 7.2 +++ b/tests/test_resource_invitation_recurring.sh Tue Aug 04 20:01:38 2015 +0200 7.3 @@ -7,14 +7,21 @@ 7.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 7.5 STORE=/tmp/store 7.6 STATIC=/tmp/static 7.7 -ARGS="-S $STORE -P $STATIC -d" 7.8 +PREFS=/tmp/prefs 7.9 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 7.10 +USER="mailto:resource-room-confroom@example.com" 7.11 ERROR=err.tmp 7.12 7.13 rm -r $STORE 7.14 rm -r $STATIC 7.15 +rm -r $PREFS 7.16 rm $ERROR 7.17 rm out*.tmp 7.18 7.19 +mkdir -p "$PREFS/$USER" 7.20 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 7.21 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 7.22 + 7.23 "$RESOURCE_SCRIPT" $ARGS < "$TEMPLATES/fb-request-all.txt" 2>> $ERROR \ 7.24 | "$SHOWMAIL" \ 7.25 > out0.tmp
8.1 --- a/tests/test_resource_invitation_recurring_day.sh Tue Aug 04 19:59:05 2015 +0200 8.2 +++ b/tests/test_resource_invitation_recurring_day.sh Tue Aug 04 20:01:38 2015 +0200 8.3 @@ -7,15 +7,21 @@ 8.4 SHOWMAIL="$THIS_DIR/../tools/showmail.py" 8.5 STORE=/tmp/store 8.6 STATIC=/tmp/static 8.7 -ARGS="-S $STORE -P $STATIC -d" 8.8 - 8.9 +PREFS=/tmp/prefs 8.10 +ARGS="-S $STORE -P $STATIC -p $PREFS -d" 8.11 +USER="mailto:resource-room-confroom@example.com" 8.12 ERROR=err.tmp 8.13 8.14 rm -r $STORE 8.15 rm -r $STATIC 8.16 +rm -r $PREFS 8.17 rm $ERROR 8.18 rm out*.tmp 8.19 8.20 +mkdir -p "$PREFS/$USER" 8.21 +echo 'Europe/Oslo' > "$PREFS/$USER/TZID" 8.22 +echo 'share' > "$PREFS/$USER/freebusy_sharing" 8.23 + 8.24 "$RESOURCE_SCRIPT" $ARGS < "$TEMPLATES/fb-request-all.txt" 2>> $ERROR \ 8.25 | "$SHOWMAIL" \ 8.26 > out0.tmp