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 :)
This commit is contained in:
Marc G. Fournier 1997-04-05 11:58:40 +00:00
parent 04688df668
commit aa51d0d185
4 changed files with 19 additions and 4128 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,5 +1,5 @@
#!/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
cd ./obj
@ -20,13 +20,25 @@ if [ $? -ne 0 ]; then
exit 1
fi
$FRONTEND regression < create.sql
if [ $? -ne 0 ]; then
echo the creation script has an error
exit 1
fi
#$FRONTEND regression < create.sql
#if [ $? -ne 0 ]; then
# echo the creation script has an error
# exit 1
#fi
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
# this will generate error result code

View File

@ -11,7 +11,6 @@ float4
float8
int2
int4
misc
oid
oidint2
oidint4