Fixed running tests in seperate build directory (e.g. during distcheck).
[libxdg-basedir.git] / tests / querycf.2
blob09814ce21f6b0d9ee21138ab886d67d2963ce040
1 #!/bin/sh
3 harness="${top_srcdir}/tests/query-harness.sh"
4 wd="`pwd`"
5 td="${top_srcdir}/tests"
7 export HOME=/home/test
8 export XDG_CONFIG_DIRS="$wd/$td"
10 basename="`basename "$0"`"
11 arguments="config find $basename"
12 expected="$wd/$td/$basename"
14 . "$harness"