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


_______________________________________________
Bug-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/bug-cvs

Reply via email to