bug-cvs
[Top][All Lists]
Advanced

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

Re: MVS sanity.sh: multiroot-status-1 problem (hey, we're almost there f


From: Wayne Johnson
Subject: Re: MVS sanity.sh: multiroot-status-1 problem (hey, we're almost there folks)
Date: Mon, 5 Feb 2001 10:00:34 -0800 (PST)

Sorry, you're quite right, I had twiddled with the two until the diff
came out 0. Here's a new set.  I also switched to dotest_internal_debug
(still not working) and included the check.log.  Still not seeing it.

--- Larry Jones <address@hidden> wrote:
> Wayne Johnson writes:
> > 
> > I was thinking that maybe the problem is the way dotest_internal
> reads in
> > the entire output files and uses expr to compare them.  This does
> appear
> > to be one of the longest outputs.  Maybe re-writing dotest_internal
> to do
> > the comparisons on a line by line basis?
> 
> It's already there -- search for "dotest_internal_debug".  We don't use
> it by default because it's much slower and it doesn't handle wildcards
> that are supposed to match multiple lines.
> 
> The files you attached are highly suspect.  They're absolutely
> identical, which they shouldn't be; one should contain regular
> expression patterns where the other contains literal text.  In fact,
> both contain some things that look vaguely like regular expressions,
> but
> have literal text in other places where there should be patterns.
> 
> -Larry Jones
> 
> Hello, I'm wondering if you sell kegs of dynamite. -- Calvin



=====
---
Wayne Johnson,             | There are two kinds of people: Those 
3943 Penn Ave. N.          | who say to God, "Thy will be done," 
Minneapolis, MN 55412-1908 | and those to whom God says, "All right, 
(612) 522-7003             | then,  have it your way." --C.S. Lewis

__________________________________________________
Get personalized email addresses from Yahoo! Mail - only $35 
a year!  http://personal.mail.yahoo.com/

Attachment: dotest.tmp
Description: dotest.tmp

Attachment: dotest.ex1
Description: dotest.ex1

** Executing  /u/waynej/ccvs/src/cvs init
   from  /tmp/cvs-sanity
PASS: 1
** Executing  /u/waynej/ccvs/src/cvs init
   from  /tmp/cvs-sanity
PASS: 1a
** Executing  mkdir /tmp/cvs-sanity/root1 /tmp/cvs-sanity/root2
   from  /tmp/cvs-sanity
PASS: multiroot-setup-1
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 init
   from  /tmp/cvs-sanity
PASS: multiroot-setup-2
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 init
   from  /tmp/cvs-sanity
PASS: multiroot-setup-3
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 co -l .
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-4
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 add mod1-1 mod1-2
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-5
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 add 
mod1-1/file1-1 mod1-2/file1-2
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-6
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 commit -m is
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-7
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 co -l .
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-8
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 add mod2-1 mod2-2
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-9
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 add 
mod2-1/file2-1 mod2-2/file2-2
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-6
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 commit -m anyone
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-10
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 -q co -l .
   from  /tmp/cvs-sanity/1
PASS: multiroot-workaround
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 co mod1-1 mod1-2
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-11
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 co mod2-1 mod2-2
   from  /tmp/cvs-sanity/1
PASS: multiroot-setup-12
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 co mod2-2
   from  /tmp/cvs-sanity/1/mod1-2
PASS: multiroot-setup-13
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 co mod1-2
   from  /tmp/cvs-sanity/1/mod2-2
PASS: multiroot-setup-14
** Executing  cat mod1-1/CVS/Root
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-1a
** Executing  cat mod1-1/CVS/Repository
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-1b
** Executing  cat mod2-1/CVS/Root
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-2a
** Executing  cat mod2-1/CVS/Repository
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-2b
** Executing  cat mod1-2/CVS/Root
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-3a
** Executing  cat mod1-2/CVS/Repository
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-3b
** Executing  cat mod1-2/mod2-2/CVS/Root
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-3c
** Executing  cat mod1-2/mod2-2/CVS/Repository
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-3d
** Executing  cat mod2-2/CVS/Root
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-4a
** Executing  cat mod2-2/CVS/Repository
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-4b
** Executing  cat mod2-2/mod1-2/CVS/Root
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-4c
** Executing  cat mod2-2/mod1-2/CVS/Repository
   from  /tmp/cvs-sanity/1
PASS: multiroot-cvsadm-4d
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root1 update
   from  /tmp/cvs-sanity/1
PASS: multiroot-update-1a
** Executing  /u/waynej/ccvs/src/cvs -d /tmp/cvs-sanity/root2 update
   from  /tmp/cvs-sanity/1
PASS: multiroot-update-1b
cvs diff: Diffing .
cvs diff: Diffing mod1-1
Index: mod1-1/file1-1
===================================================================
RCS file: /tmp/cvs-sanity/root1/mod1-1/file1-1,v
retrieving revision 1.1
diff -r1.1 file1-1
1a2
> bobby
cvs diff: Diffing mod1-2
Index: mod1-2/file1-2
===================================================================
RCS file: /tmp/cvs-sanity/root1/mod1-2/file1-2,v
retrieving revision 1.1
diff -r1.1 file1-2
1a2
> brown
cvs diff: Diffing mod2-2/mod1-2
cvs diff: Diffing mod1-2/mod2-2
cvs diff: Diffing mod2-1
Index: mod2-1/file2-1
===================================================================
RCS file: /tmp/cvs-sanity/root2/mod2-1/file2-1,v
retrieving revision 1.1
diff -r1.1 file2-1
1a2
> goes
cvs diff: Diffing mod2-2
Index: mod2-2/file2-2
===================================================================
RCS file: /tmp/cvs-sanity/root2/mod2-2/file2-2,v
retrieving revision 1.1
diff -r1.1 file2-2
1a2
> down
PASS: multiroot-diff-1
** Executing  /u/waynej/ccvs/src/cvs commit -m actually
   from  /tmp/cvs-sanity/1
PASS: multiroot-commit-1
** Executing  /u/waynej/ccvs/src/cvs update
   from  /tmp/cvs-sanity/1
PASS: multiroot-update-2
** Executing  /u/waynej/ccvs/src/cvs tag cattle
   from  /tmp/cvs-sanity/1
PASS: multiroot-tag-1
** Executing  /u/waynej/ccvs/src/cvs add mod1-1/anotherfile1-1 
mod2-1/anotherfile2-1 mod2-2/mod1-2/anotherfile1-2 mod1-2/mod2-2/anotherfile2-2
   from  /tmp/cvs-sanity/1
PASS: multiroot-add-1
** Executing  /u/waynej/ccvs/src/cvs status -v
   from  /tmp/cvs-sanity/1
Line 5:
**** expected: 

**** got: 

Line 1:
**** expected: 
cvs server: Examining \.
**** got: 
cvs status: Examining .
** expected: 
cvs status: Examining \.
cvs [a-z]*: Examining mod1-1
===================================================================
File: anotherfile1-1    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file1-1           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root1/mod1-1/file1-1,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod1-2
===================================================================
File: file1-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root1/mod1-2/file1-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod2-2/mod1-2
===================================================================
File: anotherfile1-2    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file1-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root1/mod1-2/file1-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod1-2/mod2-2
===================================================================
File: anotherfile2-2    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file2-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root2/mod2-2/file2-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod2-1
===================================================================
File: anotherfile2-1    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file2-1           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root2/mod2-1/file2-1,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod2-2
===================================================================
File: file2-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root2/mod2-2/file2-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

** or: 
cvs server: Examining \.
cvs [a-z]*: Examining mod1-1
===================================================================
File: anotherfile1-1    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file1-1           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root1/mod1-1/file1-1,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod1-2
===================================================================
File: file1-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root1/mod1-2/file1-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod2-2
cvs [a-z]*: Examining mod2-2/mod1-2
===================================================================
File: anotherfile1-2    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file1-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root1/mod1-2/file1-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod1-2
cvs [a-z]*: Examining mod1-2/mod2-2
===================================================================
File: anotherfile2-2    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file2-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root2/mod2-2/file2-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod2-1
===================================================================
File: anotherfile2-1    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file2-1           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root2/mod2-1/file2-1,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

cvs [a-z]*: Examining mod2-2
===================================================================
File: file2-2           Status: Up-to-date

   Working revision:    1\.2.*
   Repository revision: 1\.2    /tmp/cvs-sanity/root2/mod2-2/file2-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1\.2)

** got: 
cvs status: Examining .
cvs status: Examining mod1-1
===================================================================
File: anotherfile1-1    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file1-1           Status: Up-to-date

   Working revision:    1.2     Mon Feb  5 17:49:38 2001
   Repository revision: 1.2     /tmp/cvs-sanity/root1/mod1-1/file1-1,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1.2)

cvs status: Examining mod1-2
===================================================================
File: file1-2           Status: Up-to-date

   Working revision:    1.2     Mon Feb  5 17:49:38 2001
   Repository revision: 1.2     /tmp/cvs-sanity/root1/mod1-2/file1-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1.2)

cvs status: Examining mod2-2/mod1-2
===================================================================
File: anotherfile1-2    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file1-2           Status: Up-to-date

   Working revision:    1.2     Mon Feb  5 17:52:54 2001
   Repository revision: 1.2     /tmp/cvs-sanity/root1/mod1-2/file1-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1.2)

cvs status: Examining mod1-2/mod2-2
===================================================================
File: anotherfile2-2    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file2-2           Status: Up-to-date

   Working revision:    1.2     Mon Feb  5 17:52:55 2001
   Repository revision: 1.2     /tmp/cvs-sanity/root2/mod2-2/file2-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1.2)

cvs status: Examining mod2-1
===================================================================
File: anotherfile2-1    Status: Locally Added

   Working revision:    New file!
   Repository revision: No revision control file
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

===================================================================
File: file2-1           Status: Up-to-date

   Working revision:    1.2     Mon Feb  5 17:49:38 2001
   Repository revision: 1.2     /tmp/cvs-sanity/root2/mod2-1/file2-1,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1.2)

cvs status: Examining mod2-2
===================================================================
File: file2-2           Status: Up-to-date

   Working revision:    1.2     Mon Feb  5 17:49:38 2001
   Repository revision: 1.2     /tmp/cvs-sanity/root2/mod2-2/file2-2,v
   Sticky Tag:          (none)
   Sticky Date:         (none)
   Sticky Options:      (none)

   Existing Tags:
        cattle                          (revision: 1.2)

FAIL: multiroot-status-1

reply via email to

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