geoff 2003/11/25 10:41:47
Modified: t/apache constants.t xs/tables/current/Apache ConstantsTable.pm Log: add :mpmq import tag to Apache::Const Revision Changes Path 1.9 +6 -2 modperl-2.0/t/apache/constants.t Index: constants.t =================================================================== RCS file: /home/cvs/modperl-2.0/t/apache/constants.t,v retrieving revision 1.8 retrieving revision 1.9 diff -u -r1.8 -r1.9 --- constants.t 2 Oct 2003 14:32:54 -0000 1.8 +++ constants.t 25 Nov 2003 18:41:47 -0000 1.9 @@ -8,7 +8,7 @@ use Apache2 (); # -compile puts constants into the Apache:: namespace -use Apache::Const -compile => qw(:http :common +use Apache::Const -compile => qw(:http :common :mpmq TAKE23 &OPT_EXECCGI DECLINE_CMD DIR_MAGIC_TYPE CRLF); @@ -17,7 +17,7 @@ # caller namespace. also defaults to :common use Apache::Const; -plan tests => 16; +plan tests => 17; ok t_cmp(302, REDIRECT, 'REDIRECT'); @@ -34,6 +34,10 @@ ok t_cmp('httpd/unix-directory', Apache::DIR_MAGIC_TYPE, 'Apache::DIR_MAGIC_TYPE'); + +ok t_cmp(9, + Apache::MPMQ_MAX_SPARE_DAEMONS, + 'Apache::MPMQ_MAX_SPARE_DAEMONS'); # the rest of the tests don't fit into the t_cmp() meme # for one reason or anothre... 1.31 +18 -1 modperl-2.0/xs/tables/current/Apache/ConstantsTable.pm Index: ConstantsTable.pm =================================================================== RCS file: /home/cvs/modperl-2.0/xs/tables/current/Apache/ConstantsTable.pm,v retrieving revision 1.30 retrieving revision 1.31 diff -u -r1.30 -r1.31 --- ConstantsTable.pm 17 Nov 2003 23:00:07 -0000 1.30 +++ ConstantsTable.pm 25 Nov 2003 18:41:47 -0000 1.31 @@ -185,7 +185,24 @@ 'TAKE23', 'TAKE123', 'TAKE13' - ] + ], + 'mpmq' => [ + 'AP_MPMQ_NOT_SUPPORTED', + 'AP_MPMQ_STATIC', + 'AP_MPMQ_DYNAMIC', + 'AP_MPMQ_MAX_DAEMON_USED', + 'AP_MPMQ_IS_THREADED', + 'AP_MPMQ_IS_FORKED', + 'AP_MPMQ_HARD_LIMIT_DAEMONS', + 'AP_MPMQ_HARD_LIMIT_THREADS', + 'AP_MPMQ_MAX_THREADS', + 'AP_MPMQ_MIN_SPARE_DAEMONS', + 'AP_MPMQ_MIN_SPARE_THREADS', + 'AP_MPMQ_MAX_SPARE_DAEMONS', + 'AP_MPMQ_MAX_SPARE_THREADS', + 'AP_MPMQ_MAX_REQUESTS_DAEMON', + 'AP_MPMQ_MAX_DAEMONS', + ], }, 'APR' => { 'uri' => [