summaryrefslogtreecommitdiff
path: root/source4/torture/rpc/epmapper.c
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-28 05:20:11 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-28 05:20:11 +0000
commitba33beec050bdc4bf0452761c481ea41985b831f (patch)
tree179e98e27411d9c3ca70ab799d73273306b480ed /source4/torture/rpc/epmapper.c
parentd419464d87127c9464d1a00976a36774835d196d (diff)
downloadsamba-ba33beec050bdc4bf0452761c481ea41985b831f.tar.gz
samba-ba33beec050bdc4bf0452761c481ea41985b831f.tar.bz2
samba-ba33beec050bdc4bf0452761c481ea41985b831f.zip
* added a bunch of placeholder IDL files
* allow for an interface to list its endpoints in the IDL file, so we can automatically make the server listen on the right pipes, and can scan pipes more easily (I don't take advantage of this yet, just putting the infrastructure in place) (This used to be commit c8b8480244b4ab6204403dc65e92e4317b410a84)
Diffstat (limited to 'source4/torture/rpc/epmapper.c')
-rw-r--r--source4/torture/rpc/epmapper.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/source4/torture/rpc/epmapper.c b/source4/torture/rpc/epmapper.c
index 22d8ee4343..65e431bdc2 100644
--- a/source4/torture/rpc/epmapper.c
+++ b/source4/torture/rpc/epmapper.c
@@ -118,6 +118,11 @@ static BOOL test_Map(struct dcerpc_pipe *p, TALLOC_CTX *mem_ctx,
r.out.entry_handle = &handle;
r.in.max_towers = 100;
+ if (twr->towers.num_floors != 5) {
+ printf(" tower has %d floors - skipping test_Map\n", twr->towers.num_floors);
+ return True;
+ }
+
uuid_str = GUID_string(mem_ctx, &twr->towers.floors[0].lhs.info.uuid.uuid);
printf("epm_Map results for '%s':\n",