summaryrefslogtreecommitdiffstats
path: root/python/samba/tests/netcmd.py
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2015-02-02 12:18:23 +1300
committerAndrew Bartlett <abartlet@samba.org>2015-02-08 08:07:07 +0100
commit11871c853a911b85ebb3f9ff5671ce1f9024188f (patch)
tree909cc3fbeb8c5e63aea2ea15162bf69467eded35 /python/samba/tests/netcmd.py
parent0a4374a93aced30245c0719e6a279f1dd7ea78f1 (diff)
downloadsamba-11871c853a911b85ebb3f9ff5671ce1f9024188f.tar.gz
samba-11871c853a911b85ebb3f9ff5671ce1f9024188f.tar.xz
samba-11871c853a911b85ebb3f9ff5671ce1f9024188f.zip
torture-krb5: Reformat and re-work test to be easier to follow
The behaviour is the same as in the previous commit, but it is much easier to follow as the main test code now indicates to the send_and_recv callbacks what stage of the test we are at, and resets the packet counter between stages. This also re-orders the code so that the send and recv callbacks for each stage are next to each other, and uses a case statement in the main send_and_recv driver for clarity. Andrew Bartlett Signed-off-by: Andrew Bartlett <abartlet@samba.org> Pair-programmed-with: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Garming Sam <garming@catalyst.net.nz>
Diffstat (limited to 'python/samba/tests/netcmd.py')
0 files changed, 0 insertions, 0 deletions