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"
23 run_main (int, ACE_TCHAR
*argv
[])
25 ACE_START_TEST (ACE_TEXT ("Bug_3334_Regression_Test"));
27 ACE_TCHAR
*_argv
[3] = { argv
[0],
28 const_cast<ACE_TCHAR
*> (ACE_TEXT ("-f")),
29 const_cast<ACE_TCHAR
*>
30 (ACE_TEXT ("Bug_3334_Regression_Test.conf")) };
32 if ((status
= ACE_Service_Config::open (3,
34 ACE_DEFAULT_LOGGER_KEY
,
36 true /*ignore def svc.conf*/)) == -1)
42 ACE_Service_Config::fini_svcs ();