mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +03:00
s4-smbtorture: exit early in test_EnumPorts when no port info has been returned.
Guenther
This commit is contained in:
parent
2fcc921237
commit
8bc7bb77be
@ -139,6 +139,8 @@ static bool test_EnumPorts(struct torture_context *tctx,
|
||||
|
||||
torture_assert_werr_ok(tctx, r.out.result, "EnumPorts failed");
|
||||
|
||||
torture_assert(tctx, info, "EnumPorts returned no info");
|
||||
|
||||
ctx->port_count[level] = count;
|
||||
ctx->ports[level] = info;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user