TS-1387: Make it impossible to add new TSOverridableConfigKey values without updating the tests
Project: http://git-wip-us.apache.org/repos/asf/trafficserver/repo Commit: http://git-wip-us.apache.org/repos/asf/trafficserver/commit/2b14051c Tree: http://git-wip-us.apache.org/repos/asf/trafficserver/tree/2b14051c Diff: http://git-wip-us.apache.org/repos/asf/trafficserver/diff/2b14051c Branch: refs/heads/master Commit: 2b14051c7e1b6217fbe21f99f195a321e11f522d Parents: e24e79d Author: James Peach <[email protected]> Authored: Tue Aug 7 20:50:51 2012 -0700 Committer: James Peach <[email protected]> Committed: Tue Aug 7 20:50:51 2012 -0700 ---------------------------------------------------------------------- proxy/InkAPITest.cc | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/trafficserver/blob/2b14051c/proxy/InkAPITest.cc ---------------------------------------------------------------------- diff --git a/proxy/InkAPITest.cc b/proxy/InkAPITest.cc index e03e996..f17015b 100644 --- a/proxy/InkAPITest.cc +++ b/proxy/InkAPITest.cc @@ -7337,7 +7337,7 @@ EXCLUSIVE_REGRESSION_TEST(SDK_API_TSHttpConnectServerIntercept) (RegressionTest //////////////////////////////////////////////// // The order of these should be the same as TSOverridableConfigKey -const char *SDK_Overridable_Configs[] = { +const char *SDK_Overridable_Configs[TS_CONFIG_LAST_ENTRY] = { "proxy.config.url_remap.pristine_host_hdr", "proxy.config.http.chunking_enabled", "proxy.config.http.negative_caching_enabled", @@ -7401,8 +7401,6 @@ const char *SDK_Overridable_Configs[] = { "proxy.config.net.sock_packet_mark_out", "proxy.config.net.sock_packet_tos_out", "proxy.config.http.insert_age_in_response", - - NULL }; REGRESSION_TEST(SDK_API_OVERRIDABLE_CONFIGS) (RegressionTest * test, int atype, int *pstatus)
