Follow upstream changes -- Bytestring updates
[git-darcs-import.git] / tests / diff.sh
blob4913356fe71bab827368af100091268f0e320fa8
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp-$$
5 mkdir temp-$$
6 cd temp-$$
7 set -e
8 darcs initialize
9 echo text > afile.txt
10 darcs add afile.txt
11 darcs record --author me --all --no-test --patch-name init
12 darcs diff
13 darcs diff -p . --store > diffinmem
14 darcs diff -p . > diffondisk
15 diff diffinmem diffondisk
16 cd ..
18 rm -rf temp-$$