Test apt_repository and yum_repository