Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / tests / recordrace.sh
blob5e37f9f20db4b36917ba85ee766444f2976a02d5
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf foo1 foo2
5 mkdir foo1 foo2
6 cd foo1
7 darcs init
8 echo zig > foo
9 darcs add foo
10 sleep 1
11 darcs record -a -m add_foo -A x
12 #sleep 1
13 echo zag >> foo
14 darcs record --ignore-time -a -m mod_foo -A x
15 cd ../foo2
16 darcs init
17 darcs pull -a ../foo1
18 cd ..
19 cmp foo1/foo foo2/foo
20 rm -rf foo1 foo2