[vlc-commits] test: media: disable stream:// tests

Francois Cartegnie git at videolan.org
Thu Apr 14 10:34:56 CEST 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Thu Apr 14 10:27:53 2016 +0200| [0c06f9e344f11dd671597bb9a49d7c5b25829deb] | committer: Francois Cartegnie

test: media: disable stream:// tests

Should fail by default and is validated on success.
The whole test is incorrect, reporting false positives
and no possible true negatives.

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=0c06f9e344f11dd671597bb9a49d7c5b25829deb
---

 test/libvlc/media.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/libvlc/media.c b/test/libvlc/media.c
index 0070e7b..d1cecc2 100644
--- a/test/libvlc/media.c
+++ b/test/libvlc/media.c
@@ -181,10 +181,10 @@ static void test_media_subitems(const char** argv, int argc)
     test_media_subitems_media (media, false);
     libvlc_media_release (media);
 
-    #define NB_LOCATIONS 3
+    #define NB_LOCATIONS 2
     char *subitems_realpath = realpath (subitems_path, NULL);
     assert (subitems_realpath != NULL);
-    const char *schemes[NB_LOCATIONS] = { "file://", "stream://", "dir://" };
+    const char *schemes[NB_LOCATIONS] = { "file://", "dir://" };
     for (unsigned i = 0; i < NB_LOCATIONS; ++i)
     {
         char *location;



More information about the vlc-commits mailing list