Commit aa51d0d1 authored by Marc G. Fournier's avatar Marc G. Fournier

Purge out tests/expected that are now in sql/expected subdirectories from

'master' file

Commit mods to regress.sh so that split out tests are run...look forward
to finding out how to do a proper redirect to continue visual cleanup :)
parent 04688df6
This diff is collapsed.
This diff is collapsed.
#!/bin/sh #!/bin/sh
# $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.3 1996/11/14 16:09:28 momjian Exp $ # $Header: /cvsroot/pgsql/src/test/regress/Attic/regress.sh,v 1.4 1997/04/05 11:58:35 scrappy Exp $
# #
if [ -d ./obj ]; then if [ -d ./obj ]; then
cd ./obj cd ./obj
...@@ -20,13 +20,25 @@ if [ $? -ne 0 ]; then ...@@ -20,13 +20,25 @@ if [ $? -ne 0 ]; then
exit 1 exit 1
fi fi
$FRONTEND regression < create.sql #$FRONTEND regression < create.sql
if [ $? -ne 0 ]; then #if [ $? -ne 0 ]; then
echo the creation script has an error # echo the creation script has an error
exit 1 # exit 1
fi #fi
echo =============== running regression queries ... ================= echo =============== running regression queries ... =================
for i in `cat sql/tests`
do
echo -n ${i} ..
$FRONTEND regression < sql/${i}.sql 2>&1 | tee output/${i}.out
if [ `diff expected/${i}.out output/${i}.out | wc -l` -ne 0 ]
then
echo failed
else
echo ok
fi
done
exit
$FRONTEND regression < queries.sql $FRONTEND regression < queries.sql
# this will generate error result code # this will generate error result code
......
...@@ -11,7 +11,6 @@ float4 ...@@ -11,7 +11,6 @@ float4
float8 float8
int2 int2
int4 int4
misc
oid oid
oidint2 oidint2
oidint4 oidint4
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment