[news.sysadmin] dbz regression test problems

brw@hertz.njit.edu (Brian White) (02/16/91)

I have run into a problem while running the regression tests in the dbz
directory. Here's the relevant output from "make r":
                   :
      < multitude of lines removed>
                   :
: build a database and then add to it
sed 1000q hist3.3 >dbase2
sed 1,1000d hist3.3 >dbase2.add
./rdbz -E 1000 -0 dbase2
1000
./rdbz -E 1000 -0 -a dbase2 dbase2.add
1000
2000
cmp dbase dbase2
cmp dbase.dir dbase2.dir
cmp dbase.pag dbase2.pag
: build based on existing one, test extraction and readonly files
./rdbz -E 1000 -0 -f dbase dbase2
1000
2000
3000
test "`cat dbase.used | wc -l`" -eq "`awk 'NR==2{print $1}' dbase2.dir`" ;
test "`cat dbase.used | wc -l`" -eq "`awk 'NR==2{print $2}' dbase2.dir`" ;
chmod -w dbase2.dir dbase2.pag
./rdbz -E 1000 -x dbase2 dbase >dbase.temp
./rdbz: (file `(no file)', line 0) dbminit(`dbase2') failed
*** Error code 1
 
It *appears* that rdbz cannot find the database files, but here's the
directory of what it seems to be looking for....

>ls -l dbase*
-rw-------  1 brw        155979 Feb 15 17:03 dbase
-rw-r--r--  1 brw            61 Feb 15 17:04 dbase.dir
-rw-r--r--  1 brw         16076 Feb 15 17:04 dbase.pag
-rw-r--r--  1 brw             0 Feb 15 17:06 dbase.temp
-rw-r--r--  1 brw        140886 Feb 15 17:04 dbase.used
-rw-r--r--  1 brw        155979 Feb 15 17:05 dbase2
-rw-r--r--  1 brw        108693 Feb 15 17:05 dbase2.add
-r--r--r--  1 brw            64 Feb 15 17:06 dbase2.dir
-r--r--r--  1 brw         15868 Feb 15 17:06 dbase2.pag
>

The system is a Mvax 3600 running Ultrix 3.0/1 (i.e.,bug fixes from 3.1); 
Cnews version is 15Dec90.

Please email and I will summarize; thanks for any assistance.
Brian White
System Programmer
New Jersey Institute of Technology
brw@hertz.njit.edu brw@njit.edu brw@jazz.njit.edu 

henry@zoo.toronto.edu (Henry Spencer) (02/20/91)

In article <2325@njitgw.njit.edu> brw@hertz.njit.edu (Brian White) writes:
>I have run into a problem while running the regression tests in the dbz
>directory...
>It *appears* that rdbz cannot find the database files...
>The system is a Mvax 3600 running Ultrix 3.0/1 (i.e.,bug fixes from 3.1)... 

See the section "Binary-Mode Fopen" in notebook/problems.  Ultrix bug.
-- 
"Read the OSI protocol specifications?  | Henry Spencer @ U of Toronto Zoology
I can't even *lift* them!"              |  henry@zoo.toronto.edu  utzoo!henry