apr_table_(copy|overlay) has hierarchical requirements on the pool being used, since it copies content from table to table without reallocing it.
apr_table_(copy|overlay) has hierarchical requirements on the pool
being used, since it copies content from table to table without
reallocing it.

The test logic was broken and would produce these kind of aborts
when apr was compiled with -DAPR_POOL_DEBUG:

  apr_table_copy: t's pool is not an ancestor of p
  apr_table_overlay: overlay's pool is not an ancestor of p
  apr_table_overlay: base's pool is not an ancestor of p

This reworks the test logic a bit to keep on testing what it was
testing, while passing correct pools to the various table methods



git-svn-id: b4be4a41b2a3352907de631eb6da1671a2f7b614@374792 13f79535-47bb-0310-9956-ffa450edef68

Distrotech/mod_perl,Distrotech/mod_perl,Distrotech/mod_perl,Distrotech/mod_perl