2570 |
fi |
fi |
2571 |
CVSROOT_DIRNAME=${TESTDIR}/cvsroot |
CVSROOT_DIRNAME=${TESTDIR}/cvsroot |
2572 |
CVSROOT=`newroot $CVSROOT_DIRNAME`; export CVSROOT |
CVSROOT=`newroot $CVSROOT_DIRNAME`; export CVSROOT |
2573 |
echo CVSROOT: ${CVSROOT} |
|
2574 |
|
|
2575 |
|
|
2576 |
### |
### |
16961 |
modify_repo rm -rf $CVSROOT_DIRNAME/first-dir |
modify_repo rm -rf $CVSROOT_DIRNAME/first-dir |
16962 |
;; |
;; |
16963 |
|
|
16964 |
|
|
16965 |
|
|
16966 |
watch6-0) |
watch6-0) |
16967 |
|
|
16968 |
# Make sure that default attributes are being set properly. |
# Make sure that default attributes are being set properly. |
17002 |
dotest watch6-0-13 "grep -qE '^D' $CVSROOT_DIRNAME/watch6-0/dir2/CVS/fileattr" |
dotest watch6-0-13 "grep -qE '^D' $CVSROOT_DIRNAME/watch6-0/dir2/CVS/fileattr" |
17003 |
dotest_fail watch6-0-12 "grep -qE '^D' $CVSROOT_DIRNAME/watch6-0/dir3/CVS/fileattr 2>/dev/null" |
dotest_fail watch6-0-12 "grep -qE '^D' $CVSROOT_DIRNAME/watch6-0/dir3/CVS/fileattr 2>/dev/null" |
17004 |
|
|
17005 |
if $keep; then |
dokeep |
|
echo Keeping $TESTDIR and exiting due to --keep |
|
|
exit 0 |
|
|
fi |
|
17006 |
cd ../../.. |
cd ../../.. |
17007 |
rm -rf watch6 |
rm -rf watch6-0 |
17008 |
rm -rf $CVSROOT_DIRNAME/watch6 |
modify_repo rm -rf $CVSROOT_DIRNAME/watch6-0 |
|
|
|
17009 |
;; |
;; |
17010 |
|
|
17011 |
|
|
17012 |
|
|
17013 |
watch6) |
watch6) |
17014 |
# Check that `cvs watch on' does not reset the fileattr file. |
# Check that `cvs watch on' does not reset the fileattr file. |
17015 |
mkdir watch6; cd watch6 |
mkdir watch6; cd watch6 |
17088 |
fi |
fi |
17089 |
cd ../../.. |
cd ../../.. |
17090 |
rm -r watch6 |
rm -r watch6 |
17091 |
rm -rf $CVSROOT_DIRNAME/watch6 |
modify_repo rm -rf $CVSROOT_DIRNAME/watch6 |
17092 |
;; |
;; |
17093 |
|
|
17094 |
|
|