Thu Mar 8 20:42:21 2012 UTC ()
attempt to fix the unit tests


(christos)
diff -r1.1.1.1 -r1.2 src/external/gpl2/xcvs/dist/src/sanity.sh

cvs diff -r1.1.1.1 -r1.2 src/external/gpl2/xcvs/dist/src/sanity.sh (expand / switch to unified diff)

--- src/external/gpl2/xcvs/dist/src/sanity.sh 2009/04/07 22:10:33 1.1.1.1
+++ src/external/gpl2/xcvs/dist/src/sanity.sh 2012/03/08 20:42:21 1.2
@@ -2791,49 +2791,51 @@ for what in $tests; do @@ -2791,49 +2791,51 @@ for what in $tests; do
2791 if test $fromtest = $what ; then 2791 if test $fromtest = $what ; then
2792 unset fromtest 2792 unset fromtest
2793 else 2793 else
2794 continue 2794 continue
2795 fi 2795 fi
2796 fi 2796 fi
2797 case $what in 2797 case $what in
2798 2798
2799 version) 2799 version)
2800 # We've had cases where the version command started dumping core, 2800 # We've had cases where the version command started dumping core,
2801 # so we might as well test it 2801 # so we might as well test it
2802 dotest version-1 "${testcvs} --version" \ 2802 dotest version-1 "${testcvs} --version" \
2803' 2803'
2804Concurrent Versions System (CVS) [0-9.]*.* 2804Concurrent Versions System (CVS) [0-9.]*.*with CVSACL Patch [0-9.]*.*
2805 2805
2806Copyright (C) [0-9]* Free Software Foundation, Inc. 2806Copyright (C) [0-9]* Free Software Foundation, Inc.
2807 2807
2808Senior active maintainers include Larry Jones, Derek R. Price, 2808Senior active maintainers include Larry Jones, Derek R. Price,
2809and Mark D. Baushke. Please see the AUTHORS and README files from the CVS 2809and Mark D. Baushke. Please see the AUTHORS and README files from the CVS
2810distribution kit for a complete list of contributors and copyrights. 2810distribution kit for a complete list of contributors and copyrights.
2811 2811
2812CVS may be copied only under the terms of the GNU General Public License, 2812CVS may be copied only under the terms of the GNU General Public License,
2813a copy of which can be found with the CVS distribution kit. 2813a copy of which can be found with the CVS distribution kit.
2814 2814
2815Specify the --help option for further information about CVS' 2815Specify the --help option for further information about CVS'
2816 2816
2817# Maybe someday... 2817# Maybe someday...
2818# if $proxy; then 2818# if $proxy; then
2819# dotest version-2r "${testcvs} version" \ 2819# dotest version-2r "${testcvs} version" \
2820#'Client: Concurrent Versions System (CVS) [0-9p.]* (client.*) 2820#'Client: Concurrent Versions System (CVS) [0-9p.]* (client.*)
2821#Server: Concurrent Versions System (CVS) [0-9p.]* (.*server) 2821#Server: Concurrent Versions System (CVS) [0-9p.]* (.*server)
2822#Secondary Server: Concurrent Versions System (CVS) [0-9p.]* (.*server)' 2822#Secondary Server: Concurrent Versions System (CVS) [0-9p.]* (.*server)'
2823 if $remote; then 2823 if $remote; then
2824 dotest version-2r "${testcvs} version" \ 2824 dotest version-2r "${testcvs} version" \
2825'Client: Concurrent Versions System (CVS) [0-9p.]* (client.*) 2825'Client: Concurrent Versions System (CVS) [0-9p.]* (client.*)
2826Server: Concurrent Versions System (CVS) [0-9p.]* (.*server)' 2826with CVSACL Patch [0-9p.]* (.*)
 2827Server: Concurrent Versions System (CVS) [0-9p.]* (.*server)
 2828with CVSACL Patch [0-9p.]* (.*)'
2827 else 2829 else
2828 dotest version-2 "${testcvs} version" \ 2830 dotest version-2 "${testcvs} version" \
2829'Concurrent Versions System (CVS) [0-9.]*.*' 2831'Concurrent Versions System (CVS) [0-9.]*.*'
2830 fi 2832 fi
2831 ;; 2833 ;;
2832 2834
2833 2835
2834 2836
2835 basica) 2837 basica)
2836 # Similar in spirit to some of the basic1, and basic2 2838 # Similar in spirit to some of the basic1, and basic2
2837 # tests, but hopefully a lot faster. Also tests operating on 2839 # tests, but hopefully a lot faster. Also tests operating on
2838 # files two directories down *without* operating on the parent dirs. 2840 # files two directories down *without* operating on the parent dirs.
2839 2841
@@ -3318,29 +3320,29 @@ ${SPROG} \[admin aborted\]: attempt to d @@ -3318,29 +3320,29 @@ ${SPROG} \[admin aborted\]: attempt to d
3318 3320
3319 mkdir 1; cd 1 3321 mkdir 1; cd 1
3320 # Note that -H is an invalid option. 3322 # Note that -H is an invalid option.
3321 # I suspect that the choice between "illegal" and "invalid" 3323 # I suspect that the choice between "illegal" and "invalid"
3322 # depends on the user's environment variables, the phase 3324 # depends on the user's environment variables, the phase
3323 # of the moon (weirdness with optind), and who knows what else. 3325 # of the moon (weirdness with optind), and who knows what else.
3324 # I've been seeing "illegal"... 3326 # I've been seeing "illegal"...
3325 # And I switched it to "invalid". -DRP 3327 # And I switched it to "invalid". -DRP
3326 # POSIX 1003.2 specifies the format should be 'illegal option' 3328 # POSIX 1003.2 specifies the format should be 'illegal option'
3327 # many other folks are still using the older 'invalid option' 3329 # many other folks are still using the older 'invalid option'
3328 # lib/getopt.c will use POSIX when __posixly_correct 3330 # lib/getopt.c will use POSIX when __posixly_correct
3329 # otherwise the other, so accept both of them. -- mdb 3331 # otherwise the other, so accept both of them. -- mdb
3330 dotest_fail basicb-21 "${testcvs} -q admin -H" \ 3332 dotest_fail basicb-21 "${testcvs} -q admin -H" \
3331"admin: invalid option -- H 3333"admin: invalid option -- '*H'*
3332${CPROG} \[admin aborted\]: specify ${CPROG} -H admin for usage information" \ 3334${CPROG} \[admin aborted\]: specify ${CPROG} -H admin for usage information" \
3333"admin: illegal option -- H 3335"admin: illegal option -- '*H'*
3334${CPROG} \[admin aborted\]: specify ${CPROG} -H admin for usage information" 3336${CPROG} \[admin aborted\]: specify ${CPROG} -H admin for usage information"
3335 cd .. 3337 cd ..
3336 rmdir 1 3338 rmdir 1
3337 3339
3338 if $keep; then 3340 if $keep; then
3339 echo Keeping ${TESTDIR} and exiting due to --keep 3341 echo Keeping ${TESTDIR} and exiting due to --keep
3340 exit 0 3342 exit 0
3341 fi 3343 fi
3342 3344
3343 modify_repo rm -rf $CVSROOT_DIRNAME/first-dir \ 3345 modify_repo rm -rf $CVSROOT_DIRNAME/first-dir \
3344 $CVSROOT_DIRNAME/second-dir 3346 $CVSROOT_DIRNAME/second-dir
3345 modify_repo rm -f $CVSROOT_DIRNAME/topfile,v 3347 modify_repo rm -f $CVSROOT_DIRNAME/topfile,v
3346 ;; 3348 ;;
@@ -4627,150 +4629,158 @@ ${SPROG} update: Updating dir1/dir2" @@ -4627,150 +4629,158 @@ ${SPROG} update: Updating dir1/dir2"
4627 # \(${TESTDIR}\|<remote>\) is that we are trying to 4629 # \(${TESTDIR}\|<remote>\) is that we are trying to
4628 # make this portable. Perhaps at some point we should 4630 # make this portable. Perhaps at some point we should
4629 # ditch that notion and require GNU expr (or dejagnu or....) 4631 # ditch that notion and require GNU expr (or dejagnu or....)
4630 # since it seems to be so painful. 4632 # since it seems to be so painful.
4631 4633
4632 dotest basic2-64 "${testcvs} his -x TOFWUPCGMAR -a" \ 4634 dotest basic2-64 "${testcvs} his -x TOFWUPCGMAR -a" \
4633"O [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir =first-dir= ${TESTDIR}/\* 4635"O [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir =first-dir= ${TESTDIR}/\*
4634A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir == ${TESTDIR} 4636A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir == ${TESTDIR}
4635A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir == ${TESTDIR} 4637A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir == ${TESTDIR}
4636A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1 == ${TESTDIR} 4638A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1 == ${TESTDIR}
4637A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1 == ${TESTDIR} 4639A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1 == ${TESTDIR}
4638A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1/dir2 == ${TESTDIR} 4640A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1/dir2 == ${TESTDIR}
4639A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1/dir2 == ${TESTDIR} 4641A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1/dir2 == ${TESTDIR}
 4642T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[second-dive:A\]
4640A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir == ${TESTDIR} 4643A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir == ${TESTDIR}
4641M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == ${TESTDIR} 4644M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == ${TESTDIR}
4642R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir == ${TESTDIR} 4645R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir == ${TESTDIR}
4643A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1 == ${TESTDIR} 4646A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1 == ${TESTDIR}
4644M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1 == ${TESTDIR} 4647M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1 == ${TESTDIR}
4645R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1 == ${TESTDIR} 4648R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1 == ${TESTDIR}
4646A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1/dir2 == ${TESTDIR} 4649A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1/dir2 == ${TESTDIR}
4647M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1/dir2 == ${TESTDIR} 4650M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1/dir2 == ${TESTDIR}
4648R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1/dir2 == ${TESTDIR} 4651R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1/dir2 == ${TESTDIR}
 4652T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[third-dive:A\]
4649F [0-9-]* [0-9:]* ${PLUS}0000 ${username} =first-dir= ${TESTDIR}/\* 4653F [0-9-]* [0-9:]* ${PLUS}0000 ${username} =first-dir= ${TESTDIR}/\*
4650T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-head:A\] 4654T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-head:A\]
4651T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-tag:rtagged-by-head\] 4655T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-tag:rtagged-by-head\]
4652T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-revision:1\.1\] 4656T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-revision:1\.1\]
4653O [0-9-]* [0-9:]* ${PLUS}0000 ${username} \[1\.1\] first-dir =first-dir= ${TESTDIR}/\* 4657O [0-9-]* [0-9:]* ${PLUS}0000 ${username} \[1\.1\] first-dir =first-dir= ${TESTDIR}/\*
4654U [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == ${TESTDIR}/first-dir 4658U [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == ${TESTDIR}/first-dir
4655W [0-9-]* [0-9:]* ${PLUS}0000 ${username} file7 first-dir == ${TESTDIR}/first-dir" \ 4659W [0-9-]* [0-9:]* ${PLUS}0000 ${username} file7 first-dir == ${TESTDIR}/first-dir" \
4656"O [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir =first-dir= <remote>/\* 4660"O [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir =first-dir= <remote>/\*
4657A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir == <remote> 4661A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir == <remote>
4658A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir == <remote> 4662A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir == <remote>
4659A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1 == <remote> 4663A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1 == <remote>
4660A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1 == <remote> 4664A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1 == <remote>
4661A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1/dir2 == <remote> 4665A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file6 first-dir/dir1/dir2 == <remote>
4662A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1/dir2 == <remote> 4666A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file7 first-dir/dir1/dir2 == <remote>
 4667T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[second-dive:A\]
4663A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir == <remote> 4668A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir == <remote>
4664M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == <remote> 4669M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == <remote>
4665R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir == <remote> 4670R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir == <remote>
4666A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1 == <remote> 4671A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1 == <remote>
4667M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1 == <remote> 4672M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1 == <remote>
4668R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1 == <remote> 4673R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1 == <remote>
4669A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1/dir2 == <remote> 4674A [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.1 file14 first-dir/dir1/dir2 == <remote>
4670M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1/dir2 == <remote> 4675M [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir/dir1/dir2 == <remote>
4671R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1/dir2 == <remote> 4676R [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file7 first-dir/dir1/dir2 == <remote>
 4677T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[third-dive:A\]
4672F [0-9-]* [0-9:]* ${PLUS}0000 ${username} =first-dir= <remote>/\* 4678F [0-9-]* [0-9:]* ${PLUS}0000 ${username} =first-dir= <remote>/\*
4673T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-head:A\] 4679T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-head:A\]
4674T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-tag:rtagged-by-head\] 4680T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-tag:rtagged-by-head\]
4675T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-revision:1\.1\] 4681T [0-9-]* [0-9:]* ${PLUS}0000 ${username} first-dir \[rtagged-by-revision:1\.1\]
4676O [0-9-]* [0-9:]* ${PLUS}0000 ${username} \[1\.1\] first-dir =first-dir= <remote>/\* 4682O [0-9-]* [0-9:]* ${PLUS}0000 ${username} \[1\.1\] first-dir =first-dir= <remote>/\*
4677P [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == <remote> 4683P [0-9-]* [0-9:]* ${PLUS}0000 ${username} 1\.2 file6 first-dir == <remote>
4678W [0-9-]* [0-9:]* ${PLUS}0000 ${username} file7 first-dir == <remote>" 4684W [0-9-]* [0-9:]* ${PLUS}0000 ${username} file7 first-dir == <remote>"
4679 fi 4685 fi
4680 4686
4681 dokeep 4687 dokeep
4682 modify_repo rm -rf $CVSROOT_DIRNAME/first-dir \ 4688 modify_repo rm -rf $CVSROOT_DIRNAME/first-dir \
4683 $CVSROOT_DIRNAME/second-dir 4689 $CVSROOT_DIRNAME/second-dir
4684 ;; 4690 ;;
4685 4691
4686 4692
4687 4693
4688 ls) 4694 ls)
4689 # Test the ls & rls commands. There are some tests of 4695 # Test the ls & rls commands. There are some tests of
4690 # Interaction of ls, rls, and branches in branches2. 4696 # Interaction of ls, rls, and branches in branches2.
4691 mkdir ls; cd ls 4697 mkdir ls; cd ls
4692 dotest ls-init-1 "$testcvs -Q co -dtop ." 4698 dotest ls-init-1 "$testcvs -Q co -dtop ."
4693 cd top 4699 cd top
4694 dotest ls-1 "$testcvs ls CVSROOT" \ 4700 dotest ls-1 "$testcvs ls CVSROOT" \
4695"checkoutlist 4701"aclconfig
 4702checkoutlist
4696commitinfo 4703commitinfo
4697config 4704config
4698cvswrappers 4705cvswrappers
4699loginfo 4706loginfo
4700modules 4707modules
4701notify 4708notify
4702postadmin 4709postadmin
4703postproxy 4710postproxy
4704posttag 4711posttag
4705postwatch 4712postwatch
4706preproxy 4713preproxy
4707rcsinfo 4714rcsinfo
4708taginfo 4715taginfo
4709verifymsg" 4716verifymsg"
4710 dotest ls-2 "$testcvs ls -R" \ 4717 dotest ls-2 "$testcvs ls -R" \
4711"\.: 4718"\.:
4712CVSROOT 4719CVSROOT
4713 4720
4714CVSROOT: 4721CVSROOT:
 4722aclconfig
4715checkoutlist 4723checkoutlist
4716commitinfo 4724commitinfo
4717config 4725config
4718cvswrappers 4726cvswrappers
4719loginfo 4727loginfo
4720modules 4728modules
4721notify 4729notify
4722postadmin 4730postadmin
4723postproxy 4731postproxy
4724posttag 4732posttag
4725postwatch 4733postwatch
4726preproxy 4734preproxy
4727rcsinfo 4735rcsinfo
4728taginfo 4736taginfo
4729verifymsg" 4737verifymsg"
4730 # This used to cause a fatal error. 4738 # This used to cause a fatal error.
4731 modify_repo mkdir $CVSROOT_DIRNAME/notcheckedout 4739 modify_repo mkdir $CVSROOT_DIRNAME/notcheckedout
4732 dotest ls-3 "$testcvs ls -RP" \ 4740 dotest ls-3 "$testcvs ls -RP" \
4733"\.: 4741"\.:
4734CVSROOT 4742CVSROOT
4735notcheckedout 4743notcheckedout
4736 4744
4737CVSROOT: 4745CVSROOT:
 4746aclconfig
4738checkoutlist 4747checkoutlist
4739commitinfo 4748commitinfo
4740config 4749config
4741cvswrappers 4750cvswrappers
4742loginfo 4751loginfo
4743modules 4752modules
4744notify 4753notify
4745postadmin 4754postadmin
4746postproxy 4755postproxy
4747posttag 4756posttag
4748postwatch 4757postwatch
4749preproxy 4758preproxy
4750rcsinfo 4759rcsinfo
4751taginfo 4760taginfo
4752verifymsg" 4761verifymsg"
4753 4762
4754 # Make sure the previous command did not create the notcheckedout 4763 # Make sure the previous command did not create the notcheckedout
4755 # directory. 4764 # directory.
4756 dotest_fail ls-4 "test -d notcheckedout" 4765 dotest_fail ls-4 "test -d notcheckedout"
4757 4766
4758 dotest ls-5 "$testcvs ls -R" \ 4767 dotest ls-5 "$testcvs ls -R" \
4759"\.: 4768"\.:
4760CVSROOT 4769CVSROOT
4761notcheckedout 4770notcheckedout
4762 4771
4763CVSROOT: 4772CVSROOT:
 4773aclconfig
4764checkoutlist 4774checkoutlist
4765commitinfo 4775commitinfo
4766config 4776config
4767cvswrappers 4777cvswrappers
4768loginfo 4778loginfo
4769modules 4779modules
4770notify 4780notify
4771postadmin 4781postadmin
4772postproxy 4782postproxy
4773posttag 4783posttag
4774postwatch 4784postwatch
4775preproxy 4785preproxy
4776rcsinfo 4786rcsinfo
@@ -7499,26 +7509,27 @@ File: file3 Status: Up-to-da @@ -7499,26 +7509,27 @@ File: file3 Status: Up-to-da
7499 # Test some calls to rls here because we can. These should probably 7509 # Test some calls to rls here because we can. These should probably
7500 # be somewhere else, but we already have some directories set up. 7510 # be somewhere else, but we already have some directories set up.
7501 dotest branches2-14-rls-1 "$testcvs rls" \ 7511 dotest branches2-14-rls-1 "$testcvs rls" \
7502"$SPROG rls: Listing module: \`.' 7512"$SPROG rls: Listing module: \`.'
7503CVSROOT 7513CVSROOT
7504first-dir" 7514first-dir"
7505 dotest branches2-14-rls-2 "$testcvs rls -R" \ 7515 dotest branches2-14-rls-2 "$testcvs rls -R" \
7506"$SPROG rls: Listing module: \`.' 7516"$SPROG rls: Listing module: \`.'
7507\.: 7517\.:
7508CVSROOT 7518CVSROOT
7509first-dir 7519first-dir
7510 7520
7511CVSROOT: 7521CVSROOT:
 7522aclconfig
7512checkoutlist 7523checkoutlist
7513commitinfo 7524commitinfo
7514config 7525config
7515cvswrappers 7526cvswrappers
7516loginfo 7527loginfo
7517modules 7528modules
7518notify 7529notify
7519postadmin 7530postadmin
7520postproxy 7531postproxy
7521posttag 7532posttag
7522postwatch 7533postwatch
7523preproxy 7534preproxy
7524rcsinfo 7535rcsinfo
@@ -7530,26 +7541,27 @@ CVSROOT/Emptydir: @@ -7530,26 +7541,27 @@ CVSROOT/Emptydir:
7530 7541
7531first-dir: 7542first-dir:
7532file1 7543file1
7533dir1 7544dir1
7534 7545
7535first-dir/dir1:" 7546first-dir/dir1:"
7536 dotest branches2-14-rls-3 "$testcvs rls -l -R" \ 7547 dotest branches2-14-rls-3 "$testcvs rls -l -R" \
7537"$SPROG rls: Listing module: \`.' 7548"$SPROG rls: Listing module: \`.'
7538\.: 7549\.:
7539d--- $ISO8601DATE CVSROOT 7550d--- $ISO8601DATE CVSROOT
7540d--- $ISO8601DATE first-dir 7551d--- $ISO8601DATE first-dir
7541 7552
7542CVSROOT: 7553CVSROOT:
 7554---- $ISO8601DATE 1\.[0-9][0-9]* aclconfig
7543---- $ISO8601DATE 1\.[0-9][0-9]* checkoutlist 7555---- $ISO8601DATE 1\.[0-9][0-9]* checkoutlist
7544---- $ISO8601DATE 1\.[0-9][0-9]* commitinfo 7556---- $ISO8601DATE 1\.[0-9][0-9]* commitinfo
7545---- $ISO8601DATE 1\.[0-9][0-9]* config 7557---- $ISO8601DATE 1\.[0-9][0-9]* config
7546---- $ISO8601DATE 1\.[0-9][0-9]* cvswrappers 7558---- $ISO8601DATE 1\.[0-9][0-9]* cvswrappers
7547---- $ISO8601DATE 1\.[0-9][0-9]* loginfo 7559---- $ISO8601DATE 1\.[0-9][0-9]* loginfo
7548---- $ISO8601DATE 1\.[0-9][0-9]* modules 7560---- $ISO8601DATE 1\.[0-9][0-9]* modules
7549---- $ISO8601DATE 1\.[0-9][0-9]* notify 7561---- $ISO8601DATE 1\.[0-9][0-9]* notify
7550---- $ISO8601DATE 1\.[0-9][0-9]* postadmin 7562---- $ISO8601DATE 1\.[0-9][0-9]* postadmin
7551---- $ISO8601DATE 1\.[0-9][0-9]* postproxy 7563---- $ISO8601DATE 1\.[0-9][0-9]* postproxy
7552---- $ISO8601DATE 1\.[0-9][0-9]* posttag 7564---- $ISO8601DATE 1\.[0-9][0-9]* posttag
7553---- $ISO8601DATE 1\.[0-9][0-9]* postwatch 7565---- $ISO8601DATE 1\.[0-9][0-9]* postwatch
7554---- $ISO8601DATE 1\.[0-9][0-9]* preproxy 7566---- $ISO8601DATE 1\.[0-9][0-9]* preproxy
7555---- $ISO8601DATE 1\.[0-9][0-9]* rcsinfo 7567---- $ISO8601DATE 1\.[0-9][0-9]* rcsinfo
@@ -7561,26 +7573,27 @@ CVSROOT/Emptydir: @@ -7561,26 +7573,27 @@ CVSROOT/Emptydir:
7561 7573
7562first-dir: 7574first-dir:
7563---- $ISO8601DATE 1\.1 file1 7575---- $ISO8601DATE 1\.1 file1
7564d--- $ISO8601DATE dir1 7576d--- $ISO8601DATE dir1
7565 7577
7566first-dir/dir1:" 7578first-dir/dir1:"
7567 dotest branches2-14-rls-4 "$testcvs rls -eR" \ 7579 dotest branches2-14-rls-4 "$testcvs rls -eR" \
7568"$SPROG rls: Listing module: \`.' 7580"$SPROG rls: Listing module: \`.'
7569\.: 7581\.:
7570D/CVSROOT//// 7582D/CVSROOT////
7571D/first-dir//// 7583D/first-dir////
7572 7584
7573CVSROOT: 7585CVSROOT:
 7586/aclconfig/1\.[0-9][0-9]*/$DATE//
7574/checkoutlist/1\.[0-9][0-9]*/$DATE// 7587/checkoutlist/1\.[0-9][0-9]*/$DATE//
7575/commitinfo/1\.[0-9][0-9]*/$DATE// 7588/commitinfo/1\.[0-9][0-9]*/$DATE//
7576/config/1\.[0-9][0-9]*/$DATE// 7589/config/1\.[0-9][0-9]*/$DATE//
7577/cvswrappers/1\.[0-9][0-9]*/$DATE// 7590/cvswrappers/1\.[0-9][0-9]*/$DATE//
7578/loginfo/1\.[0-9][0-9]*/$DATE// 7591/loginfo/1\.[0-9][0-9]*/$DATE//
7579/modules/1\.[0-9][0-9]*/$DATE// 7592/modules/1\.[0-9][0-9]*/$DATE//
7580/notify/1\.[0-9][0-9]*/$DATE// 7593/notify/1\.[0-9][0-9]*/$DATE//
7581/postadmin/1\.[0-9][0-9]*/$DATE// 7594/postadmin/1\.[0-9][0-9]*/$DATE//
7582/postproxy/1\.[0-9][0-9]*/$DATE// 7595/postproxy/1\.[0-9][0-9]*/$DATE//
7583/posttag/1\.[0-9][0-9]*/$DATE// 7596/posttag/1\.[0-9][0-9]*/$DATE//
7584/postwatch/1\.[0-9][0-9]*/$DATE// 7597/postwatch/1\.[0-9][0-9]*/$DATE//
7585/preproxy/1\.[0-9][0-9]*/$DATE// 7598/preproxy/1\.[0-9][0-9]*/$DATE//
7586/rcsinfo/1\.[0-9][0-9]*/$DATE// 7599/rcsinfo/1\.[0-9][0-9]*/$DATE//
@@ -7591,26 +7604,27 @@ D/Emptydir//// @@ -7591,26 +7604,27 @@ D/Emptydir////
7591CVSROOT/Emptydir: 7604CVSROOT/Emptydir:
7592 7605
7593first-dir: 7606first-dir:
7594/file1/1\.1/$DATE// 7607/file1/1\.1/$DATE//
7595D/dir1//// 7608D/dir1////
7596 7609
7597first-dir/dir1:" 7610first-dir/dir1:"
7598 dotest branches2-14-rls-5 "$testcvs -q rls -R" \ 7611 dotest branches2-14-rls-5 "$testcvs -q rls -R" \
7599"\.: 7612"\.:
7600CVSROOT 7613CVSROOT
7601first-dir 7614first-dir
7602 7615
7603CVSROOT: 7616CVSROOT:
 7617aclconfig
7604checkoutlist 7618checkoutlist
7605commitinfo 7619commitinfo
7606config 7620config
7607cvswrappers 7621cvswrappers
7608loginfo 7622loginfo
7609modules 7623modules
7610notify 7624notify
7611postadmin 7625postadmin
7612postproxy 7626postproxy
7613posttag 7627posttag
7614postwatch 7628postwatch
7615preproxy 7629preproxy
7616rcsinfo 7630rcsinfo
@@ -12191,27 +12205,28 @@ fish" @@ -12191,27 +12205,28 @@ fish"
12191 # CVSROOT/config files are broken. This is intentional, since it is 12205 # CVSROOT/config files are broken. This is intentional, since it is
12192 # possible and even likely that an administrator might want to set up 12206 # possible and even likely that an administrator might want to set up
12193 # different configurations on the two servers and the paths to the 12207 # different configurations on the two servers and the paths to the
12194 # config files on the secondary and primary were intentionally left 12208 # config files on the secondary and primary were intentionally left
12195 # intact even though they might be different. 12209 # intact even though they might be different.
12196 if $noredirect; then 12210 if $noredirect; then
12197 notnoredirect keywordexpand 12211 notnoredirect keywordexpand
12198 continue 12212 continue
12199 fi 12213 fi
12200 12214
12201 mkdir keywordexpand; cd keywordexpand 12215 mkdir keywordexpand; cd keywordexpand
12202 12216
12203 dotest keywordexpand-1 "${testcvs} -q co CVSROOT" \ 12217 dotest keywordexpand-1 "${testcvs} -q co CVSROOT" \
12204'U CVSROOT/checkoutlist 12218'U CVSROOT/aclconfig
 12219U CVSROOT/checkoutlist
12205U CVSROOT/commitinfo 12220U CVSROOT/commitinfo
12206U CVSROOT/config 12221U CVSROOT/config
12207U CVSROOT/cvswrappers 12222U CVSROOT/cvswrappers
12208U CVSROOT/loginfo 12223U CVSROOT/loginfo
12209U CVSROOT/modules 12224U CVSROOT/modules
12210U CVSROOT/notify 12225U CVSROOT/notify
12211U CVSROOT/postadmin 12226U CVSROOT/postadmin
12212U CVSROOT/postproxy 12227U CVSROOT/postproxy
12213U CVSROOT/posttag 12228U CVSROOT/posttag
12214U CVSROOT/postwatch 12229U CVSROOT/postwatch
12215U CVSROOT/preproxy 12230U CVSROOT/preproxy
12216U CVSROOT/rcsinfo 12231U CVSROOT/rcsinfo
12217U CVSROOT/taginfo 12232U CVSROOT/taginfo
@@ -12334,53 +12349,55 @@ $SPROG [a-z]*: $CVSROOT_DIRNAME/CVSROOT/ @@ -12334,53 +12349,55 @@ $SPROG [a-z]*: $CVSROOT_DIRNAME/CVSROOT/
12334 # -s: modules. 12349 # -s: modules.
12335 # -d: modules, modules3, cvsadm 12350 # -d: modules, modules3, cvsadm
12336 # -i, -o, -u, -e, -t: modules5 12351 # -i, -o, -u, -e, -t: modules5
12337 # slashes in module names: modules3 12352 # slashes in module names: modules3
12338 # invalid module definitions: modules6 12353 # invalid module definitions: modules6
12339 12354
12340 ############################################################ 12355 ############################################################
12341 # These tests are to make sure that administrative files get 12356 # These tests are to make sure that administrative files get
12342 # rebuilt, regardless of how and where files are checked 12357 # rebuilt, regardless of how and where files are checked
12343 # out. 12358 # out.
12344 ############################################################ 12359 ############################################################
12345 # Check out the whole repository 12360 # Check out the whole repository
12346 mkdir 1; cd 1 12361 mkdir 1; cd 1
12347 dotest modules-1 "${testcvs} -q co ." 'U CVSROOT/checkoutlist 12362 dotest modules-1 "${testcvs} -q co ." 'U CVSROOT/aclconfig
 12363U CVSROOT/checkoutlist
12348U CVSROOT/commitinfo 12364U CVSROOT/commitinfo
12349U CVSROOT/config 12365U CVSROOT/config
12350U CVSROOT/cvswrappers 12366U CVSROOT/cvswrappers
12351U CVSROOT/loginfo 12367U CVSROOT/loginfo
12352U CVSROOT/modules 12368U CVSROOT/modules
12353U CVSROOT/notify 12369U CVSROOT/notify
12354U CVSROOT/postadmin 12370U CVSROOT/postadmin
12355U CVSROOT/postproxy 12371U CVSROOT/postproxy
12356U CVSROOT/posttag 12372U CVSROOT/posttag
12357U CVSROOT/postwatch 12373U CVSROOT/postwatch
12358U CVSROOT/preproxy 12374U CVSROOT/preproxy
12359U CVSROOT/rcsinfo 12375U CVSROOT/rcsinfo
12360U CVSROOT/taginfo 12376U CVSROOT/taginfo
12361U CVSROOT/verifymsg' 12377U CVSROOT/verifymsg'
12362 echo "# made a change" >>CVSROOT/modules 12378 echo "# made a change" >>CVSROOT/modules
12363 dotest modules-1d "${testcvs} -q ci -m add-modules" \ 12379 dotest modules-1d "${testcvs} -q ci -m add-modules" \
12364"$CVSROOT_DIRNAME/CVSROOT/modules,v <-- CVSROOT/modules 12380"$CVSROOT_DIRNAME/CVSROOT/modules,v <-- CVSROOT/modules
12365new revision: 1\.[0-9]*; previous revision: 1\.[0-9]* 12381new revision: 1\.[0-9]*; previous revision: 1\.[0-9]*
12366$SPROG commit: Rebuilding administrative file database" 12382$SPROG commit: Rebuilding administrative file database"
12367 cd .. 12383 cd ..
12368 rm -rf 1 12384 rm -rf 1
12369 12385
12370 ############################################################ 12386 ############################################################
12371 # Check out CVSROOT 12387 # Check out CVSROOT
12372 mkdir 1; cd 1 12388 mkdir 1; cd 1
12373 dotest modules-2 "${testcvs} -q co CVSROOT" 'U CVSROOT/checkoutlist 12389 dotest modules-2 "${testcvs} -q co CVSROOT" 'U CVSROOT/aclconfig
 12390U CVSROOT/checkoutlist
12374U CVSROOT/commitinfo 12391U CVSROOT/commitinfo
12375U CVSROOT/config 12392U CVSROOT/config
12376U CVSROOT/cvswrappers 12393U CVSROOT/cvswrappers
12377U CVSROOT/loginfo 12394U CVSROOT/loginfo
12378U CVSROOT/modules 12395U CVSROOT/modules
12379U CVSROOT/notify 12396U CVSROOT/notify
12380U CVSROOT/postadmin 12397U CVSROOT/postadmin
12381U CVSROOT/postproxy 12398U CVSROOT/postproxy
12382U CVSROOT/posttag 12399U CVSROOT/posttag
12383U CVSROOT/postwatch 12400U CVSROOT/postwatch
12384U CVSROOT/preproxy 12401U CVSROOT/preproxy
12385U CVSROOT/rcsinfo 12402U CVSROOT/rcsinfo
12386U CVSROOT/taginfo 12403U CVSROOT/taginfo
@@ -12389,27 +12406,28 @@ U CVSROOT/verifymsg' @@ -12389,27 +12406,28 @@ U CVSROOT/verifymsg'
12389 dotest modules-2d "${testcvs} -q ci -m add-modules" \ 12406 dotest modules-2d "${testcvs} -q ci -m add-modules" \
12390"$CVSROOT_DIRNAME/CVSROOT/modules,v <-- CVSROOT/modules 12407"$CVSROOT_DIRNAME/CVSROOT/modules,v <-- CVSROOT/modules
12391new revision: 1\.[0-9]*; previous revision: 1\.[0-9]* 12408new revision: 1\.[0-9]*; previous revision: 1\.[0-9]*
12392$SPROG commit: Rebuilding administrative file database" 12409$SPROG commit: Rebuilding administrative file database"
12393 cd .. 12410 cd ..
12394 rm -rf 1 12411 rm -rf 1
12395 12412
12396 ############################################################ 12413 ############################################################
12397 # Check out CVSROOT in some other directory 12414 # Check out CVSROOT in some other directory
12398 modify_repo mkdir $CVSROOT_DIRNAME/somedir 12415 modify_repo mkdir $CVSROOT_DIRNAME/somedir
12399 mkdir 1; cd 1 12416 mkdir 1; cd 1
12400 dotest modules-3 "${testcvs} -q co somedir" '' 12417 dotest modules-3 "${testcvs} -q co somedir" ''
12401 cd somedir 12418 cd somedir
12402 dotest modules-3d "${testcvs} -q co CVSROOT" 'U CVSROOT/checkoutlist 12419 dotest modules-3d "${testcvs} -q co CVSROOT" 'U CVSROOT/aclconfig
 12420U CVSROOT/checkoutlist
12403U CVSROOT/commitinfo 12421U CVSROOT/commitinfo
12404U CVSROOT/config 12422U CVSROOT/config
12405U CVSROOT/cvswrappers 12423U CVSROOT/cvswrappers
12406U CVSROOT/loginfo 12424U CVSROOT/loginfo
12407U CVSROOT/modules 12425U CVSROOT/modules
12408U CVSROOT/notify 12426U CVSROOT/notify
12409U CVSROOT/postadmin 12427U CVSROOT/postadmin
12410U CVSROOT/postproxy 12428U CVSROOT/postproxy
12411U CVSROOT/posttag 12429U CVSROOT/posttag
12412U CVSROOT/postwatch 12430U CVSROOT/postwatch
12413U CVSROOT/preproxy 12431U CVSROOT/preproxy
12414U CVSROOT/rcsinfo 12432U CVSROOT/rcsinfo
12415U CVSROOT/taginfo 12433U CVSROOT/taginfo
@@ -12451,27 +12469,28 @@ $SPROG commit: Rebuilding administrative @@ -12451,27 +12469,28 @@ $SPROG commit: Rebuilding administrative
12451${SPROG} add: scheduling file .b. for addition 12469${SPROG} add: scheduling file .b. for addition
12452${SPROG} add: use .${SPROG} commit. to add these files permanently" 12470${SPROG} add: use .${SPROG} commit. to add these files permanently"
12453 12471
12454 dotest modules-145 "$testcvs ci -m added" \ 12472 dotest modules-145 "$testcvs ci -m added" \
12455"$CPROG commit: Examining . 12473"$CPROG commit: Examining .
12456$CPROG commit: Examining ssdir 12474$CPROG commit: Examining ssdir
12457$CVSROOT_DIRNAME/first-dir/subdir/a,v <-- a 12475$CVSROOT_DIRNAME/first-dir/subdir/a,v <-- a
12458initial revision: 1\.1 12476initial revision: 1\.1
12459$CVSROOT_DIRNAME/first-dir/subdir/b,v <-- b 12477$CVSROOT_DIRNAME/first-dir/subdir/b,v <-- b
12460initial revision: 1\.1" 12478initial revision: 1\.1"
12461 12479
12462 cd .. 12480 cd ..
12463 dotest modules-146 "$testcvs -q co CVSROOT" \ 12481 dotest modules-146 "$testcvs -q co CVSROOT" \
12464"U CVSROOT/checkoutlist 12482"U CVSROOT/aclconfig
 12483U CVSROOT/checkoutlist
12465U CVSROOT/commitinfo 12484U CVSROOT/commitinfo
12466U CVSROOT/config 12485U CVSROOT/config
12467U CVSROOT/cvswrappers 12486U CVSROOT/cvswrappers
12468U CVSROOT/loginfo 12487U CVSROOT/loginfo
12469U CVSROOT/modules 12488U CVSROOT/modules
12470U CVSROOT/notify 12489U CVSROOT/notify
12471U CVSROOT/postadmin 12490U CVSROOT/postadmin
12472U CVSROOT/postproxy 12491U CVSROOT/postproxy
12473U CVSROOT/posttag 12492U CVSROOT/posttag
12474U CVSROOT/postwatch 12493U CVSROOT/postwatch
12475U CVSROOT/preproxy 12494U CVSROOT/preproxy
12476U CVSROOT/rcsinfo 12495U CVSROOT/rcsinfo
12477U CVSROOT/taginfo 12496U CVSROOT/taginfo
@@ -13259,27 +13278,28 @@ add-it @@ -13259,27 +13278,28 @@ add-it
13259${SPROG} add: scheduling file .b. for addition 13278${SPROG} add: scheduling file .b. for addition
13260${SPROG} add: use .${SPROG} commit. to add these files permanently" 13279${SPROG} add: use .${SPROG} commit. to add these files permanently"
13261 13280
13262 dotest modules5-5 "${testcvs} ci -m added" \ 13281 dotest modules5-5 "${testcvs} ci -m added" \
13263"${CPROG} commit: Examining . 13282"${CPROG} commit: Examining .
13264${CPROG} commit: Examining ssdir 13283${CPROG} commit: Examining ssdir
13265${CVSROOT_DIRNAME}/first-dir/subdir/a,v <-- a 13284${CVSROOT_DIRNAME}/first-dir/subdir/a,v <-- a
13266initial revision: 1\.1 13285initial revision: 1\.1
13267${CVSROOT_DIRNAME}/first-dir/subdir/b,v <-- b 13286${CVSROOT_DIRNAME}/first-dir/subdir/b,v <-- b
13268initial revision: 1\.1" 13287initial revision: 1\.1"
13269 13288
13270 cd .. 13289 cd ..
13271 dotest modules5-6 "${testcvs} -q co CVSROOT" \ 13290 dotest modules5-6 "${testcvs} -q co CVSROOT" \
13272"U CVSROOT/checkoutlist 13291"U CVSROOT/aclconfig
 13292U CVSROOT/checkoutlist
13273U CVSROOT/commitinfo 13293U CVSROOT/commitinfo
13274U CVSROOT/config 13294U CVSROOT/config
13275U CVSROOT/cvswrappers 13295U CVSROOT/cvswrappers
13276U CVSROOT/loginfo 13296U CVSROOT/loginfo
13277U CVSROOT/modules 13297U CVSROOT/modules
13278U CVSROOT/notify 13298U CVSROOT/notify
13279U CVSROOT/postadmin 13299U CVSROOT/postadmin
13280U CVSROOT/postproxy 13300U CVSROOT/postproxy
13281U CVSROOT/posttag 13301U CVSROOT/posttag
13282U CVSROOT/postwatch 13302U CVSROOT/postwatch
13283U CVSROOT/preproxy 13303U CVSROOT/preproxy
13284U CVSROOT/rcsinfo 13304U CVSROOT/rcsinfo
13285U CVSROOT/taginfo 13305U CVSROOT/taginfo
@@ -15563,26 +15583,28 @@ RCS file: $CVSROOT_DIRNAME/CVSROOT$DOTST @@ -15563,26 +15583,28 @@ RCS file: $CVSROOT_DIRNAME/CVSROOT$DOTST
15563"${testcvs} co -d ${CVSROOT_DIRNAME} CVSROOT" \ 15583"${testcvs} co -d ${CVSROOT_DIRNAME} CVSROOT" \
15564"${CPROG} \[checkout aborted\]: Cannot check out files into the repository itself" \ 15584"${CPROG} \[checkout aborted\]: Cannot check out files into the repository itself" \
15565"${SPROG} \[checkout aborted\]: absolute pathnames invalid for server (specified \`${CVSROOT_DIRNAME}')" 15585"${SPROG} \[checkout aborted\]: absolute pathnames invalid for server (specified \`${CVSROOT_DIRNAME}')"
15566 15586
15567 # The behavior of the client/server test below should be correct. 15587 # The behavior of the client/server test below should be correct.
15568 # The CVS client currently has no way of knowing that the client and 15588 # The CVS client currently has no way of knowing that the client and
15569 # server are the same machine and thus skips the $CVSROOT checks. 15589 # server are the same machine and thus skips the $CVSROOT checks.
15570 # I think checking for this case in CVS would be bloat since this 15590 # I think checking for this case in CVS would be bloat since this
15571 # should be a fairly rare occurance. 15591 # should be a fairly rare occurance.
15572 cd ${CVSROOT_DIRNAME} 15592 cd ${CVSROOT_DIRNAME}
15573 dotest_fail checkout_repository-2 "${testcvs} co CVSROOT" \ 15593 dotest_fail checkout_repository-2 "${testcvs} co CVSROOT" \
15574"${CPROG} \[checkout aborted\]: Cannot check out files into the repository itself" \ 15594"${CPROG} \[checkout aborted\]: Cannot check out files into the repository itself" \
15575"${SPROG} checkout: Updating CVSROOT 15595"${SPROG} checkout: Updating CVSROOT
 15596${CPROG} checkout: move away \`CVSROOT/aclconfig'; it is in the way
 15597C CVSROOT/aclconfig
15576${CPROG} checkout: move away \`CVSROOT/checkoutlist'; it is in the way 15598${CPROG} checkout: move away \`CVSROOT/checkoutlist'; it is in the way
15577C CVSROOT/checkoutlist 15599C CVSROOT/checkoutlist
15578${CPROG} checkout: move away \`CVSROOT/commitinfo'; it is in the way 15600${CPROG} checkout: move away \`CVSROOT/commitinfo'; it is in the way
15579C CVSROOT/commitinfo 15601C CVSROOT/commitinfo
15580${CPROG} checkout: move away \`CVSROOT/config'; it is in the way 15602${CPROG} checkout: move away \`CVSROOT/config'; it is in the way
15581C CVSROOT/config 15603C CVSROOT/config
15582${CPROG} checkout: move away \`CVSROOT/cvswrappers'; it is in the way 15604${CPROG} checkout: move away \`CVSROOT/cvswrappers'; it is in the way
15583C CVSROOT/cvswrappers 15605C CVSROOT/cvswrappers
15584${CPROG} checkout: move away \`CVSROOT/loginfo'; it is in the way 15606${CPROG} checkout: move away \`CVSROOT/loginfo'; it is in the way
15585C CVSROOT/loginfo 15607C CVSROOT/loginfo
15586${CPROG} checkout: move away \`CVSROOT/modules'; it is in the way 15608${CPROG} checkout: move away \`CVSROOT/modules'; it is in the way
15587C CVSROOT/modules 15609C CVSROOT/modules
15588${CPROG} checkout: move away \`CVSROOT/notify'; it is in the way 15610${CPROG} checkout: move away \`CVSROOT/notify'; it is in the way
@@ -15731,37 +15753,39 @@ new revision: 1\.1\.2\.1; previous revis @@ -15731,37 +15753,39 @@ new revision: 1\.1\.2\.1; previous revis
15731RCS file: ${CVSROOT_DIRNAME}/first-dir/file1,v 15753RCS file: ${CVSROOT_DIRNAME}/first-dir/file1,v
15732Working file: file1 15754Working file: file1
15733head: 1\.1 15755head: 1\.1
15734branch: 15756branch:
15735locks: strict 15757locks: strict
15736access list: 15758access list:
15737keyword substitution: kv 15759keyword substitution: kv
15738total revisions: 2; selected revisions: 2 15760total revisions: 2; selected revisions: 2
15739description: 15761description:
15740---------------------------- 15762----------------------------
15741revision 1\.1 15763revision 1\.1
15742date: ${ISO8601DATE}; author: ${username}; state: Exp; commitid: ${commitid}; 15764date: ${ISO8601DATE}; author: ${username}; state: Exp; commitid: ${commitid};
15743branches: 1\.1\.2; 15765branches: 1\.1\.2;
 15766x
15744xCVS: ---------------------------------------------------------------------- 15767xCVS: ----------------------------------------------------------------------
15745xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically 15768xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically
15746xCVS: 15769xCVS:
15747xCVS: Committing in . 15770xCVS: Committing in .
15748xCVS: 15771xCVS:
15749xCVS: Added Files: 15772xCVS: Added Files:
15750xCVS: file1 file2 15773xCVS: file1 file2
15751xCVS: ---------------------------------------------------------------------- 15774xCVS: ----------------------------------------------------------------------
15752---------------------------- 15775----------------------------
15753revision 1\.1\.2\.1 15776revision 1\.1\.2\.1
15754date: ${ISO8601DATE}; author: ${username}; state: Exp; lines: ${PLUS}1 -0; commitid: ${commitid}; 15777date: ${ISO8601DATE}; author: ${username}; state: Exp; lines: ${PLUS}1 -0; commitid: ${commitid};
 15778x
15755xCVS: ---------------------------------------------------------------------- 15779xCVS: ----------------------------------------------------------------------
15756xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically 15780xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically
15757xCVS: 15781xCVS:
15758xCVS: Committing in . 15782xCVS: Committing in .
15759xCVS: 15783xCVS:
15760xCVS: Modified Files: 15784xCVS: Modified Files:
15761xCVS: Tag: br 15785xCVS: Tag: br
15762xCVS: file1 15786xCVS: file1
15763xCVS: ---------------------------------------------------------------------- 15787xCVS: ----------------------------------------------------------------------
15764=============================================================================" 15788============================================================================="
15765 15789
15766 # The only difference between the two expect strings is the 15790 # The only difference between the two expect strings is the
15767 # presence or absence of "Committing in ." for 1.1.2.1. 15791 # presence or absence of "Committing in ." for 1.1.2.1.
@@ -15769,69 +15793,73 @@ xCVS: ---------------------------------- @@ -15769,69 +15793,73 @@ xCVS: ----------------------------------
15769RCS file: ${CVSROOT_DIRNAME}/first-dir/file2,v 15793RCS file: ${CVSROOT_DIRNAME}/first-dir/file2,v
15770Working file: file2 15794Working file: file2
15771head: 1\.1 15795head: 1\.1
15772branch: 15796branch:
15773locks: strict 15797locks: strict
15774access list: 15798access list:
15775keyword substitution: kv 15799keyword substitution: kv
15776total revisions: 2; selected revisions: 2 15800total revisions: 2; selected revisions: 2
15777description: 15801description:
15778---------------------------- 15802----------------------------
15779revision 1\.1 15803revision 1\.1
15780date: ${ISO8601DATE}; author: ${username}; state: Exp; commitid: ${commitid}; 15804date: ${ISO8601DATE}; author: ${username}; state: Exp; commitid: ${commitid};
15781branches: 1\.1\.2; 15805branches: 1\.1\.2;
 15806x
15782xCVS: ---------------------------------------------------------------------- 15807xCVS: ----------------------------------------------------------------------
15783xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically 15808xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically
15784xCVS: 15809xCVS:
15785xCVS: Committing in . 15810xCVS: Committing in .
15786xCVS: 15811xCVS:
15787xCVS: Added Files: 15812xCVS: Added Files:
15788xCVS: file1 file2 15813xCVS: file1 file2
15789xCVS: ---------------------------------------------------------------------- 15814xCVS: ----------------------------------------------------------------------
15790---------------------------- 15815----------------------------
15791revision 1\.1\.2\.1 15816revision 1\.1\.2\.1
15792date: ${ISO8601DATE}; author: ${username}; state: Exp; lines: ${PLUS}1 -0; commitid: ${commitid}; 15817date: ${ISO8601DATE}; author: ${username}; state: Exp; lines: ${PLUS}1 -0; commitid: ${commitid};
 15818x
15793xCVS: ---------------------------------------------------------------------- 15819xCVS: ----------------------------------------------------------------------
15794xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically 15820xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically
15795xCVS: 15821xCVS:
15796xCVS: Modified Files: 15822xCVS: Modified Files:
15797xCVS: Tag: br 15823xCVS: Tag: br
15798xCVS: file2 15824xCVS: file2
15799xCVS: ---------------------------------------------------------------------- 15825xCVS: ----------------------------------------------------------------------
15800=============================================================================" " 15826=============================================================================" "
15801RCS file: ${CVSROOT_DIRNAME}/first-dir/file2,v 15827RCS file: ${CVSROOT_DIRNAME}/first-dir/file2,v
15802Working file: file2 15828Working file: file2
15803head: 1\.1 15829head: 1\.1
15804branch: 15830branch:
15805locks: strict 15831locks: strict
15806access list: 15832access list:
15807keyword substitution: kv 15833keyword substitution: kv
15808total revisions: 2; selected revisions: 2 15834total revisions: 2; selected revisions: 2
15809description: 15835description:
15810---------------------------- 15836----------------------------
15811revision 1\.1 15837revision 1\.1
15812date: ${ISO8601DATE}; author: ${username}; state: Exp; commitid: ${commitid}; 15838date: ${ISO8601DATE}; author: ${username}; state: Exp; commitid: ${commitid};
15813branches: 1\.1\.2; 15839branches: 1\.1\.2;
 15840x
15814xCVS: ---------------------------------------------------------------------- 15841xCVS: ----------------------------------------------------------------------
15815xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically 15842xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically
15816xCVS: 15843xCVS:
15817xCVS: Committing in . 15844xCVS: Committing in .
15818xCVS: 15845xCVS:
15819xCVS: Added Files: 15846xCVS: Added Files:
15820xCVS: file1 file2 15847xCVS: file1 file2
15821xCVS: ---------------------------------------------------------------------- 15848xCVS: ----------------------------------------------------------------------
15822---------------------------- 15849----------------------------
15823revision 1\.1\.2\.1 15850revision 1\.1\.2\.1
15824date: ${ISO8601DATE}; author: ${username}; state: Exp; lines: ${PLUS}1 -0; commitid: ${commitid}; 15851date: ${ISO8601DATE}; author: ${username}; state: Exp; lines: ${PLUS}1 -0; commitid: ${commitid};
 15852x
15825xCVS: ---------------------------------------------------------------------- 15853xCVS: ----------------------------------------------------------------------
15826xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically 15854xCVS: Enter Log. Lines beginning with .CVS:. are removed automatically
15827xCVS: 15855xCVS:
15828xCVS: Committing in . 15856xCVS: Committing in .
15829xCVS: 15857xCVS:
15830xCVS: Modified Files: 15858xCVS: Modified Files:
15831xCVS: Tag: br 15859xCVS: Tag: br
15832xCVS: file2 15860xCVS: file2
15833xCVS: ---------------------------------------------------------------------- 15861xCVS: ----------------------------------------------------------------------
15834=============================================================================" 15862============================================================================="
15835 15863
15836 # Test CVS's response to an unchanged log message 15864 # Test CVS's response to an unchanged log message
15837 cat >${TESTDIR}/editme <<EOF 15865 cat >${TESTDIR}/editme <<EOF
@@ -31449,27 +31477,27 @@ EOF @@ -31449,27 +31477,27 @@ EOF
31449 sleep 1 31477 sleep 1
31450 dotest_fail client-18 "$testcvs update" \ 31478 dotest_fail client-18 "$testcvs update" \
31451"$CPROG \[update aborted\]: protocol error: Copy-file tried to specify directory" 31479"$CPROG \[update aborted\]: protocol error: Copy-file tried to specify directory"
31452 31480
31453 # And verify that none of the exploits was successful. 31481 # And verify that none of the exploits was successful.
31454 dotest client-19 "cat $HOME/.bashrc" \ 31482 dotest client-19 "cat $HOME/.bashrc" \
31455"#!$TESTSHELL 31483"#!$TESTSHELL
31456# This is where login scripts would usually be 31484# This is where login scripts would usually be
31457# stored\." 31485# stored\."
31458 31486
31459 # Check that the client detects redirect loops. 31487 # Check that the client detects redirect loops.
31460 cat >$TESTDIR/serveme <<EOF 31488 cat >$TESTDIR/serveme <<EOF
31461#!$TESTSHELL 31489#!$TESTSHELL
31462echo "Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set Gssapi-authenticate expand-modules ci co update diff log rlog list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version" 31490echo "Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set Gssapi-authenticate expand-modules ci co update diff log rlog acl racl list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version"
31463echo "ok" 31491echo "ok"
31464echo "Redirect $CVSROOT" 31492echo "Redirect $CVSROOT"
31465 31493
31466# Eat up data from the client to avoid broken pipe errors. 31494# Eat up data from the client to avoid broken pipe errors.
31467cat >/dev/null 31495cat >/dev/null
31468EOF 31496EOF
31469 echo newstuff >file1 31497 echo newstuff >file1
31470 sleep 1 31498 sleep 1
31471 dotest_fail client-20 "$testcvs ci" \ 31499 dotest_fail client-20 "$testcvs ci" \
31472"$CPROG commit: Examining \. 31500"$CPROG commit: Examining \.
31473$CPROG \[commit aborted\]: \`Redirect' loop detected\. Server misconfiguration$QUESTION" 31501$CPROG \[commit aborted\]: \`Redirect' loop detected\. Server misconfiguration$QUESTION"
31474 31502
31475 dokeep 31503 dokeep
@@ -31858,27 +31886,27 @@ ALL $RSYNC -gopr --delete $PRIMARY_CVSRO @@ -31858,27 +31886,27 @@ ALL $RSYNC -gopr --delete $PRIMARY_CVSRO
31858EOF 31886EOF
31859 cat >>config <<EOF 31887 cat >>config <<EOF
31860PrimaryServer=$PRIMARY_CVSROOT 31888PrimaryServer=$PRIMARY_CVSROOT
31861EOF 31889EOF
31862 dotest writeproxy-init-3 \ 31890 dotest writeproxy-init-3 \
31863"$testcvs -Q ci -mconfigure-writeproxy" 31891"$testcvs -Q ci -mconfigure-writeproxy"
31864 31892
31865 # Quickly verify that the server can resolve symlinks when 31893 # Quickly verify that the server can resolve symlinks when
31866 # determining whether it is the primary. 31894 # determining whether it is the primary.
31867 # This shouldn't actually change the repository. 31895 # This shouldn't actually change the repository.
31868 save_CVS_SERVER=$CVS_SERVER 31896 save_CVS_SERVER=$CVS_SERVER
31869 ln -s $PRIMARY_CVSROOT_DIRNAME $TESTDIR/primary_link 31897 ln -s $PRIMARY_CVSROOT_DIRNAME $TESTDIR/primary_link
31870 dotest writeproxy-0 "$CVS_SERVER server" \ 31898 dotest writeproxy-0 "$CVS_SERVER server" \
31871"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version 31899"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog acl racl list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version
31872ok 31900ok
31873ok 31901ok
31874ok" \ 31902ok" \
31875<< EOF 31903<< EOF
31876Root $TESTDIR/primary_link 31904Root $TESTDIR/primary_link
31877Valid-responses ok error Valid-requests Redirect Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Edit-file Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT 31905Valid-responses ok error Valid-requests Redirect Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Edit-file Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT
31878valid-requests 31906valid-requests
31879UseUnchanged 31907UseUnchanged
31880Command-prep commit 31908Command-prep commit
31881Global_option -q 31909Global_option -q
31882Global_option -Q 31910Global_option -Q
31883Argument -m 31911Argument -m
31884Argument configure-writeproxy 31912Argument configure-writeproxy
@@ -31907,27 +31935,28 @@ EOF @@ -31907,27 +31935,28 @@ EOF
31907 rm $TESTDIR/primary_link 31935 rm $TESTDIR/primary_link
31908 31936
31909 # And now the secondary. 31937 # And now the secondary.
31910 $RSYNC -gopr $PRIMARY_CVSROOT_DIRNAME/ $SECONDARY_CVSROOT_DIRNAME 31938 $RSYNC -gopr $PRIMARY_CVSROOT_DIRNAME/ $SECONDARY_CVSROOT_DIRNAME
31911 31939
31912 # Checkout from secondary 31940 # Checkout from secondary
31913 # 31941 #
31914 # For now, move the primary root out of the way to satisfy 31942 # For now, move the primary root out of the way to satisfy
31915 # ourselves that the data is coming from the secondary. 31943 # ourselves that the data is coming from the secondary.
31916 mv $PRIMARY_CVSROOT_DIRNAME $TESTDIR/save-root 31944 mv $PRIMARY_CVSROOT_DIRNAME $TESTDIR/save-root
31917 cd ../.. 31945 cd ../..
31918 mkdir secondary; cd secondary 31946 mkdir secondary; cd secondary
31919 dotest writeproxy-1 "$testcvs -qd$SECONDARY_CVSROOT co CVSROOT" \ 31947 dotest writeproxy-1 "$testcvs -qd$SECONDARY_CVSROOT co CVSROOT" \
31920"U CVSROOT/checkoutlist 31948"U CVSROOT/aclconfig
 31949U CVSROOT/checkoutlist
31921U CVSROOT/commitinfo 31950U CVSROOT/commitinfo
31922U CVSROOT/config 31951U CVSROOT/config
31923U CVSROOT/cvswrappers 31952U CVSROOT/cvswrappers
31924U CVSROOT/loginfo 31953U CVSROOT/loginfo
31925U CVSROOT/modules 31954U CVSROOT/modules
31926U CVSROOT/notify 31955U CVSROOT/notify
31927U CVSROOT/postadmin 31956U CVSROOT/postadmin
31928U CVSROOT/postproxy 31957U CVSROOT/postproxy
31929U CVSROOT/posttag 31958U CVSROOT/posttag
31930U CVSROOT/postwatch 31959U CVSROOT/postwatch
31931U CVSROOT/preproxy 31960U CVSROOT/preproxy
31932U CVSROOT/rcsinfo 31961U CVSROOT/rcsinfo
31933U CVSROOT/taginfo 31962U CVSROOT/taginfo
@@ -32106,27 +32135,28 @@ EOF @@ -32106,27 +32135,28 @@ EOF
32106 # in fork mode, the deciding factor is the PrimaryServer translation 32135 # in fork mode, the deciding factor is the PrimaryServer translation
32107 # above. 32136 # above.
32108 # 32137 #
32109 # When the primary and secondary hostname were different, the server 32138 # When the primary and secondary hostname were different, the server
32110 # the client is talking directly to is more obvious. 32139 # the client is talking directly to is more obvious.
32111 # 32140 #
32112 # For now, move the primary root out of the way to satisfy 32141 # For now, move the primary root out of the way to satisfy
32113 # ourselves that the data is coming from the secondary. 32142 # ourselves that the data is coming from the secondary.
32114 mv $PRIMARY_CVSROOT_DIRNAME $TESTDIR/save-root 32143 mv $PRIMARY_CVSROOT_DIRNAME $TESTDIR/save-root
32115 cd ../.. 32144 cd ../..
32116 mkdir secondary; cd secondary 32145 mkdir secondary; cd secondary
32117 dotest writeproxy-noredirect-1 \ 32146 dotest writeproxy-noredirect-1 \
32118"$testcvs -qd'$PRIMARY_CVSROOT' co CVSROOT" \ 32147"$testcvs -qd'$PRIMARY_CVSROOT' co CVSROOT" \
32119"U CVSROOT/checkoutlist 32148"U CVSROOT/aclconfig
 32149U CVSROOT/checkoutlist
32120U CVSROOT/commitinfo 32150U CVSROOT/commitinfo
32121U CVSROOT/config 32151U CVSROOT/config
32122U CVSROOT/cvswrappers 32152U CVSROOT/cvswrappers
32123U CVSROOT/loginfo 32153U CVSROOT/loginfo
32124U CVSROOT/modules 32154U CVSROOT/modules
32125U CVSROOT/notify 32155U CVSROOT/notify
32126U CVSROOT/postadmin 32156U CVSROOT/postadmin
32127U CVSROOT/postproxy 32157U CVSROOT/postproxy
32128U CVSROOT/posttag 32158U CVSROOT/posttag
32129U CVSROOT/postwatch 32159U CVSROOT/postwatch
32130U CVSROOT/preproxy 32160U CVSROOT/preproxy
32131U CVSROOT/rcsinfo 32161U CVSROOT/rcsinfo
32132U CVSROOT/taginfo 32162U CVSROOT/taginfo
@@ -32142,27 +32172,27 @@ PrimaryServer=$PRIMARY_CVSROOT" @@ -32142,27 +32172,27 @@ PrimaryServer=$PRIMARY_CVSROOT"
32142 32172
32143 # Checkin to secondary 32173 # Checkin to secondary
32144 cd .. 32174 cd ..
32145 dotest writeproxy-noredirect-4 \ 32175 dotest writeproxy-noredirect-4 \
32146"$testcvs -Qd'$PRIMARY_CVSROOT' co -ldtop ." 32176"$testcvs -Qd'$PRIMARY_CVSROOT' co -ldtop ."
32147 cd top 32177 cd top
32148 mkdir firstdir 32178 mkdir firstdir
32149 32179
32150 # Have to move the primary root back before we can perform write 32180 # Have to move the primary root back before we can perform write
32151 # operations. 32181 # operations.
32152 mv $TESTDIR/save-root $PRIMARY_CVSROOT_DIRNAME 32182 mv $TESTDIR/save-root $PRIMARY_CVSROOT_DIRNAME
32153 32183
32154 dotest writeproxy-noredirect-5 "$CVS_SERVER server" \ 32184 dotest writeproxy-noredirect-5 "$CVS_SERVER server" \
32155"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version 32185"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog acl racl list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version
32156ok 32186ok
32157ok 32187ok
32158ok 32188ok
32159Clear-template firstdir/ 32189Clear-template firstdir/
32160firstdir/ 32190firstdir/
32161ok" \ 32191ok" \
32162<< EOF 32192<< EOF
32163Root $PRIMARY_CVSROOT_DIRNAME 32193Root $PRIMARY_CVSROOT_DIRNAME
32164Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT 32194Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT
32165valid-requests 32195valid-requests
32166UseUnchanged 32196UseUnchanged
32167Command-prep add 32197Command-prep add
32168Global_option -q 32198Global_option -q
@@ -32174,27 +32204,27 @@ firstdir @@ -32174,27 +32204,27 @@ firstdir
32174Directory . 32204Directory .
32175 32205
32176Argument firstdir 32206Argument firstdir
32177add 32207add
32178EOF 32208EOF
32179 32209
32180 # Gotta update the workspace ourselves since we bypassed the client. 32210 # Gotta update the workspace ourselves since we bypassed the client.
32181 cp -R CVS firstdir/CVS 32211 cp -R CVS firstdir/CVS
32182 echo "firstdir" >firstdir/CVS/Repository 32212 echo "firstdir" >firstdir/CVS/Repository
32183 32213
32184 cd firstdir 32214 cd firstdir
32185 echo now you see me >file1 32215 echo now you see me >file1
32186 dotest writeproxy-noredirect-6 "$CVS_SERVER server" \ 32216 dotest writeproxy-noredirect-6 "$CVS_SERVER server" \
32187"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version 32217"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog acl racl list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version
32188ok 32218ok
32189ok 32219ok
32190ok 32220ok
32191Checked-in \./ 32221Checked-in \./
32192firstdir/file1 32222firstdir/file1
32193/file1/0/// 32223/file1/0///
32194ok" \ 32224ok" \
32195<< EOF 32225<< EOF
32196Root $PRIMARY_CVSROOT_DIRNAME 32226Root $PRIMARY_CVSROOT_DIRNAME
32197Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT 32227Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT
32198valid-requests 32228valid-requests
32199UseUnchanged 32229UseUnchanged
32200Command-prep add 32230Command-prep add
@@ -32204,27 +32234,27 @@ wrapper-sendme-rcsOptions @@ -32204,27 +32234,27 @@ wrapper-sendme-rcsOptions
32204Argument -- 32234Argument --
32205Directory . 32235Directory .
32206firstdir 32236firstdir
32207Is-modified file1 32237Is-modified file1
32208Argument file1 32238Argument file1
32209add 32239add
32210EOF 32240EOF
32211 32241
32212 # Have to add it to the workspace ourselves again since we are 32242 # Have to add it to the workspace ourselves again since we are
32213 # bypassing the client. 32243 # bypassing the client.
32214 echo /file1/0/dummy+timestamp// >>CVS/Entries 32244 echo /file1/0/dummy+timestamp// >>CVS/Entries
32215 32245
32216 dotest writeproxy-noredirect-7 "$CVS_SERVER server" \ 32246 dotest writeproxy-noredirect-7 "$CVS_SERVER server" \
32217"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version 32247"Valid-requests Root Valid-responses valid-requests Command-prep Referrer Repository Directory Relative-directory Max-dotdot Static-directory Sticky Entry Kopt Checkin-time Modified Is-modified UseUnchanged Unchanged Notify Hostname LocalDir Questionable Argument Argumentx Global_option Gzip-stream wrapper-sendme-rcsOptions Set ${DOTSTAR}expand-modules ci co update diff log rlog acl racl list rlist global-list-quiet ls add remove update-patches gzip-file-contents status rdiff tag rtag import admin export history release watch-on watch-off watch-add watch-remove watchers editors edit init annotate rannotate noop version
32218ok 32248ok
32219ok 32249ok
32220Mode u=rw,g=rw,o=r 32250Mode u=rw,g=rw,o=r
32221Checked-in \./ 32251Checked-in \./
32222firstdir/file1 32252firstdir/file1
32223/file1/1\.1/// 32253/file1/1\.1///
32224ok" \ 32254ok" \
32225<< EOF 32255<< EOF
32226Root $PRIMARY_CVSROOT_DIRNAME 32256Root $PRIMARY_CVSROOT_DIRNAME
32227Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT 32257Valid-responses ok error Valid-requests Checked-in New-entry Checksum Copy-file Updated Created Update-existing Merged Patched Rcs-diff Mode Mod-time Removed Remove-entry Set-static-directory Clear-static-directory Set-sticky Clear-sticky Template Clear-template Notified Module-expansion Wrapper-rcsOption M Mbinary E F MT
32228valid-requests 32258valid-requests
32229UseUnchanged 32259UseUnchanged
32230Command-prep commit 32260Command-prep commit
@@ -32531,26 +32561,27 @@ EOF @@ -32531,26 +32561,27 @@ EOF
32531 # Perform some cleanup for normalized testing... 32561 # Perform some cleanup for normalized testing...
32532 rm ${CVSROOT_DIRNAME}/CVSROOT/history 32562 rm ${CVSROOT_DIRNAME}/CVSROOT/history
32533 rm -f ${CVSROOT_DIRNAME}/CVSROOT/cvsignore 32563 rm -f ${CVSROOT_DIRNAME}/CVSROOT/cvsignore
32534 rm -f ${CVSROOT_DIRNAME}/CVSROOT/cvsignore,v 32564 rm -f ${CVSROOT_DIRNAME}/CVSROOT/cvsignore,v
32535 32565
32536 # checkout the trace option 32566 # checkout the trace option
32537 32567
32538 mkdir trace && cd trace 32568 mkdir trace && cd trace
32539 mkdir imp && cd imp 32569 mkdir imp && cd imp
32540 touch file1 32570 touch file1
32541 32571
32542 dotest_sort trace-1 "${testcvs} -t -t -t init" \ 32572 dotest_sort trace-1 "${testcvs} -t -t -t init" \
32543" *-> Lock_Cleanup() 32573" *-> Lock_Cleanup()
 32574 *-> RCS_checkout (aclconfig,v, , , , \.#[0-9][0-9]*)
32544 *-> RCS_checkout (checkoutlist,v, , , , \.#[0-9][0-9]*) 32575 *-> RCS_checkout (checkoutlist,v, , , , \.#[0-9][0-9]*)
32545 *-> RCS_checkout (commitinfo,v, , , , \.#[0-9][0-9]*) 32576 *-> RCS_checkout (commitinfo,v, , , , \.#[0-9][0-9]*)
32546 *-> RCS_checkout (config,v, , , , \.#[0-9][0-9]*) 32577 *-> RCS_checkout (config,v, , , , \.#[0-9][0-9]*)
32547 *-> RCS_checkout (cvswrappers,v, , , , \.#[0-9][0-9]*) 32578 *-> RCS_checkout (cvswrappers,v, , , , \.#[0-9][0-9]*)
32548 *-> RCS_checkout (loginfo,v, , , , \.#[0-9][0-9]*) 32579 *-> RCS_checkout (loginfo,v, , , , \.#[0-9][0-9]*)
32549 *-> RCS_checkout (modules,v, , , , \.#[0-9][0-9]*) 32580 *-> RCS_checkout (modules,v, , , , \.#[0-9][0-9]*)
32550 *-> RCS_checkout (notify,v, , , , \.#[0-9][0-9]*) 32581 *-> RCS_checkout (notify,v, , , , \.#[0-9][0-9]*)
32551 *-> RCS_checkout (postadmin,v, , , , \.#[0-9][0-9]*) 32582 *-> RCS_checkout (postadmin,v, , , , \.#[0-9][0-9]*)
32552 *-> RCS_checkout (postproxy,v, , , , \.#[0-9][0-9]*) 32583 *-> RCS_checkout (postproxy,v, , , , \.#[0-9][0-9]*)
32553 *-> RCS_checkout (posttag,v, , , , \.#[0-9][0-9]*) 32584 *-> RCS_checkout (posttag,v, , , , \.#[0-9][0-9]*)
32554 *-> RCS_checkout (postwatch,v, , , , \.#[0-9][0-9]*) 32585 *-> RCS_checkout (postwatch,v, , , , \.#[0-9][0-9]*)
32555 *-> RCS_checkout (preproxy,v, , , , \.#[0-9][0-9]*) 32586 *-> RCS_checkout (preproxy,v, , , , \.#[0-9][0-9]*)
32556 *-> RCS_checkout (rcsinfo,v, , , , \.#[0-9][0-9]*) 32587 *-> RCS_checkout (rcsinfo,v, , , , \.#[0-9][0-9]*)
@@ -32563,26 +32594,27 @@ EOF @@ -32563,26 +32594,27 @@ EOF
32563 *-> unlink_file(\.#[0-9][0-9]*) 32594 *-> unlink_file(\.#[0-9][0-9]*)
32564 *-> unlink_file(\.#[0-9][0-9]*) 32595 *-> unlink_file(\.#[0-9][0-9]*)
32565 *-> unlink_file(\.#[0-9][0-9]*) 32596 *-> unlink_file(\.#[0-9][0-9]*)
32566 *-> unlink_file(\.#[0-9][0-9]*) 32597 *-> unlink_file(\.#[0-9][0-9]*)
32567 *-> unlink_file(\.#[0-9][0-9]*) 32598 *-> unlink_file(\.#[0-9][0-9]*)
32568 *-> unlink_file(\.#[0-9][0-9]*) 32599 *-> unlink_file(\.#[0-9][0-9]*)
32569 *-> unlink_file(\.#[0-9][0-9]*) 32600 *-> unlink_file(\.#[0-9][0-9]*)
32570 *-> unlink_file(\.#[0-9][0-9]*) 32601 *-> unlink_file(\.#[0-9][0-9]*)
32571 *-> unlink_file(\.#[0-9][0-9]*) 32602 *-> unlink_file(\.#[0-9][0-9]*)
32572 *-> unlink_file(\.#[0-9][0-9]*) 32603 *-> unlink_file(\.#[0-9][0-9]*)
32573 *-> unlink_file(\.#[0-9][0-9]*) 32604 *-> unlink_file(\.#[0-9][0-9]*)
32574 *-> unlink_file(\.#[0-9][0-9]*) 32605 *-> unlink_file(\.#[0-9][0-9]*)
32575 *-> unlink_file(\.#[0-9][0-9]*) 32606 *-> unlink_file(\.#[0-9][0-9]*)
 32607 *-> unlink_file(\.#aclconfig)
32576 *-> unlink_file(\.#checkoutlist) 32608 *-> unlink_file(\.#checkoutlist)
32577 *-> unlink_file(\.#commitinfo) 32609 *-> unlink_file(\.#commitinfo)
32578 *-> unlink_file(\.#config) 32610 *-> unlink_file(\.#config)
32579 *-> unlink_file(\.#cvswrappers) 32611 *-> unlink_file(\.#cvswrappers)
32580 *-> unlink_file(\.#loginfo) 32612 *-> unlink_file(\.#loginfo)
32581 *-> unlink_file(\.#modules) 32613 *-> unlink_file(\.#modules)
32582 *-> unlink_file(\.#notify) 32614 *-> unlink_file(\.#notify)
32583 *-> unlink_file(\.#postadmin) 32615 *-> unlink_file(\.#postadmin)
32584 *-> unlink_file(\.#postproxy) 32616 *-> unlink_file(\.#postproxy)
32585 *-> unlink_file(\.#posttag) 32617 *-> unlink_file(\.#posttag)
32586 *-> unlink_file(\.#postwatch) 32618 *-> unlink_file(\.#postwatch)
32587 *-> unlink_file(\.#preproxy) 32619 *-> unlink_file(\.#preproxy)
32588 *-> unlink_file(\.#rcsinfo) 32620 *-> unlink_file(\.#rcsinfo)
@@ -32590,26 +32622,27 @@ EOF @@ -32590,26 +32622,27 @@ EOF
32590 *-> unlink_file(\.#verifymsg) 32622 *-> unlink_file(\.#verifymsg)
32591 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} ) 32623 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} )
32592 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} )" \ 32624 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} )" \
32593" 32625"
32594 *-> Forking server: ${CVS_SERVER} server 32626 *-> Forking server: ${CVS_SERVER} server
32595 *-> main loop with CVSROOT=${CVSROOT} 32627 *-> main loop with CVSROOT=${CVSROOT}
32596 *-> parse_cvsroot ( ${CVSROOT} ) 32628 *-> parse_cvsroot ( ${CVSROOT} )
32597 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} ) 32629 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} )
32598 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} ) 32630 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} )
32599 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} ) 32631 *-> walklist ( list=${PFMT}, proc=${PFMT}, closure=${PFMT} )
32600S -> CVS_SERVER_SLEEP not set\. 32632S -> CVS_SERVER_SLEEP not set\.
32601S -> Lock_Cleanup() 32633S -> Lock_Cleanup()
32602S -> Lock_Cleanup() 32634S -> Lock_Cleanup()
 32635S -> RCS_checkout (aclconfig,v, , , , \.#[0-9][0-9]*)
32603S -> RCS_checkout (checkoutlist,v, , , , \.#[0-9][0-9]*) 32636S -> RCS_checkout (checkoutlist,v, , , , \.#[0-9][0-9]*)
32604S -> RCS_checkout (commitinfo,v, , , , \.#[0-9][0-9]*) 32637S -> RCS_checkout (commitinfo,v, , , , \.#[0-9][0-9]*)
32605S -> RCS_checkout (config,v, , , , \.#[0-9][0-9]*) 32638S -> RCS_checkout (config,v, , , , \.#[0-9][0-9]*)
32606S -> RCS_checkout (cvswrappers,v, , , , \.#[0-9][0-9]*) 32639S -> RCS_checkout (cvswrappers,v, , , , \.#[0-9][0-9]*)
32607S -> RCS_checkout (loginfo,v, , , , \.#[0-9][0-9]*) 32640S -> RCS_checkout (loginfo,v, , , , \.#[0-9][0-9]*)
32608S -> RCS_checkout (modules,v, , , , \.#[0-9][0-9]*) 32641S -> RCS_checkout (modules,v, , , , \.#[0-9][0-9]*)
32609S -> RCS_checkout (notify,v, , , , \.#[0-9][0-9]*) 32642S -> RCS_checkout (notify,v, , , , \.#[0-9][0-9]*)
32610S -> RCS_checkout (postadmin,v, , , , \.#[0-9][0-9]*) 32643S -> RCS_checkout (postadmin,v, , , , \.#[0-9][0-9]*)
32611S -> RCS_checkout (postproxy,v, , , , \.#[0-9][0-9]*) 32644S -> RCS_checkout (postproxy,v, , , , \.#[0-9][0-9]*)
32612S -> RCS_checkout (posttag,v, , , , \.#[0-9][0-9]*) 32645S -> RCS_checkout (posttag,v, , , , \.#[0-9][0-9]*)
32613S -> RCS_checkout (postwatch,v, , , , \.#[0-9][0-9]*) 32646S -> RCS_checkout (postwatch,v, , , , \.#[0-9][0-9]*)
32614S -> RCS_checkout (preproxy,v, , , , \.#[0-9][0-9]*) 32647S -> RCS_checkout (preproxy,v, , , , \.#[0-9][0-9]*)
32615S -> RCS_checkout (rcsinfo,v, , , , \.#[0-9][0-9]*) 32648S -> RCS_checkout (rcsinfo,v, , , , \.#[0-9][0-9]*)
@@ -32626,26 +32659,27 @@ S -> server_notify() @@ -32626,26 +32659,27 @@ S -> server_notify()
32626S -> unlink_file(\.#[0-9][0-9]*) 32659S -> unlink_file(\.#[0-9][0-9]*)
32627S -> unlink_file(\.#[0-9][0-9]*) 32660S -> unlink_file(\.#[0-9][0-9]*)
32628S -> unlink_file(\.#[0-9][0-9]*) 32661S -> unlink_file(\.#[0-9][0-9]*)
32629S -> unlink_file(\.#[0-9][0-9]*) 32662S -> unlink_file(\.#[0-9][0-9]*)
32630S -> unlink_file(\.#[0-9][0-9]*) 32663S -> unlink_file(\.#[0-9][0-9]*)
32631S -> unlink_file(\.#[0-9][0-9]*) 32664S -> unlink_file(\.#[0-9][0-9]*)
32632S -> unlink_file(\.#[0-9][0-9]*) 32665S -> unlink_file(\.#[0-9][0-9]*)
32633S -> unlink_file(\.#[0-9][0-9]*) 32666S -> unlink_file(\.#[0-9][0-9]*)
32634S -> unlink_file(\.#[0-9][0-9]*) 32667S -> unlink_file(\.#[0-9][0-9]*)
32635S -> unlink_file(\.#[0-9][0-9]*) 32668S -> unlink_file(\.#[0-9][0-9]*)
32636S -> unlink_file(\.#[0-9][0-9]*) 32669S -> unlink_file(\.#[0-9][0-9]*)
32637S -> unlink_file(\.#[0-9][0-9]*) 32670S -> unlink_file(\.#[0-9][0-9]*)
32638S -> unlink_file(\.#[0-9][0-9]*) 32671S -> unlink_file(\.#[0-9][0-9]*)
 32672S -> unlink_file(\.#aclconfig)
32639S -> unlink_file(\.#checkoutlist) 32673S -> unlink_file(\.#checkoutlist)
32640S -> unlink_file(\.#commitinfo) 32674S -> unlink_file(\.#commitinfo)
32641S -> unlink_file(\.#config) 32675S -> unlink_file(\.#config)
32642S -> unlink_file(\.#cvswrappers) 32676S -> unlink_file(\.#cvswrappers)
32643S -> unlink_file(\.#loginfo) 32677S -> unlink_file(\.#loginfo)
32644S -> unlink_file(\.#modules) 32678S -> unlink_file(\.#modules)
32645S -> unlink_file(\.#notify) 32679S -> unlink_file(\.#notify)
32646S -> unlink_file(\.#postadmin) 32680S -> unlink_file(\.#postadmin)
32647S -> unlink_file(\.#postproxy) 32681S -> unlink_file(\.#postproxy)
32648S -> unlink_file(\.#posttag) 32682S -> unlink_file(\.#posttag)
32649S -> unlink_file(\.#postwatch) 32683S -> unlink_file(\.#postwatch)
32650S -> unlink_file(\.#preproxy) 32684S -> unlink_file(\.#preproxy)
32651S -> unlink_file(\.#rcsinfo) 32685S -> unlink_file(\.#rcsinfo)