Rules: regression tests

Started by Nonameover 27 years ago2 messages
#1Noname
jwieck@debis.com

Marc,

just that the regression tests for rules work, please apply
the following to regress/sql/tests.

If applying by hand note that the setup_... must run before
the run_... (that I splitted these two was due to the errors
that occured when creating rules and using them then in the
same session - I'll post another fix for this later).

BTW: the regression tests sanity_checks and alter_table
fail now due to the remove of some indices and the oidint4
and oidname types. At least expectes should be set to
the current results.

Thanks.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck@debis.com (Jan Wieck) #

*** tests.orig	Wed Aug 19 12:02:27 1998
--- tests	Wed Aug 19 12:02:17 1998
***************
*** 61,65 ****
  select_views
  alter_table
  portals_p2
! run_ruletest.sql
! setup_ruletest.sql
--- 61,65 ----
  select_views
  alter_table
  portals_p2
! setup_ruletest
! run_ruletest
#2Bruce Momjian
maillist@candle.pha.pa.us
In reply to: Noname (#1)
Re: [HACKERS] Rules: regression tests

Applied.

Marc,

just that the regression tests for rules work, please apply
the following to regress/sql/tests.

If applying by hand note that the setup_... must run before
the run_... (that I splitted these two was due to the errors
that occured when creating rules and using them then in the
same session - I'll post another fix for this later).

BTW: the regression tests sanity_checks and alter_table
fail now due to the remove of some indices and the oidint4
and oidname types. At least expectes should be set to
the current results.

Thanks.

Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me. #
#======================================== jwieck@debis.com (Jan Wieck) #

*** tests.orig	Wed Aug 19 12:02:27 1998
--- tests	Wed Aug 19 12:02:17 1998
***************
*** 61,65 ****
select_views
alter_table
portals_p2
! run_ruletest.sql
! setup_ruletest.sql
--- 61,65 ----
select_views
alter_table
portals_p2
! setup_ruletest
! run_ruletest
-- 
Bruce Momjian                          |  830 Blythe Avenue
maillist@candle.pha.pa.us              |  Drexel Hill, Pennsylvania 19026
  +  If your life is a hard drive,     |  (610) 353-9879(w)
  +  Christ can be your backup.        |  (610) 853-3000(h)