]> git.ipfire.org Git - thirdparty/samba.git/commit
python:tests: make test_export_keytab_nochange_update() more reliable
authorStefan Metzmacher <metze@samba.org>
Wed, 17 Jul 2024 07:03:34 +0000 (07:03 +0000)
committerStefan Metzmacher <metze@samba.org>
Wed, 17 Jul 2024 14:21:30 +0000 (14:21 +0000)
commit818bd2dcb3c67728f4e82722154e25023a09c919
tree98f72f9384c7134279ae9fa1306ca5a50e80eefc
parent687139144a2f6210aae570accedafca9250753e1
python:tests: make test_export_keytab_nochange_update() more reliable

net.export_keytab() includes the current timestamp into the resulting
keytab. So we need to make sure the two compared exports actually
run within the same second.

And klist may also print the keytab filename...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Wed Jul 17 14:21:30 UTC 2024 on atb-devel-224
python/samba/tests/dckeytab.py