def METHOD_NAME(tempdir):
    runners = os.path.join(tempdir, "runners")
    os.makedirs(runners)
    table = {
        "A": {
            "base": 1,
            "versions": [2, 3]
        },
        "B": {
            "base": 1,
            "versions": [2, 3]
        }
    }
    for distro, info in table.items():
        base = info["base"] or 0
        versions = info["versions"]
        create_runners(runners, distro, str(base), versions)
    meta = osbuild.meta.Index(tempdir)
    have = meta.list_runners()
    names = [
        f"{i.distro}{i.version}" for i in have
    ]
    assert names == ["A1", "A2", "A3", "B1", "B2", "B3"]