summaryrefslogtreecommitdiff
path: root/ACE/TAO/orbsvcs/tests/Bug_2777_Regression/README
blob: 22bdc29a667746905dfd6917878bf012c3d0643e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// $Id$

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.

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.

shmiop must (of course) be available.

Regression output looks like:

C:\worcvs\tao151\prism\tests\tao470_regression>run_test.pl
(3252|1076) EXCEPTION, Exception in nslist
system exception, ID 'IDL:omg.org/CORBA/OBJECT_NOT_EXIST:1.0'
Unknown vendor minor code id (0), minor code = 0, completed = NO

ERROR: Regression - nslist returned
INFO: ../../../TAO/orbsvcs/Naming_Service/Naming_Service being killed.

... or indeed anything that doesn't look like the success output which is:

C:\worcvs\tao151\prism\tests\tao470_regression>run_test.pl
Naming Service: IOR:01000000010000000000000001000000024f41545c000000010102cd0c00
00003139322e3136382e302e32009a04cdcd3a00000014010f004e55500000001c00000000010000
00526f6f74504f41004e616d65536572766963650000000000010000004e616d6553657276696365
cdcd00000000
---------------
INFO: ../../../TAO/orbsvcs/Naming_Service/Naming_Service being killed.
Test passed !!