[vlc-devel] commit: media_list test is safe to run ( Rémi Denis-Courmont )

git version control git at videolan.org
Wed Feb 25 18:38:36 CET 2009


vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Wed Feb 25 19:38:21 2009 +0200| [099bacb29a8e70ec553ea16c4c4a09099a165b2a] | committer: Rémi Denis-Courmont 

media_list test is safe to run

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

 test/Makefile.am         |    2 +-
 test/libvlc/media_list.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/test/Makefile.am b/test/Makefile.am
index 96ace3f..e1d30cb 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -10,9 +10,9 @@ AUTOMAKE_OPTIONS = subdir-objects
 check_PROGRAMS = \
 	test_libvlc_core \
 	test_libvlc_events \
+	test_libvlc_media_list \
 	$(NULL)
 EXTRA_PROGRAMS = \
-	test_libvlc_media_list \
 	test_libvlc_media_list_player \
 	test_libvlc_media_player \
 	test_libvlc_meta \
diff --git a/test/libvlc/media_list.c b/test/libvlc/media_list.c
index db8c9e2..fb17697 100644
--- a/test/libvlc/media_list.c
+++ b/test/libvlc/media_list.c
@@ -115,7 +115,7 @@ static void test_media_list (const char ** argv, int argc)
     p_non_exist = libvlc_media_list_item_at_index (ml, -1, &ex);
     assert (have_exception ());
 
-    md4 = libvlc_media_new (vlc, "/dev/dsp", &ex);
+    md4 = libvlc_media_new (vlc, "/dev/null", &ex);
     catch ();
 
     /* try to find non inserted item */




More information about the vlc-devel mailing list