imip-agent

tests/common.sh

1057:f517090b2d21
2016-02-09 Paul Boddie Added missing mappings from retraction functions to locking-related functions.
     1 #!/bin/sh     2      3 THIS_DIR=`dirname "$0"`     4 BASE_DIR="$THIS_DIR/.."     5      6 STORE=/tmp/store     7 STATIC=/tmp/static     8 PREFS=/tmp/prefs     9 JOURNAL=/tmp/journal    10     11 ARGS="-S $STORE -P $STATIC -p $PREFS -j $JOURNAL -d"    12     13 ACCEPT_SCRIPT="$THIS_DIR/test_handle.py"    14 ACCEPT_ARGS="accept $STORE $PREFS"    15     16 COUNTER_SCRIPT="$THIS_DIR/test_handle.py"    17 COUNTER_ARGS="counter $STORE $PREFS"    18     19 DECLINE_SCRIPT="$THIS_DIR/test_handle.py"    20 DECLINE_ARGS="decline $STORE $PREFS"    21     22 FREEBUSY_SCRIPT="$BASE_DIR/tools/make_freebusy.py"    23 FREEBUSY_ARGS="-s -n"    24     25 OUTGOING_SCRIPT="$BASE_DIR/imip_person_outgoing.py"    26     27 PERSON_SCRIPT="$BASE_DIR/imip_person.py"    28     29 RESOURCE_SCRIPT="$BASE_DIR/imip_resource.py"    30     31 SHOWMAIL="$BASE_DIR/tools/showmail.py"    32     33 TAB=`printf '\t'`    34     35 TEMPLATES="$THIS_DIR/templates"    36     37 ERROR=err.tmp    38     39 PYTHONPATH="$BASE_DIR"    40 export PYTHONPATH    41     42 rm -rf "$STORE"    43 rm -rf "$STATIC"    44 rm -rf "$PREFS"    45 rm -rf "$JOURNAL"    46 rm -f "$ERROR"    47 rm -f out*.tmp