Follow upstream changes -- rest
[git-darcs-import.git] / tests / invalid_pending_after_mv_to_self.sh
blob0700ef0a966e2585194380a93822c9f4b8f72976
1 #!/usr/bin/env bash
3 # A regression test for issue567
5 set -ev
7 rm -rf temp
8 mkdir temp
9 cd temp
10 darcs init
11 mkdir dir
12 touch dir/t.t
13 darcs add dir
14 darcs add dir/t.t
15 darcs record -am 'initial add'
17 # grand finale? Can we move the file to itself?
18 darcs mv dir/t.t dir/
20 cd ..
22 rm -rf temp