selftest: Use scalar variable for new daemon_ctx hashmap
commit163897f12538ae12dbc2bd556adcc1abc4f0f438
authorTim Beale <timbeale@catalyst.net.nz>
Thu, 23 May 2019 04:58:20 +0000 (23 16:58 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Fri, 24 May 2019 03:19:18 +0000 (24 03:19 +0000)
tree3b3b8e22099aa41280afa371fb909f27f44a01be
parentb976502d496cca0e8e04a2e5f2c72383efb296a7
selftest: Use scalar variable for new daemon_ctx hashmap

The selftest code typically stores hashmaps as scalar variables (i.e.
it only ever uses references to hashmaps). So much so that using a regular
hashmap (and passing it by reference via \%daemon_ctx) looks out of
place.

Using the hashmap directly made more sense when it was only being used
locally, but now the hashmap is being passed by reference into a function
anyway, so storing it as a scalar doesn't make much difference.

Signed-off-by: Tim Beale <timbeale@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
selftest/target/Samba3.pm
selftest/target/Samba4.pm