X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=blobdiff_plain;f=tests%2Flib;h=9308b169e9636d8440956c965b1f819203ce6279;hb=9810537db1cd42febc3283a69fa6c09b5b212f30;hp=e81a62ad3dd381f438c39d2435e64280db39eba6;hpb=7474eaa17f71f795b803993b0e1c38ff2afe6c1b;p=dgit.git diff --git a/tests/lib b/tests/lib index e81a62ad..9308b169 100644 --- a/tests/lib +++ b/tests/lib @@ -5,10 +5,11 @@ set -x set -o pipefail . tests/lib-core +. tests/lib-restricts t-set-intree -: ${DGIT_TEST_DEBUG:=-D} +: ${DGIT_TEST_DEBUG=-D} export DGIT_TEST_DEBUG root=`pwd` @@ -596,6 +597,15 @@ t-policy-periodic () { test-dummy $drs_dispatch '' --cron } +t-restrict () { + local restriction=$1 + (cd $root; t-restriction-$restriction >&2) +} + +t-dependencies () { + : "Hopefully installed: $*" +} + t-chain-test () { local ct=$1 local d=${0%/*}