bug-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with sanity.sh ;(


From: Donald Sharp
Subject: Problem with sanity.sh ;(
Date: Thu, 24 May 2001 11:03:30 -0400
User-agent: Mutt/1.2.4i

Trying to write a test case for when a user attempts to checkout
the repository into the repository via the cvs co -d <repository>.
This can come about when the user has set the ENV variable
and accidently places the -d option in the wrong place.

Here's the test case I added to sanity.sh:

        checkout_repository)
          dotest_fail check_repository "${testcvs} co -d 
/tmp/cvs-sanity/cvsroot CVSROOT" \
"${PROG} [checkout aborted]: Cannot check out files into the repository itself"
          ;;


Here's what I am getting from check.log:
donsharp-u5:260> more check.log
PASS: 1
PASS: 1a
** expected: 
cvs [checkout aborted]: Cannot check out files into the repository itself
** got: 
cvs [checkout aborted]: Cannot check out files into the repository itself
FAIL: check_repository

What am I doing wrong?

Thanks!

donald




reply via email to

[Prev in Thread] Current Thread [Next in Thread]