Follow upstream changes -- rest
[git-darcs-import.git] / tests / prefs.sh
blobcd0bb67f6d1ec1ee110149f73b7e113d6ce48cba
1 #!/usr/bin/env bash
2 set -ev
4 rm -rf temp1 temp2
5 mkdir temp1
6 cd temp1
7 darcs initialize --old-fashion
8 echo ALL ignore-times >> _darcs/prefs/defaults
9 cp _darcs/prefs/boring .boring
10 darcs add .boring
11 darcs setpref boringfile .boring
12 darcs record -a -m p1 -A me
13 cd ..
14 darcs get --hashed temp1 temp2
15 cmp temp1/_darcs/prefs/prefs temp2/_darcs/prefs/prefs
16 rm -rf temp1 temp2