wintest: Fix code spelling
authorAndreas Schneider <asn@samba.org>
Thu, 3 Aug 2023 13:50:30 +0000 (15:50 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 14 Aug 2023 21:45:30 +0000 (21:45 +0000)
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
wintest/test-s4-howto.py
wintest/wintest.py

index 2c8758dd6e2bb5b1349f645e3bd753a46d69f87e..4be37534da071ba63e39e258b94d3dbe1d8b961a 100755 (executable)
@@ -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")
 
index 5a52427f3335a0359bd9129e54b378bcfbcee005..4dddf111c46c42d02a8fb76c4e642930a4fd2665 100644 (file)
@@ -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")