Find git executable at run time
[git-darcs-import.git] / tests / issue844_gzip_crc.sh
bloba716f59be70e44d0cea671f02d438c5c3070fc81
1 #!/usr/bin/env bash
2 set -ev
3 rm -rf temp1 temp2
4 mkdir temp1
5 cd temp1
6 darcs init
7 echo > a
8 darcs add a
9 darcs record a -a -m "init"
10 cd ..
12 mkdir temp2
13 cd temp2
14 darcs init
15 darcs pull ../temp1 -a
16 darcs optimize --compress
17 for f in _darcs/patches/*-*; do
18 gzip -t < "$f"
19 done
20 rm -rf temp1 temp2