Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
postgres-lambda-diff
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jakob Huber
postgres-lambda-diff
Commits
275a1d05
Commit
275a1d05
authored
25 years ago
by
Tom Lane
Browse files
Options
Downloads
Patches
Plain Diff
Undo Jan's typo that broke regress.sh's detection of system
type name.
parent
1b93294f
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/test/regress/regress.sh
+10
-8
10 additions, 8 deletions
src/test/regress/regress.sh
with
10 additions
and
8 deletions
src/test/regress/regress.sh
+
10
−
8
View file @
275a1d05
#!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.
29
1999/06/1
0
17:49:
30 wieck
Exp $
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.
30
1999/06/1
4
17:49:
06 tgl
Exp $
#
if
[
$#
-eq
0
]
then
...
...
@@ -7,15 +7,16 @@ then
exit
1
fi
if
[
$1
=
"win"
]
portname
=
$1
shift
extratests
=
"
$*
"
if
[
x
$portname
=
"xwin"
]
then
HOST
=
"-h localhost"
else
HOST
=
""
fi
portname
=
$1
export
portname
shift
if
echo
'\c'
|
grep
-s
c
>
/dev/null 2>&1
then
...
...
@@ -36,7 +37,7 @@ PGDATESTYLE="Postgres,US"; export PGDATESTYLE
#FRONTEND=monitor
FRONTEND
=
"psql
$HOST
-n -e -q"
SYSTEM
=
`
../../config.guess |
awk
-F
\-
'{ split($3,a,/[0-9]/); printf"%s-%s", $
portname
, a[1] }'
`
SYSTEM
=
`
../../config.guess |
awk
-F
\-
'{ split($3,a,/[0-9]/); printf"%s-%s", $
1
, a[1] }'
`
echo
"=============== Notes... ================="
echo
"postmaster must already be running for the regression tests to succeed."
...
...
@@ -75,7 +76,7 @@ fi
echo
"=============== running regression queries... ================="
echo
""
>
regression.diffs
for
i
in
`
cat
sql/tests
`
$mbtests
$
*
for
i
in
`
cat
sql/tests
`
$mbtests
$
extratests
do
$ECHO_N
"
${
i
}
.. "
$ECHO_C
$FRONTEND
regression < sql/
${
i
}
.sql
>
results/
${
i
}
.out 2>&1
...
...
@@ -97,7 +98,8 @@ do
echo
ok
fi
done
exit
exit
0
echo
"=============== running error queries ... ================="
$FRONTEND
regression < errors.sql
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment