@@ -15,24 +15,23 @@ Preparation
15
15
'expected.out' file. The localization replaces macros in the source
16
16
files with absolute pathnames and user names.
17
17
18
- The 'expected.input' file and the 'sample.regress.out' file
18
+ Directory Layout
19
19
20
- The 'expected.input' file was created on a SPARC Solaris 2.4 system
21
- using the 'postgres5-1.02a5.tar.gz' source tree. It has been compared
22
- with a file created on an I386 Solaris 2.4 system and the differences
23
- are only in the floating point polygons in the 3rd digit to the right
24
- of the decimal point. (see below)
20
+ input/ .... .source files that are converted using 'make all' into
21
+ .sql files in the 'sql' subdirectory
25
22
26
- The 'sample.regress.out' file is from the postgres-1.01 release
27
- constructed by Jolly Chen and is included here for reference. It may
28
- have been created on a DEC ALPHA machine as the 'Makefile.global'
29
- in the postgres-1.01 release has PORTNAME=alpha.
23
+ output/ ... .source files that are converted using 'make all' into
24
+ .out files in the 'expected' subdirectory
30
25
31
- Running the regression test
26
+ sql/ ...... .sql files used to perform the regression tests
27
+
28
+ expected/ . .out files that represent what we *expect* the results to
29
+ look like
32
30
33
- Change directory to the regression test directory:
31
+ results/ .. .out files that represent what the results *actually* look
32
+ like
34
33
35
- cd ...../src/ test/regress
34
+ Running the regression test
36
35
37
36
If you have prevously invoked the regression test, clean up the
38
37
working directory with:
@@ -43,9 +42,9 @@ Running the regression test
43
42
44
43
make all runtest
45
44
46
- Normally, the regression test should be run as the 'postgres' user as the
45
+ Normally, the regression test should be run as the pg_superuser as the
47
46
'src/test/regress' directory and sub-directories are owned by the
48
- 'postgres' user . If you run the regression test as another user the
47
+ pg_superuser . If you run the regression test as another user the
49
48
'src/test/regress' directory should be writeable to that user.
50
49
51
50
Comparing expected/actual output
@@ -118,4 +117,18 @@ DATE/TIME differences
118
117
entries that use the time -infinity display with year 1970 plus/minus the
119
118
number of hours you are different from GMT.
120
119
120
+ --------[ old stuff that needs to be rewritten ]-----
121
+
122
+ The 'expected.input' file and the 'sample.regress.out' file
123
+
124
+ The 'expected.input' file was created on a SPARC Solaris 2.4 system
125
+ using the 'postgres5-1.02a5.tar.gz' source tree. It has been compared
126
+ with a file created on an I386 Solaris 2.4 system and the differences
127
+ are only in the floating point polygons in the 3rd digit to the right
128
+ of the decimal point. (see below)
129
+
130
+ The 'sample.regress.out' file is from the postgres-1.01 release
131
+ constructed by Jolly Chen and is included here for reference. It may
132
+ have been created on a DEC ALPHA machine as the 'Makefile.global'
133
+ in the postgres-1.01 release has PORTNAME=alpha.
121
134
0 commit comments