Follow upstream changes -- rest
[git-darcs-import.git] / tests / optimize.sh
bloba2a2c3f162c537806bdd1a37d1c88c5eeac11f85
1 #!/usr/bin/env bash
2 set -ev
4 # tests for "darcs optimize"
6 rm -rf temp1
7 mkdir temp1
8 cd temp1
9 darcs init
10 touch foo
11 darcs add foo
12 darcs record -a -m add_foo
13 darcs optimize --reorder-patches| grep -i "done optimizing"
14 cd ..
16 rm -rf temp1