Follow upstream changes -- rest
[git-darcs-import.git] / tests / issue257.sh
blobca93808a0f17945e2a06be955379f5fb9273525c
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf tempc
5 mkdir tempc
6 cd tempc
7 darcs init
8 echo foo > foo.c
9 darcs rec -Ax -alm init
10 cd ..
11 rm -rf temps
12 darcs get tempc temps
13 cd temps
14 echo server >> foo.c
15 darcs rec -Ax -alm server
16 cd ../tempc
17 echo client >> foo.c
18 darcs rec -Ax -alm client
19 if darcs push -a ../temps; then
20 false
22 cd ..
23 rm -rf tempc temps