repo.or.cz
/
git-darcs-import.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow upstream changes -- Bytestring updates
[git-darcs-import.git]
/
tests
/
pull_binary.sh
blob
de9ace54f3ccc101969beaef792d9efe7895e1f7
1
#!/usr/bin/env bash
2
3
# This test script, originally written by David Roundy and Ian Lynagh is in
4
# the public domain.
5
6
set -ev
7
8
rm
-rf
temp1 temp2
9
10
mkdir temp1
11
cd
temp1
12
darcs init
13
perl
-e
'print "a"x1048576'
>
foo
14
darcs record
-l -a -A
author
-m
xx
15
rm
foo
16
darcs record
-a -A
author
-m
yy
17
cd
..
18
19
mkdir temp2
20
cd
temp2
21
darcs init
22
echo
yn | darcs pull ..
/
temp1
23
rm
foo
24
darcs pull
-a
25
cd
..
26
27
rm
-rf
temp1 temp2