1.1 --- a/tests/test_outgoing_invitation.sh Fri Jan 29 15:31:04 2016 +0100
1.2 +++ b/tests/test_outgoing_invitation.sh Fri Jan 29 16:44:32 2016 +0100
1.3 @@ -1,24 +1,9 @@
1.4 #!/bin/sh
1.5
1.6 -THIS_DIR=`dirname $0`
1.7 +. "`dirname \"$0\"`/common.sh"
1.8
1.9 -TEMPLATES="$THIS_DIR/templates"
1.10 -OUTGOING_SCRIPT="$THIS_DIR/../imip_person_outgoing.py"
1.11 -SHOWMAIL="$THIS_DIR/../tools/showmail.py"
1.12 -STORE=/tmp/store
1.13 -STATIC=/tmp/static
1.14 -PREFS=/tmp/prefs
1.15 -ARGS="-S $STORE -P $STATIC -p $PREFS -d"
1.16 USER="mailto:paul.boddie@example.com"
1.17 FBFILE="$STORE/$USER/freebusy"
1.18 -TAB=`printf '\t'`
1.19 -ERROR=err.tmp
1.20 -
1.21 -rm -rf $STORE
1.22 -rm -rf $STATIC
1.23 -rm -rf $PREFS
1.24 -rm -f $ERROR
1.25 -rm -f out*.tmp
1.26
1.27 mkdir -p "$PREFS/$USER"
1.28 echo 'Europe/Oslo' > "$PREFS/$USER/TZID"