Follow upstream changes -- rest
[git-darcs-import.git] / tests / harness.sh
blobafd591673f9d8488e3e6a26bb677422659ad9d7b
1 #!/usr/bin/env bash
3 set -ev
5 # Print some stuff out for debugging if something goes wrong:
6 echo $HOME
7 echo $PATH
8 which darcs
9 command -v darcs
11 # Check things that should be true when all the testscripts run
13 test -f "$HOME"/harness.sh || { echo "HOME=\"$HOME\" is not the test suite directory"; exit 1; }
15 homedirname=`dirname "$HOME"`
16 command -v darcs | grep "$homedirname"