repo.or.cz
/
gc-utils.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge branch 'maint'
[gc-utils.git]
/
tests
/
gc-import.sh
blob
70c5a8fc33b76b032eb68a4b56f4adddbb6a48cc
1
#!/bin/bash
2
3
. setup.sh
4
5
##############
6
# TEST COMMIT
7
# AND IMPORT
8
9
cd
$CVSCO
10
touch
file4
11
cvs add file4
12
cvs commit
-m
"test commit"
13
14
sleep
1
15
16
echo
"Test"
>
file4
17
cvs commit
-m
"test commit 2"
file4
18
19
cd
$ABSDIR
20
gc-import
-v -d
$GIT_DIR $CVSROOT $CVSMODULE
21
22
cd
$GCCO
23
git log |
grep
"test commit 2"
> /
dev
/
null
24
25
if
test
$?
-ne
0
26
then
27
failure
"test commit 2 not found"
28
fi