+static const gchar *leaking_failures[] = {
+ /* checks: Invalid pipeline syntax fails */
+ "fakesrc ! identity ! sgsdfagfd @ gfdgfdsgfsgSF",
+ /* checks: Attempting to link to a non-existent pad on an element
+ * created via URI handler should fail */
+ "fakesrc ! .foo file:///dev/null",
+ /* checks: That requesting an element which doesn't exist doesn't work */
+ "error-does-not-exist-src",
+ NULL
+};
+
+GST_START_TEST (leaking_fail_pipes)
+{
+ const gchar **s;
+
+ for (s = leaking_failures; *s != NULL; s++) {
+ g_print ("Trying pipe: %s\n", *s);
+ /* Uncomment if you want to try fixing the leaks */
+ /* expected_fail_pipe (*s); */
+ VALGRIND_DO_LEAK_CHECK;
+ }
+}
+
+GST_END_TEST;
+