Signed-off-by: Jouni Malinen <j@w1.fi>
raise Exeception("Unexpected number of rows in current_sessions (%d; expected %d)" % (len(rows), 1))
logger.info("current_sessions: " + str(rows))
+ tests = ["foo", "disconnect q", "coa %s" % dev[0].own_addr()]
+ for t in tests:
+ if "FAIL" not in authsrv.request("DAC_REQUEST " + t):
+ raise Exception("Invalid DAC_REQUEST accepted: " + t)
if "OK" not in authsrv.request("DAC_REQUEST coa %s t_c_clear" % dev[0].own_addr()):
raise Exception("DAC_REQUEST failed")