Tests for bug 202985 [prov] [repo] Store repositories in the profile
diff --git a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java
index 400d87b..3664c9d 100644
--- a/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java
+++ b/bundles/org.eclipse.equinox.p2.tests/src/org/eclipse/equinox/p2/tests/touchpoint/eclipse/AddRepositoryActionTest.java
@@ -137,5 +137,11 @@
 			//will fail if it took too long for the repository to be added
 			assertTrue(System.currentTimeMillis() - waitStart < 10000);
 		}
+
+		profile = getProfile(id);
+		String value = profile.getProperty(IProfile.PROP_METADATA_REPOSITORIES);
+		assertNull("2.0", value);
+		value = profile.getProperty(IProfile.PROP_ARTIFACT_REPOSITORIES);
+		assertEquals("2.1", TEST_LOCATION, value);
 	}
 }