From 45e17b700049f6672149b14216a30818df2bd4b7 Mon Sep 17 00:00:00 2001 From: Andreas Schneider Date: Thu, 3 Aug 2023 15:50:30 +0200 Subject: [PATCH] wintest: Fix code spelling Signed-off-by: Andreas Schneider Reviewed-by: Andrew Bartlett --- wintest/test-s4-howto.py | 8 ++++---- wintest/wintest.py | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py index 2c8758dd6e2..4be37534da0 100755 --- a/wintest/test-s4-howto.py +++ b/wintest/test-s4-howto.py @@ -295,7 +295,7 @@ def test_dcpromo(t, vm): t.retry_cmd("%s -L ${HOSTNAME}.${LCREALM} -Utest3%%${PASSWORD3} -k no" % (smbclient), ['Sharename', 'IPC']) t.retry_cmd("%s -L ${HOSTNAME}.${LCREALM} -Utest3%%${PASSWORD3} -k yes" % (smbclient), ['Sharename', 'IPC']) - t.info("Checking propogation of user deletion") + t.info("Checking propagation of user deletion") t.run_cmd('bin/samba-tool user delete test2 -Uadministrator@${LCREALM}%${PASSWORD1}') child.sendline("net user test3 /del") child.expect("The command completed successfully") @@ -404,7 +404,7 @@ def test_dcpromo_rodc(t, vm): def prep_join_as_dc(t, vm): - '''start VM and shutdown Samba in preperation to join a windows domain as a DC''' + '''start VM and shutdown Samba in preparation to join a windows domain as a DC''' t.info("Starting VMs for joining ${WIN_VM} as a second DC using samba-tool domain join DC") t.chdir('${PREFIX}') t.run_cmd('killall -9 -q samba smbd nmbd winbindd', checkfail=False) @@ -478,7 +478,7 @@ def test_join_as_dc(t, vm): t.retry_cmd("%s -L ${HOSTNAME}.${WIN_REALM} -Utest3%%${PASSWORD3} -k no" % (smbclient), ['Sharename', 'IPC']) t.retry_cmd("%s -L ${HOSTNAME}.${WIN_REALM} -Utest3%%${PASSWORD3} -k yes" % (smbclient), ['Sharename', 'IPC']) - t.info("Checking propogation of user deletion") + t.info("Checking propagation of user deletion") t.run_cmd('bin/samba-tool user delete test2 -Uadministrator@${WIN_REALM}%${WIN_PASS}') child.sendline("net user test3 /del") child.expect("The command completed successfully") @@ -557,7 +557,7 @@ def test_join_as_rodc(t, vm): t.info("Checking if new users propagate to windows") t.cmd_contains('bin/samba-tool user add test2 ${PASSWORD2}', ['No RID Set DN']) - t.info("Checking propogation of user deletion") + t.info("Checking propagation of user deletion") child.sendline("net user test3 /del") child.expect("The command completed successfully") diff --git a/wintest/wintest.py b/wintest/wintest.py index 5a52427f333..4dddf111c46 100644 --- a/wintest/wintest.py +++ b/wintest/wintest.py @@ -22,7 +22,7 @@ class wintest(): self.parser = optparse.OptionParser("wintest") def check_prerequesites(self): - self.info("Checking prerequesites") + self.info("Checking prerequisites") self.setvar('HOSTNAME', self.cmd_output("hostname -s").strip()) if os.getuid() != 0: raise Exception("You must run this script as root")