On Tue, Mar 25, 2008 at 10:19:22PM +0100, Frank Lichtenheld wrote:
> On Tue, Mar 25, 2008 at 08:07:43PM +0000, Gerrit Pape wrote:
> > On Fri, Mar 21, 2008 at 01:14:14PM +0000, Marco Rodrigues wrote:
> > > As I can see in the latest build log at  
> > > http://buildd.debian.org/fetch.cgi?pkg=git-core;ver=1%3A1.5.4.4-1;arch=i386;stamp=1205154556
> > >
> > > *** t9600-cvsimport.sh ***
> > > * skipping cvsimport tests, cvsps not found
> > > * passed all 0 test(s)
> > >
> > > You should add cvsps to build depends.
> > 
> > Hi, a Build-Dependency on cvsps has been added with version 1:1.5.4.1-1,
> > and the selftests run properly for me locally and in pbuilder.  I'm not
> > yet sure what's happening on the autobuilders.
> 
> In a buildd chroot:
> 
> sh-3.1# cvsps -h
> Cannot create the cvsps directory '.cvsps': No such file or directory
> 
> Seems cvsps doesn't really like a missing home directory.

Something like the following patch should help (untested):

diff --git a/t/t9600-cvsimport.sh b/t/t9600-cvsimport.sh
index 7706430..00a74ee 100755
--- a/t/t9600-cvsimport.sh
+++ b/t/t9600-cvsimport.sh
@@ -3,6 +3,12 @@
 test_description='git-cvsimport basic tests'
 . ./test-lib.sh
 
+CVSROOT=$(pwd)/cvsroot
+export CVSROOT
+# for clean cvsps cache
+HOME=$(pwd)
+export HOME
+
 if ! type cvs >/dev/null 2>&1
 then
        say 'skipping cvsimport tests, cvs not found'
@@ -26,12 +32,6 @@ case "$cvsps_version" in
        ;;
 esac
 
-CVSROOT=$(pwd)/cvsroot
-export CVSROOT
-# for clean cvsps cache
-HOME=$(pwd)
-export HOME
-
 test_expect_success 'setup cvsroot' 'cvs init'
 
 test_expect_success 'setup a cvs module' '


Gruesse,
-- 
Frank Lichtenheld <[EMAIL PROTECTED]>
www: http://www.djpig.de/



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to