t.chdir('${PREFIX}')
t.del_files(["var", "private"])
t.run_cmd("rm -f etc/smb.conf")
- provision=['bin/samba-tool',
+ provision = ['bin/samba-tool',
'domain',
'provision',
'--realm=${LCREALM}',
time.sleep(2)
child.sendline("net use t: \\\\${HOSTNAME}.${LCREALM}\\test")
i = child.expect(["The command completed successfully", "The network path was not found"])
- retries -=1
+ retries -= 1
t.run_net_time(child)
child.expect("C:")
if i == 1:
time.sleep(2)
- retries -=1
+ retries -= 1
t.info("Checking if showrepl is happy")
child.sendline("repadmin /showrepl")
child.expect("C:")
if i == 1:
time.sleep(2)
- retries -=1
+ retries -= 1
t.info("Checking if showrepl is happy")
child.sendline("repadmin /showrepl")