Fixed running tests in seperate build directory (e.g. during distcheck).
[libxdg-basedir.git] / tests / queryds.6
bloba9892baf76016a029537596e844718a4d940127b
1 #!/bin/sh
3 harness="${top_srcdir}/tests/query-harness.sh"
5 export HOME=/home/test
6 export XDG_DATA_HOME=/home/test/.data
7 export XDG_DATA_DIRS="/usr/local/share:/path/with a few spaces:/usr/share"
9 arguments='data search'
10 expected="\
11 /home/test/.data
12 /usr/local/share
13 /path/with a few spaces
14 /usr/share"
17 . "$harness"