diff options
Diffstat (limited to 'OpenSim/Tests/Clients/Grid/GridClient.cs')
-rw-r--r-- | OpenSim/Tests/Clients/Grid/GridClient.cs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/OpenSim/Tests/Clients/Grid/GridClient.cs b/OpenSim/Tests/Clients/Grid/GridClient.cs index 155f38e..c56ebc3 100644 --- a/OpenSim/Tests/Clients/Grid/GridClient.cs +++ b/OpenSim/Tests/Clients/Grid/GridClient.cs | |||
@@ -137,6 +137,26 @@ namespace OpenSim.Tests.Clients.GridClient | |||
137 | else | 137 | else |
138 | Console.WriteLine("[GRID CLIENT]: GetRegionRange returned " + regions.Count + " regions"); | 138 | Console.WriteLine("[GRID CLIENT]: GetRegionRange returned " + regions.Count + " regions"); |
139 | 139 | ||
140 | // Deregister them all | ||
141 | Console.WriteLine("[GRID CLIENT]: *** Deregistering region 1"); | ||
142 | success = m_Connector.DeregisterRegion(r1.RegionID); | ||
143 | if (success) | ||
144 | Console.WriteLine("[GRID CLIENT]: Successfully deregistered region 1"); | ||
145 | else | ||
146 | Console.WriteLine("[GRID CLIENT]: region 1 failed to deregister"); | ||
147 | Console.WriteLine("[GRID CLIENT]: *** Deregistering region 2"); | ||
148 | success = m_Connector.DeregisterRegion(r2.RegionID); | ||
149 | if (success) | ||
150 | Console.WriteLine("[GRID CLIENT]: Successfully deregistered region 2"); | ||
151 | else | ||
152 | Console.WriteLine("[GRID CLIENT]: region 2 failed to deregister"); | ||
153 | Console.WriteLine("[GRID CLIENT]: *** Deregistering region 3"); | ||
154 | success = m_Connector.DeregisterRegion(r3.RegionID); | ||
155 | if (success) | ||
156 | Console.WriteLine("[GRID CLIENT]: Successfully deregistered region 3"); | ||
157 | else | ||
158 | Console.WriteLine("[GRID CLIENT]: region 3 failed to deregister"); | ||
159 | |||
140 | } | 160 | } |
141 | 161 | ||
142 | private static GridRegion CreateRegion(string name, uint xcell, uint ycell) | 162 | private static GridRegion CreateRegion(string name, uint xcell, uint ycell) |