X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?p=dgit.git;a=blobdiff_plain;f=tests%2Fusing-intree;h=0235c2098fa8ad4f364ed23d6ca8cb056a198af4;hp=b9072527e46dd5e8620831910b2756ba40e1b514;hb=65025cb45c2739135ac4161a99d15e6555a9a794;hpb=6913c854ca0f3eb901c39c74b74d7f0344318f72 diff --git a/tests/using-intree b/tests/using-intree index b9072527..0235c209 100755 --- a/tests/using-intree +++ b/tests/using-intree @@ -1,4 +1,16 @@ #!/bin/bash +# +# usage: +# cd .../dgit.git +# tests/using-intree tests/test/some-test +# or +# cd .../dgit.git +# tests/using-intree tests/run-all +# +# effects: +# sets DGIT_TEST_INTREE which causes tests/lib to have test scripts +# using programs etc. from the working tree + set -e pwd=`pwd` export DGIT_TEST_INTREE="$pwd"