The new shell tests do not succeed out-of-tree, due to static paths
and other issues. This trivial patch fixes these issue, make distcheck
now passes.
Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Guido Trotter <ultrotter@google.com>
test/data/sys_drbd_usermode_helper.txt \
test/data/htools/hail-alloc-drbd.json \
test/data/htools/hail-change-group.json \
+ test/data/htools/hail-invalid-reloc.json \
test/data/htools/hail-node-evac.json \
test/data/htools/hail-reloc-drbd.json \
test/data/htools/common-suffix.data \
HBINARY=${HBINARY:-./htools/hpc-htools}
-TESTDATA_DIR=${TOP_SRCDIR:-.}/test/data/htools
+export TESTDATA_DIR=${TOP_SRCDIR:-.}/test/data/htools
hbal() {
HTOOLS=hbal $HBINARY "$@"
echo Running shelltest...
-shelltest $SHELLTESTARGS test/ -- --hide-successes
+shelltest $SHELLTESTARGS ${TOP_SRCDIR:-.}/test/ -- --hide-successes
echo All OK