1.1 --- a/tests/test_person_invitation.sh Tue Aug 04 19:59:05 2015 +0200
1.2 +++ b/tests/test_person_invitation.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:vincent.vole@example.com"
1.11 SENDER="mailto:paul.boddie@example.com"
1.12 FBFILE="$STORE/$USER/freebusy"
1.13 @@ -29,9 +30,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-request-person-all.txt" 2>> $ERROR \
1.26 | "$SHOWMAIL" \
1.27 > out0.tmp