Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / tests / addrace.sh
blob9dc7174ea34a1e3c326efe95d79cc1f475d6808e
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp1 temp2
5 mkdir temp1 temp2
6 cd temp1
7 darcs init
8 echo zig > foo
9 darcs add foo
10 #sleep 1
11 darcs record -a -m add_foo -A x
12 cd ../temp2
13 darcs init
14 darcs pull -a ../temp1
15 cd ..
16 cmp temp1/foo temp2/foo
17 rm -rf temp1 temp2