Follow upstream changes -- rest
[git-darcs-import.git] / tests / mv-test-suite.sh
blob61b2c719801e41f0328b5adf61334a2a686a6135
1 #!/usr/bin/env bash
3 set -ev
5 rm -rf temp1
6 mkdir temp1
7 cd temp1
8 darcs init
10 date > foo
11 darcs record -a -m add_foo -A x --look-for-adds
13 # add a test file
14 echo 'test ! -e foo' > test.sh
15 darcs add test.sh
16 darcs record -a -m add_test
18 darcs setpref test 'ls && bash test.sh'
19 darcs record -a -m settest -A x --no-test
21 darcs mv foo bar
22 darcs record --debug -a -m mvfoo -A x
24 darcs check
26 cd ..
27 rm -rf temp1