3 This test checks that a shmiop corbaloc reference can be parsed correctly and connected correctly. It uses the NameService and nslist because they are compatible already built pairing of client and server. Their use is not relevent otherwise. This would work just as well with hello world. This is actually a test for TAO/tao/Strategies *not* TAO/orbsvcs but as it uses the NS it's here rather than in TAO/tests.
5 The name service is started with only a shmiop endpoint on a random port and the -ORBObjRefStyle URL directive is used to make the IOR that is exported be in the corbaloc form. nslist is used to query the service using this IOR.
7 shmiop must (of course) be available.
9 Regression output looks like:
11 C:\worcvs\tao151\prism\tests\tao470_regression>run_test.pl
12 (3252|1076) EXCEPTION, Exception in nslist
13 system exception, ID 'IDL:omg.org/CORBA/OBJECT_NOT_EXIST:1.0'
14 Unknown vendor minor code id (0), minor code = 0, completed = NO
16 ERROR: Regression - nslist returned
17 INFO: ../../../TAO/orbsvcs/Naming_Service/Naming_Service being killed.
19 ... or indeed anything that doesn't look like the success output which is:
21 C:\worcvs\tao151\prism\tests\tao470_regression>run_test.pl
22 Naming Service: IOR:01000000010000000000000001000000024f41545c000000010102cd0c00
23 00003139322e3136382e302e32009a04cdcd3a00000014010f004e55500000001c00000000010000
24 00526f6f74504f41004e616d65536572766963650000000000010000004e616d6553657276696365
27 INFO: ../../../TAO/orbsvcs/Naming_Service/Naming_Service being killed.