def METHOD_NAME():
    repo_path, to_rm = setup_git_repo()
    try:
        passed_files = [
            "committed",
            "committed-ignored",
            "added-to-index",
            "ignored-added-to-index",
        ]
        filtered_files = [
            "ignored",
            "untracked",
            "subdir/untracked",
            "subdir/untracked2",
        ]
        run_test(repo_path, passed_files, filtered_files)
    finally:
        for rm_dir in to_rm:
            shutil.rmtree(rm_dir)