File indexing completed on 2024-06-02 05:33:08

0001 #! /bin/sh
0002 
0003 _pwd="$PWD"
0004 
0005 restorepwd() {
0006         cd "$_pwd"
0007 }
0008 
0009 trap "restorepwd" EXIT
0010 
0011 echo
0012 echo "======================"
0013 echo
0014 
0015 # Make sure the resource is fully synchronized
0016 # It wasn't necessary until the big code style change in akonadiserver
0017 # Not so innocuous heh ;-)
0018 KNUT_RESOURCE="org.freedesktop.Akonadi.Resource.akonadi_knut_resource_0.$AKONADI_INSTANCE"
0019 qdbus $KNUT_RESOURCE / org.freedesktop.Akonadi.Resource.synchronize
0020 
0021 cd "@AKONADITEST_CWD@"
0022 "@zanshin-testcommand@" 2>&1
0023 exit $?