repo.or.cz
/
libxdg-basedir.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed running tests in seperate build directory (e.g. during distcheck).
[libxdg-basedir.git]
/
tests
/
queryds.6
blob
a9892baf76016a029537596e844718a4d940127b
1
#!/bin/sh
2
3
harness
=
"
${top_srcdir}
/tests/query-harness.sh"
4
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"
8
9
arguments
=
'data search'
10
expected
=
"\
11
/home/test/.data
12
/usr/local/share
13
/path/with a few spaces
14
/usr/share"
15
16
17
.
"
$harness
"