imip-agent

tests/common.sh

1027:fbf21b1a8c02
2016-01-29 Paul Boddie Made the help text clearer about the output.
     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     10 ARGS="-S $STORE -P $STATIC -p $PREFS -d"    11     12 ACCEPT_SCRIPT="$THIS_DIR/test_handle.py"    13 ACCEPT_ARGS="accept $STORE $PREFS"    14     15 COUNTER_SCRIPT="$THIS_DIR/test_handle.py"    16 COUNTER_ARGS="counter $STORE $PREFS"    17     18 DECLINE_SCRIPT="$THIS_DIR/test_handle.py"    19 DECLINE_ARGS="decline $STORE $PREFS"    20     21 FREEBUSY_SCRIPT="$BASE_DIR/tools/make_freebusy.py"    22 FREEBUSY_ARGS="-s -n"    23     24 OUTGOING_SCRIPT="$BASE_DIR/imip_person_outgoing.py"    25     26 PERSON_SCRIPT="$BASE_DIR/imip_person.py"    27     28 RESOURCE_SCRIPT="$BASE_DIR/imip_resource.py"    29     30 SHOWMAIL="$BASE_DIR/tools/showmail.py"    31     32 TAB=`printf '\t'`    33     34 TEMPLATES="$THIS_DIR/templates"    35     36 ERROR=err.tmp    37     38 PYTHONPATH="$BASE_DIR"    39 export PYTHONPATH    40     41 rm -rf $STORE    42 rm -rf $STATIC    43 rm -rf $PREFS    44 rm -f $ERROR    45 rm -f out*.tmp