~ubuntu-branches/ubuntu/lucid/libopensync-plugin-evolution2/lucid

« back to all changes in this revision

Viewing changes to tests/check_event

  • Committer: Bazaar Package Importer
  • Author(s): Michael Banck
  • Date: 2006-04-13 20:42:22 UTC
  • Revision ID: james.westby@ubuntu.com-20060413204222-0ez2561jp27ez35q
Tags: upstream-0.18
ImportĀ upstreamĀ versionĀ 0.18

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/bash
 
2
 
 
3
echo "This unit test will empty all events from evolution2. Do you want to continue?"
 
4
echo "[y/N]"
 
5
read -n 1 reply
 
6
if [ "$reply" != "y" ]
 
7
then
 
8
        exit 1
 
9
fi
 
10
 
 
11
TMPFILE=`mktemp /tmp/evo2-sync.XXXXXX` || exit 1
 
12
echo "<config><adress_path>default</adress_path><calendar_path>default</calendar_path><tasks_path>default</tasks_path></config>" > $TMPFILE
 
13
 
 
14
osyncplugin evo2-sync --config $TMPFILE --type event --plugindir ../src/.libs  || exit 1
 
15
 
 
16
rm -f $TMPFILE
 
17