1 // ============================================================================
7 // This test exercises ACE_Service_Config SEGV during shutdown when
8 // Modules get double deleted. Once by Stream parent,
9 // once by ACE_Service_Repository
12 // Chad Beaulac <chad@objectivesolutions.com>
14 // ============================================================================
16 #include "test_config.h"
17 #include "ace/Log_Msg.h"
18 #include "ace/Service_Config.h"
22 run_main (int, ACE_TCHAR
*argv
[])
24 ACE_START_TEST (ACE_TEXT ("Bug_3334_Regression_Test"));
26 ACE_TCHAR
*_argv
[3] = { argv
[0],
27 const_cast<ACE_TCHAR
*> (ACE_TEXT ("-f")),
28 const_cast<ACE_TCHAR
*>
29 (ACE_TEXT ("Bug_3334_Regression_Test.conf")) };
31 if ((status
= ACE_Service_Config::open (3,
33 ACE_DEFAULT_LOGGER_KEY
,
35 true /*ignore def svc.conf*/)) == -1)
41 ACE_Service_Config::fini_svcs ();