Find git executable at run time
[git-darcs-import.git] / bugs / dist-v.sh
blob0ee13e4bfd70e941436d637c428fd588a16cf3ea
1 #!/usr/bin/env bash
2 set -ev
4 # tests for "darcs dist"
6 not () { "$@" && exit 1 || :; }
8 rm -rf temp1
9 mkdir temp1
10 cd temp1
11 darcs init
12 # needs fixed on FreeBSD
13 darcs dist -v 2> log
14 not grep error log
15 cd ..
17 rm -rf temp1