diff options
| author | Peter Eisentraut | 2000-01-16 20:05:00 +0000 |
|---|---|---|
| committer | Peter Eisentraut | 2000-01-16 20:05:00 +0000 |
| commit | 759fba48734fdb93094ed6fe6b0d0c4d533fd0ca (patch) | |
| tree | 504e54982096b18273f254a553bddbbcf16ae5f0 /src/test | |
| parent | a4e1304ed1700c9831fdacc908fa0461ef0f5151 (diff) | |
Included all yacc and lex files into the distribution.
Diffstat (limited to 'src/test')
| -rwxr-xr-x | src/test/regress/run_check.sh | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/src/test/regress/run_check.sh b/src/test/regress/run_check.sh index 8187e8aae1d..d6dd247de62 100755 --- a/src/test/regress/run_check.sh +++ b/src/test/regress/run_check.sh @@ -1,6 +1,6 @@ #!/bin/sh # -# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.6 2000/01/09 20:54:36 tgl Exp $ +# $Header: /cvsroot/pgsql/src/test/regress/Attic/run_check.sh,v 1.7 2000/01/16 20:05:00 petere Exp $ # ---------- # Check call syntax @@ -37,6 +37,16 @@ export LOGDIR export TIMDIR export PGPORT +# Needed by psql and pg_encoding (if you run multibyte). +# I hope this covers all platforms with shared libraries, +# otherwise feel free to cover your platform here as well. +if [ "$LD_LIBRARY_PATH" ]; then + old_LD_LIBRARY_PATH="$LD_LIBRARY_PATH" + LD_LIBRARY_PATH="$LIBDIR:$LD_LIBARY_PATH" +else + LD_LIBRARY_PATH="$LIBDIR" +fi +export LD_LIBRARY_PATH # ---------- # Get the commandline parameters @@ -111,6 +121,7 @@ trap ' echo "" echo "" fi echo "" + LD_LIBRARY_PATH="$old_LD_LIBRARY_PATH" exit 1 ' 2 15 @@ -434,5 +445,6 @@ done | tee run_check.out 2>&1 echo "=============== Terminating regression postmaster ================" kill -15 $PMPID +LD_LIBRARY_PATH="$old_LD_LIBRARY_PATH" exit 0 |
