Follow upstream changes -- rest
[git-darcs-import.git] / tests / sigPIPE.sh
blob4d274b49ac338943418da91051fdecaa7f5927dc
1 #!/usr/bin/env bash
2 set -ev
4 DARCS_EDITOR=echo
5 export DARCS_EDITOR
7 rm -rf temp1
8 mkdir temp1
10 cd temp1
11 darcs init
13 echo hello world > foo
14 darcs add foo
15 darcs record -a --author=me -m "First patch"
16 i=1
17 while test $i -le 100; do
18 echo foo $i > foo;
19 darcs record --ignore-times -a --author=me -m "Patch $i" > bar
20 i=`expr $i + 1`
21 done
22 darcs tag --author=me -m 'silly tag'
23 i=1000
24 while test $i -le 1096; do
25 echo foo $i > foo;
26 darcs record --ignore-times -a --author=me -m "Patch $i" > bar
27 i=`expr $i + 1`
28 done
30 darcs --version
31 darcs changes | head
33 cd ..
34 # rm -rf temp1