summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xwintest/test-s4-howto.py4
-rw-r--r--wintest/wintest.py2
2 files changed, 3 insertions, 3 deletions
diff --git a/wintest/test-s4-howto.py b/wintest/test-s4-howto.py
index 5102387124a..2c8758dd6e2 100755
--- a/wintest/test-s4-howto.py
+++ b/wintest/test-s4-howto.py
@@ -160,7 +160,7 @@ def run_dcpromo(t, vm):
t.info("Joining a windows VM ${WIN_VM} to the domain as a DC using dcpromo")
child = t.open_telnet("${WIN_HOSTNAME}", "administrator", "${WIN_PASS}", set_ip=True, set_noexpire=True)
child.sendline("copy /Y con answers.txt")
- child.sendline('''
+ child.sendline(b'''
[DCINSTALL]
RebootOnSuccess=Yes
RebootOnCompletion=Yes
@@ -315,7 +315,7 @@ def run_dcpromo_rodc(t, vm):
t.vm_restore("${WIN_VM}", "${WIN_SNAPSHOT}")
child = t.open_telnet("${WIN_HOSTNAME}", "administrator", "${WIN_PASS}", set_ip=True)
child.sendline("copy /Y con answers.txt")
- child.sendline('''
+ child.sendline(b'''
[DCInstall]
ReplicaOrNewDomain=ReadOnlyReplica
ReplicaDomainDNSName=${LCREALM}
diff --git a/wintest/wintest.py b/wintest/wintest.py
index c239bab5506..914b5d61689 100644
--- a/wintest/wintest.py
+++ b/wintest/wintest.py
@@ -834,7 +834,7 @@ options {
"""This server must therefore not yet be a directory server, so we must promote it"""
child.sendline("copy /Y con answers.txt")
- child.sendline('''
+ child.sendline(b'''
[DCInstall]
; New forest promotion
ReplicaOrNewDomain=Domain