chiark / gitweb /
Dgit.pm: Move hash_commit from dgit
[dgit.git] / tests / using-intree
1 #!/bin/bash
2 #
3 # usage:
4 #   cd .../dgit.git
5 #   tests/using-intree tests/test/some-test
6 # or
7 #   cd .../dgit.git
8 #   tests/using-intree tests/run-all
9 #
10 # effects:
11 #   sets DGIT_TEST_INTREE which causes tests/lib to have test scripts
12 #   using programs etc. from the working tree
13
14 set -e
15 pwd=`pwd`
16 export DGIT_TEST_INTREE="$pwd"
17 exec "$@"