cvs-cvs
[Top][All Lists]
Advanced

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

[Cvs-cvs] Changes to ccvs/src/sanity.sh


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/src/sanity.sh
Date: Sun, 04 Sep 2005 23:58:56 -0400

Index: ccvs/src/sanity.sh
diff -u ccvs/src/sanity.sh:1.1077 ccvs/src/sanity.sh:1.1078
--- ccvs/src/sanity.sh:1.1077   Mon Sep  5 02:37:41 2005
+++ ccvs/src/sanity.sh  Mon Sep  5 03:58:54 2005
@@ -20155,7 +20155,9 @@
 
          # I break the usual sanity.sh indentation standard for here-docs
          # mostly to test that leading white-space is now ignored.
-         cat <<EOF >config
+         dotest config3-init-1b "$testcvs -Q tag initial-config"
+
+         cat <<EOF >>config
              # Ignore a comment with leading spaces.
              GLOBAL-BAD-OPTION=WWW
  
@@ -20171,11 +20173,15 @@
 
          cd ..
          dotest config3-1 "$testcvs co config3" \
-"$SPROG checkout: $CVSROOT_DIRNAME/CVSROOT/config \[2\]: unrecognized keyword 
\`GLOBAL-BAD-OPTION'
+"$SPROG [a-z]*: $SECONDARY_CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: 
unrecognized keyword \`GLOBAL-BAD-OPTION'
 $SPROG checkout: Updating config3"
 
          cd CVSROOT
-         cat <<EOF >config
+         dotest config3-init-2a "$testcvs -Q up -jHEAD -jinitial-config" \
+"$DOTSTAR
+Merging differences between 1\.[0-9]* and 1\.[0-9]* into config"
+
+         cat <<EOF >>config
              # Ignore a comment with leading spaces.
 
              [/ignore/this/root]
@@ -20188,6 +20194,7 @@
              # Comments and blank lines do not affect fall-through behavior.
 
              [$CVSROOT_DIRNAME]
+             [$SECONDARY_CVSROOT_DIRNAME]
 
              # Comments and blank lines do not affect fall-through behavior.
 
@@ -20197,14 +20204,19 @@
 EOF
          dotest config3-init-3 \
 "$testcvs -q ci -m test-root-specs" \
-"$SPROG commit: $CVSROOT_DIRNAME/CVSROOT/config \[2\]: unrecognized keyword 
\`GLOBAL-BAD-OPTION'
+"$SPROG [a-z]*: $CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: unrecognized 
keyword \`GLOBAL-BAD-OPTION'
+$CVSROOT_DIRNAME/CVSROOT/config,v  <--  config
+new revision: 1\.[0-9]*; previous revision: 1\.[0-9]*
+$SPROG commit: Rebuilding administrative file database" \
+"$SPROG [a-z]*: $SECONDARY_CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: 
unrecognized keyword \`GLOBAL-BAD-OPTION'
+$SPROG [a-z]*: $CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: unrecognized 
keyword \`GLOBAL-BAD-OPTION'
 $CVSROOT_DIRNAME/CVSROOT/config,v  <--  config
 new revision: 1\.[0-9]*; previous revision: 1\.[0-9]*
 $SPROG commit: Rebuilding administrative file database"
 
          cd ..
          dotest config3-2 "$testcvs co config3" \
-"$SPROG checkout: $CVSROOT_DIRNAME/CVSROOT/config \[18\]: unrecognized keyword 
\`PROCESS-BAD-OPTION'
+"$SPROG [a-z]*: $SECONDARY_CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: 
unrecognized keyword \`PROCESS-BAD-OPTION'
 $SPROG checkout: Updating config3"
 
          # The next few tests make sure both global options and root
@@ -20213,7 +20225,11 @@
          # both registered.  It also verifies that a key for a different
          # root is ignored.
          cd CVSROOT
-         cat <<EOF >config
+         dotest config3-init-3a "$testcvs -Q up -jHEAD -jinitial-config" \
+"$DOTSTAR
+Merging differences between 1\.[0-9]* and 1\.[0-9]* into config"
+
+         cat <<EOF >>config
              HistoryLogPath=$TESTDIR/historylog
 
              [/ignore/this/root]
@@ -20222,6 +20238,7 @@
 
              [/some/other/root]
              [$CVSROOT_DIRNAME]
+             [$SECONDARY_CVSROOT_DIRNAME]
              [/yet/another/root]
                  HistorySearchPath=$TESTDIR/historylog
 
@@ -20230,11 +20247,17 @@
                  ANOTHER-IGNORED-BAD-OPTION=ZZZ
 
              [$CVSROOT_DIRNAME]
+             [$SECONDARY_CVSROOT_DIRNAME]
                  LogHistory=TMAR
 EOF
          dotest config3-init-4 \
 "$testcvs -q ci -m test-root-specs" \
-"$SPROG commit: $CVSROOT_DIRNAME/CVSROOT/config \[18\]: unrecognized keyword 
\`PROCESS-BAD-OPTION'
+"$SPROG [a-z]*: $CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: unrecognized 
keyword \`PROCESS-BAD-OPTION'
+$CVSROOT_DIRNAME/CVSROOT/config,v  <--  config
+new revision: 1\.[0-9]*; previous revision: 1\.[0-9]*
+$SPROG commit: Rebuilding administrative file database" \
+"$SPROG [a-z]*: $SECONDARY_CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: 
unrecognized keyword \`PROCESS-BAD-OPTION'
+$SPROG [a-z]*: $CVSROOT_DIRNAME/CVSROOT/config \[[0-9]*\]: unrecognized 
keyword \`PROCESS-BAD-OPTION'
 $CVSROOT_DIRNAME/CVSROOT/config,v  <--  config
 new revision: 1\.[0-9]*; previous revision: 1\.[0-9]*
 $SPROG commit: Rebuilding administrative file database"
@@ -20255,7 +20278,7 @@
 
          cd ..
          dotest config3-7 "$testcvs history -ea" \
-"A [0-9-]* [0-9:]* ${PLUS}0000 $username 1\.1 newfile config3 == 
$TESTDIR/config3/config3-2
+"A [0-9-]* [0-9:]* ${PLUS}0000 $username 1\.1 newfile config3 == 
[-_/a-zA-Z0-9<>]*
 T [0-9-]* [0-9:]* ${PLUS}0000 $username config3 \[testtag:A\]"
 
          dokeep




reply via email to

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