commit 87b04358f7024ee1263f6baaa5a7df7f31b18028 Author: Andrew Beekhof Date: Tue Feb 4 12:22:37 2014 +1100 Test: tools: Set up override for local schema file locations (cherry picked from commit 3d43ec1aa27420e23b8a5c9a921e9fab57669eb1) diff --git a/tools/regression.sh b/tools/regression.sh index 12e2bcf..8c9a4d4 100755 --- a/tools/regression.sh +++ b/tools/regression.sh @@ -60,8 +60,10 @@ while test "$done" = "0"; do done if [ "x$VALGRIND_CMD" = "x" -a -x $test_home/crm_simulate ]; then - echo "Using local binaries from: $test_home" - PATH="$test_home:$PATH" + xml_home=`dirname ${test_home}` + echo "Using local binaries from: $test_home, schemas from $xml_home" + export PATH="$test_home:$PATH" + export PCMK_schema_directory=${xml_home}/xml fi function test_tools() {