Merge branch 'maint'
[gc-utils.git] / tests / gc-import.sh
blob70c5a8fc33b76b032eb68a4b56f4adddbb6a48cc
1 #!/bin/bash
3 . setup.sh
5 ##############
6 # TEST COMMIT
7 # AND IMPORT
9 cd $CVSCO
10 touch file4
11 cvs add file4
12 cvs commit -m "test commit"
14 sleep 1
16 echo "Test" > file4
17 cvs commit -m "test commit 2" file4
19 cd $ABSDIR
20 gc-import -v -d $GIT_DIR $CVSROOT $CVSMODULE
22 cd $GCCO
23 git log | grep "test commit 2" > /dev/null
25 if test $? -ne 0
26 then
27 failure "test commit 2 not found"