Lines Matching refs:out
442 out = subprocess.check_output(
445 z_ppids = re.findall(r'Z\s*(\d+)', out)
555 out = (
562 out = [l for l in out if unit_pid in l]
564 if len(out) <= 3:
569 assert len(out) == 3, 'main, router, and controller expected'
571 out = [l for l in out if 'unit: main' not in l]
572 assert len(out) == 2, 'one main'
574 out = [
576 for l in out
580 assert len(out) == 1, 'one router'
582 out = [
584 for l in out
590 assert len(out) == 0, 'one controller'
644 out = subprocess.check_output(
648 return len(out.splitlines())
654 out = subprocess.check_output(
658 return len(out.splitlines())