repo.or.cz
/
git-darcs-import.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Follow upstream changes -- rest
[git-darcs-import.git]
/
tests
/
mv-test-suite.sh
blob
61b2c719801e41f0328b5adf61334a2a686a6135
1
#!/usr/bin/env bash
2
3
set -ev
4
5
rm
-rf
temp1
6
mkdir temp1
7
cd
temp1
8
darcs init
9
10
date
>
foo
11
darcs record
-a -m
add_foo
-A
x
--look-for-adds
12
13
# add a test file
14
echo
'test ! -e foo'
>
test
.sh
15
darcs add
test
.sh
16
darcs record
-a -m
add_test
17
18
darcs setpref
test
'ls && bash test.sh'
19
darcs record
-a -m
settest
-A
x
--no-test
20
21
darcs
mv
foo bar
22
darcs record
--debug -a -m
mvfoo
-A
x
23
24
darcs check
25
26
cd
..
27
rm
-rf
temp1
28