t/apenwarr/wrapper.rc | 1 + t/goredo-deps-after-cd.t | 1 + t/goredo-deps.t | 1 + t/goredo-empty-dep.t | 1 + t/goredo-failed-build.t | 1 + t/redo-sh.tests/wrapper.rc | 1 + diff --git a/t/apenwarr/wrapper.rc b/t/apenwarr/wrapper.rc index 1aab51e96854f2bc28f5766250dd4c635f669dac337cb9d5fd514a4ab65d6654..4c05e5087c97d1592de5de023e71e39b95dde271d96835db13f92467cdda9601 100755 --- a/t/apenwarr/wrapper.rc +++ b/t/apenwarr/wrapper.rc @@ -6,6 +6,7 @@ testname=${testname%.t} testdir=`dirname $0`/apenwarr/$testname cd $testdir testdir=`pwd` +export REDO_TOP_DIR="$testdir" REDO_NO_PROGRESS=1 test_description="none" . $SHARNESS_TEST_SRCDIR/sharness.sh cd $testdir diff --git a/t/goredo-deps-after-cd.t b/t/goredo-deps-after-cd.t index 8db1a2a012a4d9db149257ec3e3f26804702ce481689a8e8df073879d92b44d1..eb48cae3760cc02c8c3b9eb7d08644a6914d19fbf715b92d995890c44e69eeb3 100755 --- a/t/goredo-deps-after-cd.t +++ b/t/goredo-deps-after-cd.t @@ -3,6 +3,7 @@ testname=`basename "$0"` test_description="Check that dependencies have correct relative path after cd" . $SHARNESS_TEST_SRCDIR/sharness.sh +export REDO_TOP_DIR="`pwd`" REDO_NO_PROGRESS=1 mkdir -p bin src cat > bin/default.do < default.html.do < foo.do cat > bar.do < bar.do echo redo-ifchange bar > foo.do diff --git a/t/redo-sh.tests/wrapper.rc b/t/redo-sh.tests/wrapper.rc index 7bfc96dc8437da89cbe9cfb079ece4a37bbca213608deaef080cdf9272d5086d..205deadf25a6a01b03506a48c0d93b8334c074ff289658e52e0ddae191c89b82 100755 --- a/t/redo-sh.tests/wrapper.rc +++ b/t/redo-sh.tests/wrapper.rc @@ -6,6 +6,7 @@ testname=${testname%.t} testdir=`dirname $0`/redo-sh.tests/$testname cd $testdir testdir=`pwd` +export REDO_TOP_DIR="$testdir" REDO_NO_PROGRESS=1 test_description="`sed -n '2,/^$/p' test | sed 's/# //'`" . $SHARNESS_TEST_SRCDIR/sharness.sh cd $testdir